HomeSort by relevance Sort by last modified time
    Searched refs:grantedUri (Results 1 - 2 of 2) sorted by null

  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
ScopedDirectoryAccessClientTest.java 144 final Uri grantedUri = userAcceptsOpenExternalDirectoryTest(volume, DIRECTORY_PICTURES);
151 assertEquals(grantedUri, newData.getData());
155 assertNotEqual(grantedUri, grantedUri2);
273 final Uri grantedUri = data.getData();
280 resolver.takePersistableUriPermission(grantedUri, modeFlags);
283 final Uri doc = DocumentsContract.buildDocumentUriUsingTree(grantedUri,
284 DocumentsContract.getTreeDocumentId(grantedUri));
302 return grantedUri;
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
OpenExternalDirectoryActivity.java 350 final Uri grantedUri = getGrantedUriPermission(activity, storageClient, file);
351 final Uri rootUri = root.equals(file) ? grantedUri
355 Log.d(TAG, "checking if " + packageName + " already has permission for " + grantedUri
365 if (uri.equals(grantedUri) || uri.equals(rootUri)) {
367 return createGrantedUriPermissionsIntent(grantedUri);
370 if (DEBUG) Log.d(TAG, packageName + " does not have permission for " + grantedUri);

Completed in 314 milliseconds