/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ClipDataJobTest.java | 67 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant() 70 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant() 82 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant() 85 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrant() 125 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule() 128 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule() 140 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule() 143 getContext().checkUriPermission(mFirstUri, Process.myPid(), in testClipDataGrantReschedule()
|
D | ConstraintTest.java | 135 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission() 140 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission() 147 while (getContext().checkUriPermission(uri, Process.myPid(), Process.myUid(), access) in waitPermissionRevoke()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | MockJobService.java | 84 permCheckRead = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 86 permCheckWrite = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 118 if (checkUriPermission(expected.requireUrisGranted[ui], in onStartJob() 131 if (checkUriPermission(expected.requireUrisGranted[ui], in onStartJob() 150 if (checkUriPermission(expected.requireUrisNotGranted[ui], in onStartJob() 163 if (checkUriPermission(expected.requireUrisNotGranted[ui], in onStartJob()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/helper-app/src/android/security/cts/CVE_2023_21272_helper/ |
D | PocActivity.java | 32 if (this.checkUriPermission( in onResume()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | MockJobService.java | 103 permCheckRead = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 105 permCheckWrite = checkUriPermission(clip.getItemAt(0).getUri(), Process.myPid(), in onStartJob() 139 if (checkUriPermission(expected.requireUrisGranted[ui], in onStartJob() 153 if (checkUriPermission(expected.requireUrisGranted[ui], in onStartJob() 173 if (checkUriPermission(expected.requireUrisNotGranted[ui], in onStartJob() 187 if (checkUriPermission(expected.requireUrisNotGranted[ui], in onStartJob()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 193 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission() 198 getContext().checkUriPermission(uri, Process.myPid(), in assertHasUriPermission() 205 while (getContext().checkUriPermission(uri, Process.myPid(), Process.myUid(), access) in waitPermissionRevoke()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 753 assertTrue(PERMISSION_GRANTED == checkUriPermission(uri)); in testDownload_onMediaStoreDownloadsDeleted() 771 assertTrue(PERMISSION_DENIED == checkUriPermission(uri)); in testDownload_onMediaStoreDownloadsDeleted() 794 private int checkUriPermission(Uri uri) { in checkUriPermission() method in DownloadManagerTest 795 return mContext.checkUriPermission(uri, android.os.Process.myPid(), in checkUriPermission()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 1119 final int permissionResult = checkUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_NO_API); in queriesPackageHasProvider_checkUriPermission_canSeeNoApi() 1125 final int permissionResult = checkUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_FILTERS); in queriesPackageHasProvider_checkUriPermission_cannotSeeFilters() 1151 assertThat(sContext.checkUriPermission( in queriesPackageHasProvider_grantUriPermission_canSeeNoApi() 1166 assertThat(sContext.checkUriPermission( in queriesPackageHasProvider_grantUriPermission_cannotSeeFilters() 1672 private int checkUriPermission(String sourcePackageName, String targetPackageName) in checkUriPermission() method in AppEnumerationTests
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 450 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission() method in MockContentProvider
|
D | ContextTest.java | 1621 int retValue = mContext.checkUriPermission(uri, Binder.getCallingPid(), 0, in testCheckUriPermission1() 1625 retValue = mContext.checkUriPermission(uri, Binder.getCallingPid(), in testCheckUriPermission1() 1634 int retValue = mContext.checkUriPermission(uri, NOT_GRANTED_PERMISSION, in testCheckUriPermission2() 1639 retValue = mContext.checkUriPermission(uri, NOT_GRANTED_PERMISSION, in testCheckUriPermission2()
|
D | ContentProviderTest.java | 350 provider.checkUriPermission(uri, android.os.Process.myUid(), 0)); in testCheckUriPermission()
|
D | ContentResolverTest.java | 1161 assertEquals(PackageManager.PERMISSION_GRANTED, mContentResolver.checkUriPermission( in testCheckUriPermission() 1163 assertEquals(PackageManager.PERMISSION_DENIED, mContentResolver.checkUriPermission( in testCheckUriPermission()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 993 final int permissionResult = checkUriPermission(uri, 0 /* pid */, targetUid, in sendCheckUriPermission()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 3750 method public int checkUriPermission(@NonNull android.net.Uri, int, int); 3758 method public int checkUriPermission(@NonNull android.net.Uri, int, int);
|
D | current.txt | 10541 …t="#enforceUriPermission(Uri,int,int,String)") public abstract int checkUriPermission(android.net.… 10542 …ission(Uri,String,String,int,int,int,String)") public abstract int checkUriPermission(@Nullable an… 10834 method public int checkUriPermission(android.net.Uri, int, int, int); 10835 …method public int checkUriPermission(@Nullable android.net.Uri, @Nullable String, @Nullable String…
|