Searched defs:callerToken (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestDocumentsProvider.java96 protected int enforceReadPermissionInner(Uri uri, String callingPkg, IBinder callerToken) { argument
101 protected int enforceWritePermissionInner(Uri uri, String callingPkg, IBinder callerToken) { argument
/frameworks/base/core/java/android/content/
H A DIContentProvider.java52 IBinder callerToken)
50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
H A DContentProvider.java366 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 DContextWrapper.java743 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 DContext.java4235 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/services/tests/servicestests/src/com/android/server/policy/
H A DPhoneWindowManagerTestBase.java200 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { argument
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContentProvider.java96 IBinder callerToken) throws RemoteException, FileNotFoundException {
94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
H A DMockIContentProvider.java72 IBinder callerToken) {
70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
H A DMockContext.java614 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/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java129 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/tests/testables/src/android/testing/
H A DTestableContext.java340 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/core/java/android/app/
H A DContextImpl.java1759 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);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java9129 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...]

Completed in 590 milliseconds