Searched refs:documentUri (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 995 public static String getDocumentId(Uri documentUri) { in getDocumentId() argument 996 final List<String> paths = documentUri.getPathSegments(); in getDocumentId() 1004 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getDocumentId() 1010 public static String getTreeDocumentId(Uri documentUri) { in getTreeDocumentId() argument 1011 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId() 1015 throw new IllegalArgumentException("Invalid URI: " + documentUri); in getTreeDocumentId() 1052 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) in getDocumentThumbnail() argument 1055 documentUri.getAuthority()); in getDocumentThumbnail() 1057 return getDocumentThumbnail(client, documentUri, size, signal); in getDocumentThumbnail() 1060 Log.w(TAG, "Failed to load thumbnail for " + documentUri + ": " + e); in getDocumentThumbnail() [all …]
|
D | DocumentsProvider.java | 218 private void enforceTree(Uri documentUri) { in enforceTree() argument 219 if (isTreeUri(documentUri)) { in enforceTree() 220 final String parent = getTreeDocumentId(documentUri); in enforceTree() 221 final String child = getDocumentId(documentUri); in enforceTree() 974 final Uri documentUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in callUnchecked() local 975 final String authority = documentUri.getAuthority(); in callUnchecked() 976 final String documentId = DocumentsContract.getDocumentId(documentUri); in callUnchecked() 984 enforceTree(documentUri); in callUnchecked() 987 enforceReadPermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 999 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() [all …]
|
/frameworks/support/core-utils/java/android/support/v4/provider/ |
D | TreeDocumentFile.java | 140 final Uri documentUri = DocumentsContract.buildDocumentUriUsingTree(mUri, in listFiles() local 142 results.add(documentUri); in listFiles()
|