Home
last modified time | relevance | path

Searched refs:Root (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java41 import android.provider.DocumentsContract.Root;
83 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON,
84 Root.COLUMN_TITLE, Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID,
85 Root.COLUMN_AVAILABLE_BYTES,
134 row.add(Root.COLUMN_ROOT_ID, MY_ROOT_ID); in queryRoots()
135 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_RECENTS | Root.FLAG_SUPPORTS_CREATE); in queryRoots()
136 row.add(Root.COLUMN_TITLE, "_Test title which is really long"); in queryRoots()
137 row.add(Root.COLUMN_SUMMARY, in queryRoots()
139 row.add(Root.COLUMN_DOCUMENT_ID, MY_DOC_ID); in queryRoots()
140 row.add(Root.COLUMN_AVAILABLE_BYTES, 1024); in queryRoots()
DExternalStorageProvider.java39 import android.provider.DocumentsContract.Root;
69 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, Root.COLUMN_TITLE,
70 Root.COLUMN_DOCUMENT_ID, Root.COLUMN_AVAILABLE_BYTES,
154 root.flags = Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY | Root.FLAG_ADVANCED in updateVolumesLocked()
155 | Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_IS_CHILD; in updateVolumesLocked()
293 row.add(Root.COLUMN_ROOT_ID, root.rootId); in queryRoots()
294 row.add(Root.COLUMN_FLAGS, root.flags); in queryRoots()
295 row.add(Root.COLUMN_TITLE, root.title); in queryRoots()
296 row.add(Root.COLUMN_DOCUMENT_ID, root.docId); in queryRoots()
297 row.add(Root.COLUMN_AVAILABLE_BYTES, path.getFreeSpace()); in queryRoots()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DRootInfo.java28 import android.provider.DocumentsContract.Root;
145 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor()
146 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor()
147 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor()
148 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor()
149 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor()
150 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor()
151 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES); in fromRootsCursor()
152 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); in fromRootsCursor()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootsCache.java36 import android.provider.DocumentsContract.Root;
107 mRecentsRoot.flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_CREATE in updateAsync()
108 | Root.FLAG_SUPPORTS_IS_CHILD; in updateAsync()
355 final boolean supportsCreate = (root.flags & Root.FLAG_SUPPORTS_CREATE) != 0; in getMatchingRoots()
356 final boolean supportsIsChild = (root.flags & Root.FLAG_SUPPORTS_IS_CHILD) != 0; in getMatchingRoots()
357 final boolean advanced = (root.flags & Root.FLAG_ADVANCED) != 0; in getMatchingRoots()
358 final boolean localOnly = (root.flags & Root.FLAG_LOCAL_ONLY) != 0; in getMatchingRoots()
359 final boolean empty = (root.flags & Root.FLAG_EMPTY) != 0; in getMatchingRoots()
DRecentLoader.java33 import android.provider.DocumentsContract.Root;
176 if ((root.flags & Root.FLAG_SUPPORTS_RECENTS) != 0) { in loadInBackground()
DRecentsProvider.java35 import android.provider.DocumentsContract.Root;
85 public static final String ROOT_ID = Root.COLUMN_ROOT_ID;
DDocumentsActivity.java52 import android.provider.DocumentsContract.Root;
598 && ((root.flags & Root.FLAG_SUPPORTS_SEARCH) != 0); in onPrepareOptionsMenu()
/frameworks/base/tools/preload/
DRoot.java38 public class Root implements Serializable { class
151 static Root fromFile(String fileName) in fromFile()
157 Root root = (Root) oin.readObject(); in fromFile()
DPrintPsTree.java38 Root root = (Root) oin.readObject(); in main()
DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile); in main()
133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom()
DCompile.java39 Root root = new Root(); in main()
DPrintCsv.java40 Root root = Root.fromFile(args[0]); in main()
DPrintHtmlDiff.java36 Root root = Root.fromFile(args[0]); in main()
DAndroid.mk16 Root.java \
DMemoryUsage.java289 Root root = Root.fromFile(args[0]); in main()
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd124 <p class="img-caption"><strong>Figure 1.</strong> Document provider data model. A Root points to a …
132 Each root has a unique {@link android.provider.DocumentsContract.Root#COLUMN_ROOT_ID},
682 <li>{@link android.provider.DocumentsContract.Root}</li>
689 new String[]{Root.COLUMN_ROOT_ID, Root.COLUMN_MIME_TYPES,
690 Root.COLUMN_FLAGS, Root.COLUMN_ICON, Root.COLUMN_TITLE,
691 Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID,
692 Root.COLUMN_AVAILABLE_BYTES,};
724 {@link android.provider.DocumentsContract.Root}.</p>
752 row.add(Root.COLUMN_ROOT_ID, ROOT);
753 row.add(Root.COLUMN_SUMMARY, getContext().getString(R.string.root_summary));
[all …]
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java48 import android.provider.DocumentsContract.Root;
518 return DocumentsContract.Root.MIME_TYPE_ITEM; in getType()
DDocumentsContract.java323 public final static class Root { class in DocumentsContract
324 private Root() { in Root() method in DocumentsContract.Root
/frameworks/base/docs/html-intl/intl/ko/about/versions/
Dandroid-5.0.jd412 …provider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD}를 {@link android.pro…
/frameworks/base/docs/html-intl/intl/ja/about/versions/
Dandroid-5.0.jd411 …rovider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD} を {@link android.pro…
/frameworks/base/docs/html-intl/intl/zh-cn/about/versions/
Dandroid-5.0.jd413 …android.provider.DocumentsContract.Root#COLUMN_FLAGS COLUMN_FLAGS} 中添加 {@link android.provider.Doc…
/frameworks/base/docs/html-intl/intl/zh-tw/about/versions/
Dandroid-5.0.jd411 …ovider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD} 納入您的 {@link android.p…
/frameworks/base/docs/html-intl/intl/ru/about/versions/
Dandroid-5.0.jd412 …rovider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD} в {@link android.pro…
/frameworks/base/docs/html/about/versions/
Dandroid-5.0.jd547 android.provider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD}
548 in your {@link android.provider.DocumentsContract.Root#COLUMN_FLAGS COLUMN_FLAGS}.</p>
/frameworks/base/docs/html-intl/intl/pt-br/about/versions/
Dandroid-5.0.jd409 …rovider.DocumentsContract.Root#FLAG_SUPPORTS_IS_CHILD FLAG_SUPPORTS_IS_CHILD} em {@link android.pr…

12