Home
last modified time | relevance | path

Searched refs:callerToken (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/
DContentProvider.java365 IBinder callerToken) throws FileNotFoundException { in openFile() argument
368 enforceFilePermission(callingPkg, uri, mode, callerToken); in openFile()
467 IBinder callerToken) throws FileNotFoundException, SecurityException { in enforceFilePermission() argument
469 if (enforceWritePermission(callingPkg, uri, callerToken) in enforceFilePermission()
474 if (enforceReadPermission(callingPkg, uri, callerToken) in enforceFilePermission()
481 private int enforceReadPermission(String callingPkg, Uri uri, IBinder callerToken) in enforceReadPermission() argument
483 final int mode = enforceReadPermissionInner(uri, callingPkg, callerToken); in enforceReadPermission()
495 private int enforceWritePermission(String callingPkg, Uri uri, IBinder callerToken) in enforceWritePermission() argument
497 final int mode = enforceWritePermissionInner(uri, callingPkg, callerToken); in enforceWritePermission()
522 IBinder callerToken) { in checkPermissionAndAppOp() argument
[all …]
DContextWrapper.java674 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() argument
675 return mBase.checkPermission(permission, pid, uid, callerToken); in checkPermission()
727 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() argument
728 return mBase.checkUriPermission(uri, pid, uid, modeFlags, callerToken); in checkUriPermission()
DIContentProvider.java52 IBinder callerToken) in openFile() argument
DContext.java3678 IBinder callerToken); in checkPermission() argument
3886 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission() argument
DContentProviderNative.java237 IBinder callerToken = data.readStrongBinder(); in onTransact() local
240 fd = openFile(callingPkg, url, mode, signal, callerToken); in onTransact()
/frameworks/base/test-runner/src/android/test/mock/
DMockIContentProvider.java66 IBinder callerToken) { in openFile() argument
DMockContext.java562 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() argument
614 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() argument
DMockContentProvider.java95 IBinder callerToken) throws RemoteException, FileNotFoundException { in openFile() argument
/frameworks/base/core/java/android/app/
DContextImpl.java1536 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() argument
1543 permission, pid, uid, callerToken); in checkPermission()
1659 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() argument
1663 resolveUserId(uri), callerToken); in checkUriPermission()
DIActivityManager.java297 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) in checkPermissionWithToken() argument
301 IBinder callerToken) throws RemoteException; in checkUriPermission() argument
DActivityManagerNative.java1393 IBinder callerToken = data.readStrongBinder(); in onTransact() local
1394 int res = checkUriPermission(uri, pid, uid, mode, userId, callerToken); in onTransact()
4778 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) in checkPermissionWithToken() argument
4786 data.writeStrongBinder(callerToken); in checkPermissionWithToken()
4810 IBinder callerToken) throws RemoteException { in checkUriPermission() argument
4819 data.writeStrongBinder(callerToken); in checkUriPermission()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7777 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) {
7786 if (tlsIdentity != null && tlsIdentity.token == callerToken) {
8040 final int modeFlags, int userId, IBinder callerToken) { in checkUriPermission() argument
8046 if (tlsIdentity != null && tlsIdentity.token == callerToken) { in checkUriPermission()