Searched refs:documentUri (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 623 public static String getDocumentId(Uri documentUri) { in getDocumentId() argument 624 final List<String> paths = documentUri.getPathSegments(); in getDocumentId() 626 throw new IllegalArgumentException("Not a document: " + documentUri); in getDocumentId() 629 throw new IllegalArgumentException("Not a document: " + documentUri); in getDocumentId() 668 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) { in getDocumentThumbnail() argument 670 documentUri.getAuthority()); in getDocumentThumbnail() 672 return getDocumentThumbnail(client, documentUri, size, signal); in getDocumentThumbnail() 675 Log.w(TAG, "Failed to load thumbnail for " + documentUri + ": " + e); in getDocumentThumbnail() 685 ContentProviderClient client, Uri documentUri, Point size, CancellationSignal signal) in getDocumentThumbnail() argument 693 afd = client.openTypedAssetFileDescriptor(documentUri, "image/*", openOpts, signal); in getDocumentThumbnail() [all …]
|
D | DocumentsProvider.java | 513 final Uri documentUri = DocumentsContract.buildDocumentUri(mAuthority, documentId); in call() local 519 enforceWritePermissionInner(documentUri); in call() 544 context.revokeUriPermission(documentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION in call()
|