Searched refs:Root (Results 1 – 25 of 26) sorted by relevance
12
34 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 …]
36 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_TYPES548 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 …]
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_BYTES71 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 …]
32 import android.provider.DocumentsContract.Root;78 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID,79 Root.COLUMN_AVAILABLE_BYTES157 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_SEARCH754 | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_SUPPORTS_IS_CHILD;[all …]
22 import android.provider.DocumentsContract.Root;40 private static final int ROOT_FLAGS = Root.FLAG_SUPPORTS_SEARCH | Root.FLAG_SUPPORTS_IS_CHILD;
20 import android.provider.DocumentsContract.Root;42 Root.FLAG_SUPPORTS_CREATE, in BrokenProvider()
38 import android.provider.DocumentsContract.Root;76 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { in getRoot()
38 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()
31 import android.provider.DocumentsContract.Root;49 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID79 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()
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_BYTES180 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()
34 import android.provider.DocumentsContract.Root;64 Root.COLUMN_ROOT_ID, Root.COLUMN_DOCUMENT_ID, Root.COLUMN_TITLE, Root.COLUMN_FLAGS,65 Root.COLUMN_ICON };
24 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()
18 import android.provider.DocumentsContract.Root;42 flags = Root.FLAG_SUPPORTS_CREATE;62 flags = Root.FLAG_LOCAL_ONLY | Root.FLAG_SUPPORTS_IS_CHILD;
39 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()
24 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()
125 public @interface Root {} annotation in Metrics848 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()
23 import android.provider.DocumentsContract.Root;148 if (root == null || (root.flags & Root.FLAG_SUPPORTS_SEARCH) == 0) { in showMenu()
84 DocumentsContract.Root.MIME_TYPE_ITEM); in onClick()
106 assertThat(intent.getType()).isEqualTo(DocumentsContract.Root.MIME_TYPE_ITEM); in clickingShouldIntentIntoFilesApp()
142 intent.setDataAndType(getInitialRoot().getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in launchActivity()
48 TEST(Writer, Root) { in TEST() argument
154 intent.setDataAndType(root.getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in openSettings()
528 DocumentsContract.Root.MIME_TYPE_ITEM); in getIntentForStorage()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...