/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 365 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 …]
|
D | ContextWrapper.java | 674 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()
|
D | IContentProvider.java | 52 IBinder callerToken) in openFile() argument
|
D | Context.java | 3678 IBinder callerToken); in checkPermission() argument 3886 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission() argument
|
D | ContentProviderNative.java | 237 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/ |
D | MockIContentProvider.java | 66 IBinder callerToken) { in openFile() argument
|
D | MockContext.java | 562 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
|
D | MockContentProvider.java | 95 IBinder callerToken) throws RemoteException, FileNotFoundException { in openFile() argument
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1536 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()
|
D | IActivityManager.java | 297 public int checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) in checkPermissionWithToken() argument 301 IBinder callerToken) throws RemoteException; in checkUriPermission() argument
|
D | ActivityManagerNative.java | 1393 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/ |
D | ActivityManagerService.java | 7777 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()
|