/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 | 111 public int checkUriPermission( in checkUriPermission() method in IsolatedContext 118 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 | 408 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in TestableContext 412 return super.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 416 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in TestableContext 420 return super.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission() 424 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() method in TestableContext 429 return super.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerInternal.java | 39 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() method
|
D | UriGrantsManagerService.java | 1172 if (!checkUriPermission(grantUri, callingUid, modeFlags)) { in checkGrantUriPermission() 1196 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags) { in checkUriPermission() method in UriGrantsManagerService 1332 public boolean checkUriPermission(GrantUri grantUri, int uid, int modeFlags) { in checkUriPermission() method in UriGrantsManagerService.LocalService 1334 return UriGrantsManagerService.this.checkUriPermission(grantUri, uid, modeFlags); in checkUriPermission()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 682 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in MockContext 688 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in MockContext 689 return checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 703 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() method in MockContext
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 819 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in ContextWrapper 820 return mBase.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 825 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in ContextWrapper 826 return mBase.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission() 840 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() method in ContextWrapper 842 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
|
D | Context.java | 4924 public abstract int checkUriPermission(Uri uri, int pid, int uid, in checkUriPermission() method in Context 4929 public abstract int checkUriPermission(Uri uri, int pid, int uid, in checkUriPermission() method in Context 4997 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() method in Context
|
D | ContentProvider.java | 709 if (context.checkUriPermission(userUri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION, in enforceReadPermissionInner() 788 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in enforceWritePermissionInner()
|
/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/core/java/android/app/ |
D | ContextImpl.java | 1965 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() method in ContextImpl 1967 return ActivityManager.getService().checkUriPermission( in checkUriPermission() 1977 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() method in ContextImpl 1979 return ActivityManager.getService().checkUriPermission( in checkUriPermission() 1995 return checkUriPermission(uri, pid, in checkCallingUriPermission() 2003 return checkUriPermission(uri, Binder.getCallingPid(), in checkCallingOrSelfUriPermission() 2008 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() method in ContextImpl 2029 return uri != null ? checkUriPermission(uri, pid, uid, modeFlags) in checkUriPermission() 2076 modeFlags, checkUriPermission(uri, pid, uid, modeFlags), in enforceUriPermission() 2103 checkUriPermission( in enforceUriPermission()
|
D | IActivityManager.aidl | 197 int checkUriPermission(in Uri uri, int pid, int uid, int mode, int userId, in checkUriPermission() method
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceManagerServiceTest.java | 117 when(mContextSpy.checkUriPermission(any(), anyInt(), anyInt(), anyInt())) in testCheckAutoGrantPermissions()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1269 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3) { in checkUriPermission() method in BridgeContext 1275 public int checkUriPermission(Uri arg0, int arg1, int arg2, int arg3, IBinder arg4) { in checkUriPermission() method in BridgeContext 1281 public int checkUriPermission(Uri arg0, String arg1, String arg2, int arg3, in checkUriPermission() method in BridgeContext
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 476 private int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) { in checkUriPermission() method in ContentService 478 return ActivityManager.getService().checkUriPermission( in checkUriPermission() 1251 if (checkUriPermission(uri, pid, uid, modeFlags, in handleIncomingUser()
|
/frameworks/base/test-mock/api/ |
D | current.txt | 42 method public int checkUriPermission(android.net.Uri, int, int, int); 43 method public int checkUriPermission(android.net.Uri, String, String, int, int, int);
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 250 if (mContext.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in checkSlicePermission()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6119 public int checkUriPermission(Uri uri, int pid, int uid, in checkUriPermission() method in ActivityManagerService 6135 return mUgmInternal.checkUriPermission(new GrantUri(userId, uri, false), uid, modeFlags) in checkUriPermission()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/services/ |
D | art-profile | 2795 HSPLcom/android/server/am/ActivityManagerService;->checkUriPermission(Landroid/net/Uri;IIIILandroid… 5756 HSPLcom/android/server/content/ContentService;->checkUriPermission(Landroid/net/Uri;IIII)I 13513 HSPLcom/android/server/uri/UriGrantsManagerService$LocalService;->checkUriPermission(Lcom/android/s… 13532 HSPLcom/android/server/uri/UriGrantsManagerService;->checkUriPermission(Lcom/android/server/uri/Gra…
|