Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java34 import android.provider.DocumentsContract.Root;
188 root.rootId = getCursorString(cursor, Root.COLUMN_ROOT_ID); in fromRootsCursor()
189 root.flags = getCursorInt(cursor, Root.COLUMN_FLAGS); in fromRootsCursor()
190 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); in fromRootsCursor()
191 root.title = getCursorString(cursor, Root.COLUMN_TITLE); in fromRootsCursor()
192 root.summary = getCursorString(cursor, Root.COLUMN_SUMMARY); in fromRootsCursor()
193 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID); in fromRootsCursor()
194 root.availableBytes = getCursorLong(cursor, Root.COLUMN_AVAILABLE_BYTES); in fromRootsCursor()
195 root.mimeTypes = getCursorString(cursor, Root.COLUMN_MIME_TYPES); in fromRootsCursor()
289 return (flags & Root.FLAG_HAS_SETTINGS) != 0; in hasSettings()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java36 import android.provider.DocumentsContract.Root;
69 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON,
70 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_MIME_TYPES
548 int flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS | Root.FLAG_SUPPORTS_SEARCH; in includeImagesRoot()
550 flags |= Root.FLAG_EMPTY; in includeImagesRoot()
555 row.add(Root.COLUMN_ROOT_ID, TYPE_IMAGES_ROOT); in includeImagesRoot()
556 row.add(Root.COLUMN_FLAGS, flags); in includeImagesRoot()
557 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_images)); in includeImagesRoot()
558 row.add(Root.COLUMN_DOCUMENT_ID, TYPE_IMAGES_ROOT); in includeImagesRoot()
559 row.add(Root.COLUMN_MIME_TYPES, IMAGE_MIME_TYPES); in includeImagesRoot()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestRootProvider.java26 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 …]
DStubProvider.java32 import android.provider.DocumentsContract.Root;
78 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID,
79 Root.COLUMN_AVAILABLE_BYTES
157 row.add(Root.COLUMN_ROOT_ID, id); in queryRoots()
158 row.add(Root.COLUMN_FLAGS, info.flags); in queryRoots()
159 row.add(Root.COLUMN_TITLE, id); in queryRoots()
160 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); in queryRoots()
161 row.add(Root.COLUMN_AVAILABLE_BYTES, info.getRemainingCapacity()); in queryRoots()
753 private static final int DEFAULT_ROOTS_FLAGS = Root.FLAG_SUPPORTS_SEARCH
754 | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD;
[all …]
DPagingProvider.java22 import android.provider.DocumentsContract.Root;
40 private static final int ROOT_FLAGS = Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_IS_CHILD;
DBrokenProvider.java20 import android.provider.DocumentsContract.Root;
42 Root.FLAG_SUPPORTS_CREATE, in BrokenProvider()
DDocumentsProviderHelper.java38 import android.provider.DocumentsContract.Root;
76 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java38 import android.provider.DocumentsContract.Root;
71 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON,
72 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID,
123 row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT); in queryRoots()
124 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_RECENTS in queryRoots()
125 | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_SEARCH in queryRoots()
126 | Root.FLAG_SUPPORTS_IS_CHILD); in queryRoots()
127 row.add(Root.COLUMN_ICON, R.mipmap.ic_launcher_download); in queryRoots()
128 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads)); in queryRoots()
129 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DResourcesProvider.java31 import android.provider.DocumentsContract.Root;
49 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID
79 row.add(Root.COLUMN_ROOT_ID, "root-id"); in queryRoots()
80 row.add(Root.COLUMN_FLAGS, 0); in queryRoots()
81 row.add(Root.COLUMN_TITLE, "ResourcesProvider"); in queryRoots()
82 row.add(Root.COLUMN_DOCUMENT_ID, "root-document-id"); in queryRoots()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java30 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/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java34 import android.provider.DocumentsContract.Root;
64 Root.COLUMN_ROOT_ID, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_TITLE, Root.COLUMN_FLAGS,
65 Root.COLUMN_ICON };
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DMenuManagerTest.java24 import android.provider.DocumentsContract.Root;
584 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu()
602 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_HasRootSettings()
619 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_NothingToPaste()
630 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_PasteIntoWritableRoot()
641 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_Eject()
649 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_EjectInProcess()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java18 import android.provider.DocumentsContract.Root;
42 flags = Root.FLAG_SUPPORTS_CREATE;
62 flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD;
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java39 import android.provider.DocumentsContract.Root;
113 flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD; in ProvidersCache()
157 assert(mRecentsRoot.flags == (Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD)); in updateAsync()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DMenuManagerTest.java24 import android.provider.DocumentsContract.Root;
343 testRootInfo.flags = Root.FLAG_HAS_SETTINGS; in testRootContextMenu_hasRootSettings()
359 testRootInfo.flags = Root.FLAG_SUPPORTS_CREATE; in testRootContextMenu_nothingToPaste()
368 testRootInfo.flags = Root.FLAG_SUPPORTS_EJECT; in testRootContextMenu_canEject()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java125 public @interface Root {} annotation in Metrics
848 private static @Root int sanitizeRoot(Uri uri) { in sanitizeRoot()
881 private static @Root int sanitizeRoot(RootInfo root) { in sanitizeRoot()
892 private static @Root int sanitizeRoot(ResolveInfo info) { in sanitizeRoot()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java23 import android.provider.DocumentsContract.Root;
148 if (root == null || (root.flags & Root.FLAG_SUPPORTS_SEARCH) == 0) { in showMenu()
/packages/apps/Settings/src/com/android/settings/applications/
DMusicViewHolderController.java84 DocumentsContract.Root.MIME_TYPE_ITEM); in onClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DMusicViewHolderControllerTest.java106 assertThat(intent.getType()).isEqualTo(DocumentsContract.Root.MIME_TYPE_ITEM); in clickingShouldIntentIntoFilesApp()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java142 intent.setDataAndType(getInitialRoot().getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in launchActivity()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dwritertest.cpp48 TEST(Writer, Root) { in TEST() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java154 intent.setDataAndType(root.getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in openSettings()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java528 DocumentsContract.Root.MIME_TYPE_ITEM); in getIntentForStorage()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12