Home
last modified time | relevance | path

Searched refs:documentUri (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/provider/
DDocumentsContract.java771 public static String getDocumentId(Uri documentUri) { in getDocumentId() argument
772 final List<String> paths = documentUri.getPathSegments(); in getDocumentId()
780 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getDocumentId()
786 public static String getTreeDocumentId(Uri documentUri) { in getTreeDocumentId() argument
787 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
791 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getTreeDocumentId()
828 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) { in getDocumentThumbnail() argument
830 documentUri.getAuthority()); in getDocumentThumbnail()
832 return getDocumentThumbnail(client, documentUri, size, signal); in getDocumentThumbnail()
835 Log.w(TAG, "Failed to load thumbnail for " + documentUri + ": " + e); in getDocumentThumbnail()
[all …]
DDocumentsProvider.java191 private void enforceTree(Uri documentUri) { in enforceTree() argument
192 if (isTreeUri(documentUri)) { in enforceTree()
193 final String parent = getTreeDocumentId(documentUri); in enforceTree()
194 final String child = getDocumentId(documentUri); in enforceTree()
630 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local
631 final String authority = documentUri.getAuthority(); in call()
632 final String documentId = DocumentsContract.getDocumentId(documentUri); in call()
638 enforceTree(documentUri); in call()
643 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in call()
652 final Uri newDocumentUri = buildDocumentUriMaybeUsingTree(documentUri, in call()
[all …]
/frameworks/support/v4/api21/android/support/v4/provider/
DDocumentsContractApi21.java58 final Uri documentUri = DocumentsContract.buildDocumentUriUsingTree(self, in listFiles() local
60 results.add(documentUri); in listFiles()