Home
last modified time | relevance | path

Searched refs:DocumentsContract (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/provider/
DDocumentsProvider.java19 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 …]
DDocumentsContract.java78 public final class DocumentsContract { class
90 private DocumentsContract() { in DocumentsContract() method in DocumentsContract
1367 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 …]
DMetadataReader.java235 metadata.putBundle(DocumentsContract.METADATA_EXIF, exifData); in getMetadata()
236 metadataTypes.add(DocumentsContract.METADATA_EXIF); in getMetadata()
239 metadata.putStringArray(DocumentsContract.METADATA_TYPES, in getMetadata()
/frameworks/base/core/tests/coretests/src/android/provider/
DDocumentsProviderTest.java22 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()
DTestDocumentsProvider.java29 import android.provider.DocumentsContract.Path;
/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java21 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()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java38 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 …]
DTestDocumentsProvider.java39 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()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java27 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()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java32 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()
DVolumeInfo.java31 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()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java38 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 …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java53 import android.provider.DocumentsContract.Document;
/frameworks/base/core/java/android/os/
DFileUtils.java45 import android.provider.DocumentsContract.Document;
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java83 import android.provider.DocumentsContract;
1392 int flagsIndex = cursor.getColumnIndex(DocumentsContract.Document.COLUMN_FLAGS);
1403 & DocumentsContract.Document.FLAG_SUPPORTS_THUMBNAIL) != 0;
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java65 import android.provider.DocumentsContract;
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java123 import android.provider.DocumentsContract;
1985 provider = getProviderInfo(DocumentsContract.EXTERNAL_STORAGE_PROVIDER_AUTHORITY); in servicesReady()
/frameworks/base/core/java/android/content/
DContentResolver.java19 import static android.provider.DocumentsContract.EXTRA_ORIENTATION;
DIntent.java59 import android.provider.DocumentsContract;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java64 import android.provider.DocumentsContract;
/frameworks/base/config/
Dpreloaded-classes5179 android.provider.DocumentsContract$Path$1
5180 android.provider.DocumentsContract$Path
5181 android.provider.DocumentsContract
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dtest-current.txt3265 public final class DocumentsContract {
Dsystem-current.txt9015 public final class DocumentsContract {
9024 public static final class DocumentsContract.Root {
/frameworks/base/non-updatable-api/
Dsystem-current.txt7906 public final class DocumentsContract {
7915 public static final class DocumentsContract.Root {

12