/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestablePermissionsTest.java | 59 assertEquals(PERMISSION_GRANTED, mContext.checkUriPermission(URI_1, 0, 0, 0)); in testCheckUri() 60 assertEquals(PERMISSION_DENIED, mContext.checkUriPermission(URI_2, 0, 0, 0)); in testCheckUri()
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 122 public int checkUriPermission( in checkUriPermission() method in IsolatedContext 129 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in IsolatedContext
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 479 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in TestableContext 483 return super.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 487 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in TestableContext 491 return super.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission() 495 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() method in TestableContext 500 return super.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission()
|
/frameworks/base/test-runner/api/ |
D | lint-baseline.txt | 66 MissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String… 67 Missing nullability on parameter `uri` in method `checkUriPermission` 68 MissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String… 69 Missing nullability on parameter `readPermission` in method `checkUriPermission` 70 MissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String… 71 Missing nullability on parameter `writePermission` in method `checkUriPermission` 72 MissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, int, int, int)… 73 Missing nullability on parameter `uri` in method `checkUriPermission`
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContentProvider.java | 192 public int checkUriPermission(@NonNull AttributionSource attributionSource, Uri uri, in checkUriPermission() method in MockContentProvider.InversionIContentProvider 194 return MockContentProvider.this.checkUriPermission(uri, uid, modeFlags); in checkUriPermission() 363 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission() method in MockContentProvider
|
D | MockContext.java | 742 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in MockContext 748 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in MockContext 749 return checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 763 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() method in MockContext
|
D | MockIContentProvider.java | 206 public int checkUriPermission(@NonNull AttributionSource attributionSource, Uri uri, int uid, in checkUriPermission() method in MockIContentProvider
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 49 boolean checkUriPermission(GrantUri grantUri, int uid, int modeFlags, in checkUriPermission() method
|
/frameworks/base/core/java/android/content/ |
D | ContentInterface.java | 59 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission() method
|
D | LoggingContentInterface.java | 168 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission() method in LoggingContentInterface 172 return l.setResult(delegate.checkUriPermission(uri, uid, modeFlags)); in checkUriPermission()
|
D | ContextWrapper.java | 1003 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in ContextWrapper 1004 return mBase.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 1022 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in ContextWrapper 1023 return mBase.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission() 1049 public int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() method in ContextWrapper 1051 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
|
D | ContentProvider.java | 377 && mInterface.checkUriPermission(uri, in logGetTypeData() 380 && getContext().checkUriPermission(userUri, Binder.getCallingPid(), in logGetTypeData() 781 public int checkUriPermission(@NonNull AttributionSource attributionSource, Uri uri, in checkUriPermission() method in ContentProvider.Transport 789 return mInterface.checkUriPermission(uri, uid, modeFlags); in checkUriPermission() 1003 if (context.checkUriPermission(userUri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforceReadPermissionInner() 1083 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in enforceWritePermissionInner() 1877 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission() method in ContentProvider
|
D | ContentProviderClient.java | 315 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission() method in ContentProviderClient 321 return mContentProvider.checkUriPermission(mAttributionSource, uri, uid, in checkUriPermission()
|
D | IContentProvider.java | 155 int checkUriPermission(@NonNull AttributionSource attributionSource, Uri uri, in checkUriPermission() method
|
D | ContentProviderNative.java | 432 int out = checkUriPermission(attributionSource, uri, uid, modeFlags); in onTransact() 950 public int checkUriPermission(@NonNull AttributionSource attributionSource, Uri url, int uid, in checkUriPermission() method in ContentProviderProxy
|
D | Context.java | 6896 public abstract int checkUriPermission(Uri uri, int pid, int uid, in checkUriPermission() method in Context 6963 public abstract int checkUriPermission(Uri uri, int pid, int uid, in checkUriPermission() method in Context 7079 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() method in Context
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriGrantsManagerServiceTest.java | 377 assertTrue(mService.checkUriPermission(expectedGrant, UID_PRIMARY_SOCIAL, FLAG_READ, in testGrant_overlap() 382 assertTrue(mService.checkUriPermission(expectedGrant, UID_PRIMARY_SOCIAL, FLAG_READ, in testGrant_overlap() 387 assertFalse(mService.checkUriPermission(expectedGrant, UID_PRIMARY_SOCIAL, FLAG_READ, in testGrant_overlap()
|
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/ |
D | RavenwoodBaseContext.java | 641 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in RavenwoodBaseContext 646 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in RavenwoodBaseContext 661 public int checkUriPermission(Uri uri, String readPermission, String writePermission, in checkUriPermission() method in RavenwoodBaseContext
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | ApplicationContext.java | 1039 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in ApplicationContext 1042 return context.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 1048 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in ApplicationContext 1051 return context.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission() 1075 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() method in ApplicationContext 1079 … return context.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission()
|
D | BridgeContentProvider.java | 234 public int checkUriPermission(AttributionSource attributionSource, Uri uri, int uid, in checkUriPermission() method in BridgeContentProvider
|
D | BridgeContext.java | 1402 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3) { in checkUriPermission() method in BridgeContext 1408 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3, IBinder arg4) { in checkUriPermission() method in BridgeContext 1414 public int checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, in checkUriPermission() method in BridgeContext
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 161 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforcePermissions()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceManagerServiceTest.java | 122 when(mContextSpy.checkUriPermission(any(), anyInt(), anyInt(), anyInt())) in testCheckAutoGrantPermissions()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2458 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in ContextImpl 2460 return ActivityManager.getService().checkUriPermission( in checkUriPermission() 2493 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in ContextImpl 2495 return ActivityManager.getService().checkUriPermission( in checkUriPermission() 2511 return checkUriPermission(uri, pid, in checkCallingUriPermission() 2531 return checkUriPermission(uri, Binder.getCallingPid(), in checkCallingOrSelfUriPermission() 2542 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() method in ContextImpl 2563 return uri != null ? checkUriPermission(uri, pid, uid, modeFlags) in checkUriPermission() 2610 modeFlags, checkUriPermission(uri, pid, uid, modeFlags), in enforceUriPermission() 2637 checkUriPermission( in enforceUriPermission()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityCallerState.java | 168 if (mAtmService.mUgmInternal.checkUriPermission(grantUri, uid, in addContentUriIfUidHasPermission()
|