Searched refs:documentUri (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 221 private void enforceTree(Uri documentUri) { in enforceTree() argument 222 if (isTreeUri(documentUri)) { in enforceTree() 223 final String parent = getTreeDocumentId(documentUri); in enforceTree() 224 final String child = getDocumentId(documentUri); in enforceTree() 1092 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in callUnchecked() local 1093 final String authority = documentUri.getAuthority(); in callUnchecked() 1094 final String documentId = DocumentsContract.getDocumentId(documentUri); in callUnchecked() 1102 enforceTree(documentUri); in callUnchecked() 1105 enforceReadPermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1117 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() [all …]
|
D | DocumentsContract.java | 1216 public static String getDocumentId(Uri documentUri) { in getDocumentId() argument 1217 final List<String> paths = documentUri.getPathSegments(); in getDocumentId() 1225 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getDocumentId() 1231 public static String getTreeDocumentId(Uri documentUri) { in getTreeDocumentId() argument 1232 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId() 1236 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getTreeDocumentId() 1296 @NonNull Uri documentUri, @NonNull Point size, @Nullable CancellationSignal signal) in getDocumentThumbnail() argument 1299 return ContentResolver.loadThumbnail(content, documentUri, Point.convert(size), signal, in getDocumentThumbnail() 1303 Log.w(TAG, "Failed to load thumbnail for " + documentUri + ": " + e); in getDocumentThumbnail() 1387 @NonNull Uri documentUri, @NonNull String displayName) throws FileNotFoundException { in renameDocument() argument [all …]
|
D | MediaStore.java | 3493 public static @Nullable Uri getMediaUri(@NonNull Context context, @NonNull Uri documentUri) { in getMediaUri() argument 3499 in.putParcelable(DocumentsContract.EXTRA_URI, documentUri); in getMediaUri()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 637 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local 638 final String docId = DocumentsContract.getDocumentId(documentUri); in call()
|