Searched refs:DocumentsContract (Results 1 – 25 of 28) sorted by relevance
12
19 import static android.provider.DocumentsContract.METHOD_COPY_DOCUMENT;20 import static android.provider.DocumentsContract.METHOD_CREATE_DOCUMENT;21 import static android.provider.DocumentsContract.METHOD_CREATE_WEB_LINK_INTENT;22 import static android.provider.DocumentsContract.METHOD_DELETE_DOCUMENT;23 import static android.provider.DocumentsContract.METHOD_EJECT_ROOT;24 import static android.provider.DocumentsContract.METHOD_FIND_DOCUMENT_PATH;25 import static android.provider.DocumentsContract.METHOD_GET_DOCUMENT_METADATA;26 import static android.provider.DocumentsContract.METHOD_IS_CHILD_DOCUMENT;27 import static android.provider.DocumentsContract.METHOD_MOVE_DOCUMENT;28 import static android.provider.DocumentsContract.METHOD_REMOVE_DOCUMENT;[all …]
78 public final class DocumentsContract { class90 private DocumentsContract() { in DocumentsContract() method in DocumentsContract1367 in.putParcelable(DocumentsContract.EXTRA_URI, parentDocumentUri); in createDocument()1373 return out.getParcelable(DocumentsContract.EXTRA_URI); in createDocument()1398 in.putParcelable(DocumentsContract.EXTRA_URI, parentDocumentUri); in isChildDocument()1399 in.putParcelable(DocumentsContract.EXTRA_TARGET_URI, childDocumentUri); in isChildDocument()1406 if (!out.containsKey(DocumentsContract.EXTRA_RESULT)) { in isChildDocument()1409 return out.getBoolean(DocumentsContract.EXTRA_RESULT); in isChildDocument()1434 in.putParcelable(DocumentsContract.EXTRA_URI, documentUri); in renameDocument()1439 final Uri outUri = out.getParcelable(DocumentsContract.EXTRA_URI); in renameDocument()[all …]
235 metadata.putBundle(DocumentsContract.METADATA_EXIF, exifData); in getMetadata()236 metadataTypes.add(DocumentsContract.METADATA_EXIF); in getMetadata()239 metadata.putStringArray(DocumentsContract.METADATA_TYPES, in getMetadata()
22 import android.provider.DocumentsContract.Path;60 DocumentsContract.buildDocumentUri(TestDocumentsProvider.AUTHORITY, DOCUMENT_ID); in testFindDocumentPath_docUri()63 final Path actual = DocumentsContract.findDocumentPath( in testFindDocumentPath_docUri()77 final Path actual = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri()89 DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_throwsOnNonChildDocument()101 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesNonNullRootId()114 Path path = DocumentsContract.findDocumentPath(mResolver, docUri); in testFindDocumentPath_treeUri_erasesDocsOutsideTree()119 final Uri treeUri = DocumentsContract.buildTreeDocumentUri(authority, parentDocId); in buildTreeDocumentUri()120 return DocumentsContract.buildDocumentUriUsingTree(treeUri, docId); in buildTreeDocumentUri()
29 import android.provider.DocumentsContract.Path;
21 import android.provider.DocumentsContract;56 Bundle exif = mData.getBundle(DocumentsContract.METADATA_EXIF); in testGetMetadata()66 assertEquals(mData.getStringArray(DocumentsContract.METADATA_TYPES)[0], in testGetMetadata()67 DocumentsContract.METADATA_EXIF); in testGetMetadata()75 mData.getBundle(DocumentsContract.METADATA_EXIF).getString(tags[0])); in testGetMetadata_JpegOneTag()84 assertEquals(mData.getStringArray(DocumentsContract.METADATA_TYPES).length, 0); in testGetMetadata_JpegNoResults()
38 import android.provider.DocumentsContract;39 import android.provider.DocumentsContract.Document;40 import android.provider.DocumentsContract.Path;41 import android.provider.DocumentsContract.Root;72 public static final String AUTHORITY = DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY;103 DocumentsContract.EXTERNAL_STORAGE_PRIMARY_EMULATED_ROOT_ID;469 return DocumentsContract.buildChildDocumentsUri(AUTHORITY, docId); in buildNotificationUri()545 if (DocumentsContract.isTreeUri(uri)) { in getDocumentUri()546 final String parentDocId = DocumentsContract.getTreeDocumentId(uri); in getDocumentUri()552 final String candidateDocId = DocumentsContract.getDocumentId(uri); in getDocumentUri()[all …]
39 import android.provider.DocumentsContract;40 import android.provider.DocumentsContract.Document;41 import android.provider.DocumentsContract.Root;125 final Uri uri = DocumentsContract.buildRootsUri(mAuthority); in queryRoots()233 final Uri notifyUri = DocumentsContract.buildDocumentUri( in queryChildDocuments()277 result.extras.putString(DocumentsContract.EXTRA_INFO, in queryChildDocuments()280 result.extras.putString(DocumentsContract.EXTRA_ERROR, in queryChildDocuments()284 result.extras.putBoolean(DocumentsContract.EXTRA_LOADING, true); in queryChildDocuments()
27 import android.provider.DocumentsContract;28 import android.provider.DocumentsContract.Document;29 import android.provider.DocumentsContract.Root;77 extras.putCharSequence(DocumentsContract.EXTRA_INFO, in queryChildDocuments()108 return DocumentsContract.buildChildDocumentsUri(AUTHORITY, docId); in buildNotificationUri()
32 import android.provider.DocumentsContract;427 ? DocumentsContract.EXTERNAL_STORAGE_PRIMARY_EMULATED_ROOT_ID in createOpenDocumentTreeIntent()429 final Uri rootUri = DocumentsContract.buildRootUri( in createOpenDocumentTreeIntent()430 DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY, rootId); in createOpenDocumentTreeIntent()432 .putExtra(DocumentsContract.EXTRA_INITIAL_URI, rootUri) in createOpenDocumentTreeIntent()433 .putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, true); in createOpenDocumentTreeIntent()
31 import android.provider.DocumentsContract;465 uri = DocumentsContract.buildRootUri(DOCUMENT_AUTHORITY, fsUuid); in buildBrowseIntentForUser()467 uri = DocumentsContract.buildRootUri(DOCUMENT_AUTHORITY, in buildBrowseIntentForUser()475 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in buildBrowseIntentForUser()479 intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary()); in buildBrowseIntentForUser()
38 import android.provider.DocumentsContract;39 import android.provider.DocumentsContract.Document;85 DocumentsContract.QUERY_ARG_DISPLAY_NAME,86 DocumentsContract.QUERY_ARG_FILE_SIZE_OVER,87 DocumentsContract.QUERY_ARG_LAST_MODIFIED_AFTER,88 DocumentsContract.QUERY_ARG_MIME_TYPES);184 res.putLong(DocumentsContract.METADATA_TREE_COUNT, treeCount.value); in getDocumentMetadata()185 res.putLong(DocumentsContract.METADATA_TREE_SIZE, treeSize.value); in getDocumentMetadata()478 final String[] handledQueryArgs = DocumentsContract.getHandledQueryArguments(queryArgs); in querySearchDocuments()548 fileMimeType = DocumentsContract.Document.MIME_TYPE_DIR; in matchSearchQueryArguments()[all …]
53 import android.provider.DocumentsContract.Document;
45 import android.provider.DocumentsContract.Document;
83 import android.provider.DocumentsContract;1392 int flagsIndex = cursor.getColumnIndex(DocumentsContract.Document.COLUMN_FLAGS);1403 & DocumentsContract.Document.FLAG_SUPPORTS_THUMBNAIL) != 0;
65 import android.provider.DocumentsContract;
123 import android.provider.DocumentsContract;1985 provider = getProviderInfo(DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY); in servicesReady()
19 import static android.provider.DocumentsContract.EXTRA_ORIENTATION;
59 import android.provider.DocumentsContract;
64 import android.provider.DocumentsContract;
5179 android.provider.DocumentsContract$Path$15180 android.provider.DocumentsContract$Path5181 android.provider.DocumentsContract
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
3265 public final class DocumentsContract {
9015 public final class DocumentsContract {9024 public static final class DocumentsContract.Root {
7906 public final class DocumentsContract {7915 public static final class DocumentsContract.Root {