/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 366 IBinder callerToken) throws FileNotFoundException { 369 enforceFilePermission(callingPkg, uri, mode, callerToken); 485 IBinder callerToken) throws FileNotFoundException, SecurityException { 487 if (enforceWritePermission(callingPkg, uri, callerToken) 492 if (enforceReadPermission(callingPkg, uri, callerToken) 499 private int enforceReadPermission(String callingPkg, Uri uri, IBinder callerToken) argument 501 final int mode = enforceReadPermissionInner(uri, callingPkg, callerToken); 513 private int enforceWritePermission(String callingPkg, Uri uri, IBinder callerToken) argument 515 final int mode = enforceWritePermissionInner(uri, callingPkg, callerToken); 540 IBinder callerToken) { 364 openFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, IBinder callerToken) argument 484 enforceFilePermission(String callingPkg, Uri uri, String mode, IBinder callerToken) argument 539 checkPermissionAndAppOp(String permission, String callingPkg, IBinder callerToken) argument 555 enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) argument 637 enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) argument [all...] |
H A D | IContentProvider.java | 52 IBinder callerToken) 50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
|
H A D | ContextWrapper.java | 743 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument 744 return mBase.checkPermission(permission, pid, uid, callerToken); 801 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { argument 802 return mBase.checkUriPermission(uri, pid, uid, modeFlags, callerToken);
|
H A D | ContentProviderNative.java | 226 IBinder callerToken = data.readStrongBinder(); 229 fd = openFile(callingPkg, url, mode, signal, callerToken);
|
H A D | Context.java | 4235 IBinder callerToken); 4461 @Intent.AccessUriMode int modeFlags, IBinder callerToken); 4234 checkPermission(@onNull String permission, int pid, int uid, IBinder callerToken) argument 4460 checkUriPermission(Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, IBinder callerToken) argument
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | TestDocumentsProvider.java | 96 protected int enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) { argument 101 protected int enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) { argument
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableContext.java | 340 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument 344 return super.checkPermission(permission, pid, uid, callerToken); 416 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { argument 420 return super.checkUriPermission(uri, pid, uid, modeFlags, callerToken);
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 129 protected int enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) argument 132 return super.enforceReadPermissionInner(uri, callingPkg, callerToken); 136 protected int enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) argument 139 return super.enforceWritePermissionInner(uri, callingPkg, callerToken);
|
/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockIContentProvider.java | 72 IBinder callerToken) { 70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
|
H A D | MockContentProvider.java | 96 IBinder callerToken) throws RemoteException, FileNotFoundException { 94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
|
H A D | MockContext.java | 614 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument 671 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
H A D | PhoneWindowManagerTestBase.java | 200 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument
|
/frameworks/base/core/java/android/app/ |
H A D | ContextImpl.java | 1759 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument 1766 permission, pid, uid, callerToken); 1893 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { argument 1897 resolveUserId(uri), callerToken);
|
H A D | IActivityManager.aidl | 182 in IBinder callerToken); 478 in IBinder callerToken);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 9129 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) { argument 9138 if (tlsIdentity != null && tlsIdentity.token == callerToken) { 9537 final int modeFlags, int userId, IBinder callerToken) { 9543 if (tlsIdentity != null && tlsIdentity.token == callerToken) { 9536 checkUriPermission(Uri uri, int pid, int uid, final int modeFlags, int userId, IBinder callerToken) argument [all...] |