Home
last modified time | relevance | path

Searched refs:documentId (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java84 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
86 if (DOC_ID_ROOT.equals(documentId)) { in queryDocument()
91 return super.queryDocument(documentId, projection); in queryDocument()
97 String documentId, String mode, CancellationSignal signal) in openDocument() argument
100 throw new FileNotFoundException("Failed to open: " + documentId + ", mode = " + mode); in openDocument()
102 return ParcelFileDescriptor.open(getFileForDocId(documentId), in openDocument()
125 protected File getFileForDocId(String documentId, boolean visible) in getFileForDocId() argument
127 if (DOC_ID_ROOT.equals(documentId)) { in getFileForDocId()
130 final int splitIndex = documentId.indexOf(':', 1); in getFileForDocId()
131 final String name = documentId.substring(splitIndex + 1); in getFileForDocId()
[all …]
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java216 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
277 public String renameDocument(String documentId, String displayName) in renameDocument() argument
297 public void deleteDocument(String documentId) throws FileNotFoundException { in deleteDocument() argument
363 public void removeDocument(String documentId, String parentDocumentId) in removeDocument() argument
422 public IntentSender createWebLinkIntent(String documentId, @Nullable Bundle options) in createWebLinkIntent() argument
517 public abstract Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
746 public @Nullable Bundle getDocumentMetadata(@NonNull String documentId) in getDocumentMetadata() argument
761 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() argument
762 final Cursor cursor = queryDocument(documentId, null); in getDocumentType()
804 String documentId, in openDocument() argument
[all …]
DDocumentsContract.java933 public static Uri buildTreeDocumentUri(String authority, String documentId) { in buildTreeDocumentUri() argument
935 .appendPath(PATH_TREE).appendPath(documentId).build(); in buildTreeDocumentUri()
946 public static Uri buildDocumentUri(String authority, String documentId) { in buildDocumentUri() argument
947 return getBaseDocumentUriBuilder(authority).appendPath(documentId).build(); in buildDocumentUri()
959 @NonNull String authority, @NonNull String documentId, @NonNull UserHandle user) { in buildDocumentUriAsUser() argument
961 buildDocumentUri(authority, documentId), user.getIdentifier()); in buildDocumentUriAsUser()
997 public static Uri buildDocumentUriUsingTree(Uri treeUri, String documentId) { in buildDocumentUriUsingTree() argument
1001 .appendPath(documentId).build(); in buildDocumentUriUsingTree()
1005 public static Uri buildDocumentUriMaybeUsingTree(Uri baseUri, String documentId) { in buildDocumentUriMaybeUsingTree() argument
1007 return buildDocumentUriUsingTree(baseUri, documentId); in buildDocumentUriMaybeUsingTree()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java65 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
77 public ParcelFileDescriptor openDocument(String documentId, String mode, in openDocument() argument
83 public boolean isChildDocument(String parentDocumentId, String documentId) { in isChildDocument() argument
88 public Path findDocumentPath(@Nullable String parentDocumentId, String documentId) { in findDocumentPath() argument
89 lastDocumentId = documentId; in findDocumentPath()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java141 public @Nullable Bundle getDocumentMetadata(String documentId) in getDocumentMetadata() argument
143 File file = getFileForDocId(documentId); in getDocumentMetadata()
146 throw new FileNotFoundException("Can't find the file for documentId: " + documentId); in getDocumentMetadata()
149 final String mimeType = getDocumentType(documentId); in getDocumentMetadata()
378 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
381 includeFile(result, documentId, null); in queryDocument()
488 public String getDocumentType(String documentId) throws FileNotFoundException { in getDocumentType() argument
489 return getDocumentType(documentId, getFileForDocId(documentId)); in getDocumentType()
492 private String getDocumentType(final String documentId, final File file) in getDocumentType() argument
497 final int lastDot = documentId.lastIndexOf('.'); in getDocumentType()
[all …]
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedBackupTask.java111 newChunkListing.documentId = in performNonIncrementalBackup()
134 String oldDocumentId = oldChunkListing.documentId; in performIncrementalBackup()
137 newChunkListing.documentId = in performIncrementalBackup()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/
DCryptoTestUtils.java75 chunkListing.documentId = docId; in newChunkListing()
138 original.documentId, in clone()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedKvBackupTaskTest.java353 assertThat(actual.documentId) in assertChunkListingsEqual()
354 .isEqualTo(expected.documentId == null ? "" : expected.documentId); in assertChunkListingsEqual()
DEncryptedBackupTaskTest.java213 expectedChunkListing.documentId = TEST_NEW_DOCUMENT_ID; in performIncrementalBackup_returnsNewChunkListingWithDocId()
241 expectedChunkListing.documentId = TEST_NEW_DOCUMENT_ID; in performNonIncrementalBackup_returnsNewChunkListingWithDocId()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java145 public Cursor queryDocument(String documentId, String[] projection) in queryDocument() argument
151 includeFile(result, documentId, 0); in queryDocument()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...