/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 76 TestProvidersAccess.HOME.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in setUp() 82 TestProvidersAccess.HOME.flags &= ~DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in tearDown() 88 TestProvidersAccess.PICKLES.flags |= DocumentsContract.Root.FLAG_LOCAL_ONLY; in testNotSearchableRoot_beIgnored() 90 TestProvidersAccess.PICKLES.flags &= ~DocumentsContract.Root.FLAG_LOCAL_ONLY; in testNotSearchableRoot_beIgnored() 95 TestProvidersAccess.PICKLES.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testNotLocalOnlyRoot_beIgnored() 97 TestProvidersAccess.PICKLES.flags &= ~DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testNotLocalOnlyRoot_beIgnored() 102 TestProvidersAccess.IMAGE.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testShowAdvance_recentRoot_beIgnored() 104 TestProvidersAccess.IMAGE.flags &= ~DocumentsContract.Root.FLAG_SUPPORTS_SEARCH; in testShowAdvance_recentRoot_beIgnored() 109 TestProvidersAccess.IMAGE.flags |= DocumentsContract.Root.FLAG_SUPPORTS_SEARCH in testShowAdvance_imageRoot_beIgnored() 110 | DocumentsContract.Root.FLAG_LOCAL_ONLY; in testShowAdvance_imageRoot_beIgnored() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | RootInfo.java | 36 import android.provider.DocumentsContract.Root; 195 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor() 196 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor() 197 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor() 198 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor() 199 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor() 200 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor() 201 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES); in fromRootsCursor() 202 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); in fromRootsCursor() 203 root.queryArgs = getCursorString(cursor, Root.COLUMN_QUERY_ARGS); in fromRootsCursor() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 18 import android.provider.DocumentsContract.Root; 50 flags = Root.FLAG_SUPPORTS_CREATE; 56 DOWNLOADS.flags = Root.FLAG_LOCAL_ONLY 57 | Root.FLAG_SUPPORTS_CREATE 58 | Root.FLAG_SUPPORTS_IS_CHILD 59 | Root.FLAG_SUPPORTS_RECENTS; 66 HOME.flags = Root.FLAG_LOCAL_ONLY 67 | Root.FLAG_SUPPORTS_CREATE 68 | Root.FLAG_SUPPORTS_IS_CHILD 69 | Root.FLAG_SUPPORTS_RECENTS; [all …]
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | StorageProvider.java | 28 import android.provider.DocumentsContract.Root; 52 Root.COLUMN_ROOT_ID, 53 Root.COLUMN_ICON, 54 Root.COLUMN_TITLE, 55 Root.COLUMN_FLAGS, 56 Root.COLUMN_DOCUMENT_ID, 89 row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT); in queryRoots() 90 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY); in queryRoots() 91 row.add(Root.COLUMN_MIME_TYPES, MIME_TYPE); in queryRoots() 92 row.add(Root.COLUMN_ICON, R.drawable.bugfood_icon_green); in queryRoots() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestRootProvider.java | 26 import android.provider.DocumentsContract.Root; 38 Root.COLUMN_ROOT_ID, 39 Root.COLUMN_FLAGS, 40 Root.COLUMN_TITLE, 41 Root.COLUMN_DOCUMENT_ID, 42 Root.COLUMN_AVAILABLE_BYTES 71 row.add(Root.COLUMN_ROOT_ID, mRootId); in queryRoots() 72 row.add(Root.COLUMN_TITLE, mRootName); in queryRoots() 73 row.add(Root.COLUMN_FLAGS, mFlags); in queryRoots() 74 row.add(Root.COLUMN_DOCUMENT_ID, mRootDocId); in queryRoots() [all …]
|
D | StubProvider.java | 32 import android.provider.DocumentsContract.Root; 80 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, 81 Root.COLUMN_AVAILABLE_BYTES 160 row.add(Root.COLUMN_ROOT_ID, id); in queryRoots() 161 row.add(Root.COLUMN_FLAGS, info.flags); in queryRoots() 162 row.add(Root.COLUMN_TITLE, id); in queryRoots() 163 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots() 164 row.add(Root.COLUMN_AVAILABLE_BYTES, info.getRemainingCapacity()); in queryRoots() 768 private static final int DEFAULT_ROOTS_FLAGS = Root.FLAG_SUPPORTS_SEARCH 769 | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD; [all …]
|
D | PagingProvider.java | 22 import android.provider.DocumentsContract.Root; 40 private static final int ROOT_FLAGS = Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_IS_CHILD;
|
D | BrokenProvider.java | 20 import android.provider.DocumentsContract.Root; 42 Root.FLAG_SUPPORTS_CREATE, in BrokenProvider()
|
D | DocumentsProviderHelper.java | 43 import android.provider.DocumentsContract.Root; 82 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 46 import android.provider.DocumentsContract.Root; 97 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, 98 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_MIME_TYPES, 99 Root.COLUMN_QUERY_ARGS 947 int flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS | Root.FLAG_SUPPORTS_SEARCH; in includeImagesRoot() 949 flags |= Root.FLAG_EMPTY; in includeImagesRoot() 954 row.add(Root.COLUMN_ROOT_ID, TYPE_IMAGES_ROOT); in includeImagesRoot() 955 row.add(Root.COLUMN_FLAGS, flags); in includeImagesRoot() 956 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_images)); in includeImagesRoot() 957 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_IMAGES_ROOT); in includeImagesRoot() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ResourcesProvider.java | 31 import android.provider.DocumentsContract.Root; 49 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID 85 row.add(Root.COLUMN_ROOT_ID, "root-id"); in queryRoots() 86 row.add(Root.COLUMN_FLAGS, 0); in queryRoots() 87 row.add(Root.COLUMN_TITLE, "ResourcesProvider"); in queryRoots() 88 row.add(Root.COLUMN_DOCUMENT_ID, "root-document-id"); in queryRoots()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 30 import android.provider.DocumentsContract.Root; 71 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, 72 Root.COLUMN_AVAILABLE_BYTES 180 row.add(Root.COLUMN_ROOT_ID, root.id); in includeRoot() 181 row.add(Root.COLUMN_FLAGS, 0); in includeRoot() 182 row.add(Root.COLUMN_TITLE, root.id); in includeRoot() 183 row.add(Root.COLUMN_DOCUMENT_ID, root.documentId); in includeRoot()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 49 import android.provider.DocumentsContract.Root; 87 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, 88 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_QUERY_ARGS 166 row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT); in queryRoots() 167 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS in queryRoots() 168 | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_SEARCH in queryRoots() 169 | Root.FLAG_SUPPORTS_IS_CHILD); in queryRoots() 170 row.add(Root.COLUMN_ICON, R.mipmap.ic_launcher_download); in queryRoots() 171 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads)); in queryRoots() 172 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchivesProvider.java | 31 import android.provider.DocumentsContract.Root; 60 Root.COLUMN_ROOT_ID, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_TITLE, Root.COLUMN_FLAGS, 61 Root.COLUMN_ICON };
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersCache.java | 41 import android.provider.DocumentsContract.Root; 115 flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD | Root.FLAG_SUPPORTS_SEARCH; in ProvidersCache() 162 assert(mRecentsRoot.flags == (Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD)); in updateAsync()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | MenuManagerTest.java | 25 import android.provider.DocumentsContract.Root; 722 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu() 740 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_HasRootSettings() 757 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_NothingToPaste() 768 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_PasteIntoWritableRoot() 779 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_Eject() 787 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_EjectInProcess()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | MenuManagerTest.java | 28 import android.provider.DocumentsContract.Root; 465 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_hasRootSettings() 481 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_nothingToPaste() 490 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_canEject()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickResult.java | 30 private @MetricConsts.Root int mRoot; 132 public void setRoot(@MetricConsts.Root int root) { in setRoot()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Metrics.java | 361 private static @MetricConsts.Root int sanitizeRoot(Uri uri) { in sanitizeRoot() 401 public static @MetricConsts.Root int sanitizeRoot(RootInfo root) { in sanitizeRoot() 412 public static @MetricConsts.Root int sanitizeRoot(ResolveInfo info) { in sanitizeRoot()
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/ |
D | README.md | 15 #### Root subsubsection
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/ |
D | README.md | 15 #### Root subsubsection
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | MusicViewHolderController.java | 85 DocumentsContract.Root.MIME_TYPE_ITEM); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | MusicViewHolderController.java | 85 DocumentsContract.Root.MIME_TYPE_ITEM); in onClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | MusicViewHolderControllerTest.java | 102 assertThat(intent.getType()).isEqualTo(DocumentsContract.Root.MIME_TYPE_ITEM); in clickingShouldIntentIntoFilesApp()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | ActivityTest.java | 152 intent.setDataAndType(getInitialRoot().getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in launchActivity()
|