/cts/tests/MediaProviderTranscode/helper/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestHelper.java | 58 getApplicationContext().grantUriPermission(getIntent().getStringExtra( in onCreate()
|
/cts/tests/tests/content/ContentUriTestApp/src/android/content/cts/contenturitestapp/ |
D | TestService.java | 46 grantUriPermission(RECIPIENT, uri, modeFlags);
|
/cts/tests/JobSchedulerSharedUid/jobperm/src/android/jobscheduler/cts/shareduid/jobperm/ |
D | JobPermProvider.java | 45 getContext().grantUriPermission(arg, uri, in call()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SQLiteTest.java | 77 mContext.grantUriPermission(mPackageName, uri, in test_android_cve_2019_2195()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/test-app/src/android/security/cts/CVE_2023_21272_test/ |
D | DeviceTest.java | 102 .grantUriPermission( in testCVE_2023_21272()
|
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/ |
D | RedactUriDeviceTest.java | 390 getContext().grantUriPermission(APP_B_NO_PERMS.getPackageName(), redactedUri, in testGrantUriPermissionsForRedactedUri() 393 getContext().grantUriPermission(APP_B_NO_PERMS.getPackageName(), redactedUri, in testGrantUriPermissionsForRedactedUri() 515 getContext().grantUriPermission(testApp.getPackageName(), redactedUri, in shareAndGetRedactedUri()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | UtilsProvider.java | 62 context.grantUriPermission(intent.getStringExtra(EXTRA_PACKAGE_NAME), uri, in call()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 212 mContext.grantUriPermission(mContext.getPackageName(), blue, flag); in doMediaNone() 280 mContext.grantUriPermission(mContext.getPackageName(), collectionUri, flagGrantRead); in doReadUriPermissionOnUriWithoutId_sameQueryResult() 361 mContext.grantUriPermission(mContext.getPackageName(), collectionUri, in doOwningOneFileNotGrantPrefixUriPermission() 379 mContext.grantUriPermission(mContext.getPackageName(), collectionUri, in doOwningOneFileNotGrantPrefixUriPermission() 455 mContext.grantUriPermission(mContext.getPackageName(), uri, mode); in checkGrantUriPermission() 458 mContext.grantUriPermission(mContext.getPackageName(), uri, mode); in checkGrantUriPermission()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 563 mContext.grantUriPermission("com.android.shell", downloadUri, in testAddCompletedDownload() 587 mContext.grantUriPermission("com.android.shell", downloadUri, in testAddCompletedDownload_downloadDir() 707 mContext.grantUriPermission("com.android.shell", downloadUri, in testDownload_mediaScanned()
|
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/ |
D | PackageInstallerCujTestBase.java | 261 sContext.grantUriPermission(TEST_INSTALLER_PACKAGE_NAME, testApkUri, in startInstallerActivity() 263 sContext.grantUriPermission(TEST_INSTALLER_PACKAGE_NAME, testApkV2Uri, in startInstallerActivity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/ |
D | SharesheetAdditionalContentProvider.java | 76 context.grantUriPermission( in query()
|
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/ |
D | DownloadManagerApi28Test.java | 177 mContext.grantUriPermission("com.android.shell", downloadUri, in testAddCompletedDownload_publicDirs()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1150 grantUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_NO_API); in queriesPackageHasProvider_grantUriPermission_canSeeNoApi() 1165 grantUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_FILTERS); in queriesPackageHasProvider_grantUriPermission_cannotSeeFilters() 1384 grantUriPermission(QUERIES_PACKAGE_PROVIDER, SPLIT_PKG); in grantImplicitAccessByUriGrant_canSeeProviderAfterUpdatedWithDontKill() 1695 private void grantUriPermission(String providerPackageName, String targetPackageName) in grantUriPermission() method in AppEnumerationTests
|
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/ |
D | ScopedStorageTestHelper.java | 491 getApplicationContext().grantUriPermission(packageName, in accessFile()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 1008 grantUriPermission(targetPackageName, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in getContentUriAndGrantRead() 1024 grantUriPermission(targetPackageName, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendGrantUriPermission()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContextTest.java | 1390 mContext.grantUriPermission("com.android.mms", Uri.parse("contents://ctstest"), in testGrantUriPermission()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 10614 method public abstract void grantUriPermission(String, android.net.Uri, int); 10888 method public void grantUriPermission(String, android.net.Uri, int);
|