Home
last modified time | relevance | path

Searched refs:checkUriPermission (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/tests/testables/tests/src/android/testing/
DTestablePermissionsTest.java59 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/
DIsolatedContext.java111 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/
DTestableContext.java408 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/
DUriGrantsManagerInternal.java39 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() method
DUriGrantsManagerService.java1172 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/
DMockContext.java682 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/
DContextWrapper.java819 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()
DContext.java4924 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
DContentProvider.java709 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/
DWearPackageIconProvider.java161 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforcePermissions()
/frameworks/base/core/java/android/app/
DContextImpl.java1965 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()
DIActivityManager.aidl197 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/
DSliceManagerServiceTest.java117 when(mContextSpy.checkUriPermission(any(), anyInt(), anyInt(), anyInt())) in testCheckAutoGrantPermissions()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1269 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/
DContentService.java476 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/
Dcurrent.txt42 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/
DSliceManagerService.java250 if (mContext.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in checkSlicePermission()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6119 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/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile2795 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…