Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/provider/
DDocumentsContract.java743 public static String getDocumentId(Uri documentUri) { in getDocumentId() argument
744 final List<String> paths = documentUri.getPathSegments(); in getDocumentId()
752 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getDocumentId()
758 public static String getTreeDocumentId(Uri documentUri) { in getTreeDocumentId() argument
759 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
763 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getTreeDocumentId()
800 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) { in getDocumentThumbnail() argument
802 documentUri.getAuthority()); in getDocumentThumbnail()
804 return getDocumentThumbnail(client, documentUri, size, signal); in getDocumentThumbnail()
807 Log.w(TAG, "Failed to load thumbnail for " + documentUri + ": " + e); in getDocumentThumbnail()
[all …]
DDocumentsProvider.java190 private void enforceTree(Uri documentUri) { in enforceTree() argument
191 if (isTreeUri(documentUri)) { in enforceTree()
192 final String parent = getTreeDocumentId(documentUri); in enforceTree()
193 final String child = getDocumentId(documentUri); in enforceTree()
627 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in call() local
628 final String authority = documentUri.getAuthority(); in call()
629 final String documentId = DocumentsContract.getDocumentId(documentUri); in call()
635 enforceTree(documentUri); in call()
640 enforceWritePermissionInner(documentUri, null); in call()
649 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()