Home
last modified time | relevance | path

Searched refs:rootUri (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/provider/
DDocumentsContract.java964 public static String getRootId(Uri rootUri) { in getRootId() argument
965 final List<String> paths = rootUri.getPathSegments(); in getRootId()
969 throw new IllegalArgumentException("Invalid URI: " + rootUri); in getRootId()
1359 public static void ejectRoot(ContentResolver resolver, Uri rootUri) { in ejectRoot() argument
1361 rootUri.getAuthority()); in ejectRoot()
1363 ejectRoot(client, rootUri); in ejectRoot()
1372 public static void ejectRoot(ContentProviderClient client, Uri rootUri) in ejectRoot() argument
1375 in.putParcelable(DocumentsContract.EXTRA_URI, rootUri); in ejectRoot()
DDocumentsProvider.java960 final Uri rootUri = extras.getParcelable(DocumentsContract.EXTRA_URI); in callUnchecked() local
961 enforceWritePermissionInner(rootUri, getCallingPackage(), null); in callUnchecked()
963 final String rootId = DocumentsContract.getRootId(rootUri); in callUnchecked()