/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 389 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument 390 mBase.grantUriPermission(toPackage, uri, modeFlags); in grantUriPermission() 394 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() argument 395 mBase.revokeUriPermission(uri, modeFlags); in revokeUriPermission() 399 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument 400 return mBase.checkUriPermission(uri, pid, uid, modeFlags); in checkUriPermission() 404 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() argument 405 return mBase.checkCallingUriPermission(uri, modeFlags); in checkCallingUriPermission() 409 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() argument 410 return mBase.checkCallingOrSelfUriPermission(uri, modeFlags); in checkCallingOrSelfUriPermission() [all …]
|
D | Context.java | 1468 int modeFlags); in grantUriPermission() argument 1487 public abstract void revokeUriPermission(Uri uri, int modeFlags); in revokeUriPermission() argument 1510 public abstract int checkUriPermission(Uri uri, int pid, int uid, int modeFlags); in checkUriPermission() argument 1533 public abstract int checkCallingUriPermission(Uri uri, int modeFlags); in checkCallingUriPermission() argument 1552 public abstract int checkCallingOrSelfUriPermission(Uri uri, int modeFlags); in checkCallingOrSelfUriPermission() argument 1577 String writePermission, int pid, int uid, int modeFlags); in checkUriPermission() argument 1599 Uri uri, int pid, int uid, int modeFlags, String message); in enforceUriPermission() argument 1621 Uri uri, int modeFlags, String message); in enforceCallingUriPermission() argument 1640 Uri uri, int modeFlags, String message); in enforceCallingOrSelfUriPermission() argument 1665 int pid, int uid, int modeFlags, String message); in enforceUriPermission() argument
|
/frameworks/base/services/java/com/android/server/am/ |
D | UriPermission.java | 28 int modeFlags = 0; field in UriPermission 40 void clearModes(int modeFlags) { in clearModes() argument 41 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in clearModes() 43 modeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in clearModes() 54 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in clearModes() 56 modeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in clearModes() 84 pw.print(Integer.toHexString(modeFlags)); in dump()
|
D | ActivityManagerService.java | 6135 ProviderInfo pi, int uid, int modeFlags) { in checkHoldingPermissionsLocked() argument 6137 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkHoldingPermissionsLocked() 6144 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkHoldingPermissionsLocked() 6158 int modeFlags) { in checkUriPermissionLocked() argument 6167 return (modeFlags&perm.modeFlags) == modeFlags; in checkUriPermissionLocked() 6170 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument 6184 return checkUriPermissionLocked(uri, uid, modeFlags) in checkUriPermission() 6191 String targetPkg, Uri uri, int modeFlags, HistoryRecord activity) { in grantUriPermissionLocked() argument 6192 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in grantUriPermissionLocked() 6194 if (modeFlags == 0) { in grantUriPermissionLocked() [all …]
|
/frameworks/base/test-runner/android/test/mock/ |
D | MockContext.java | 357 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument 362 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() argument 367 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument 372 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() argument 377 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() argument 383 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission() argument 389 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission() argument 395 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission() argument 401 Uri uri, int modeFlags, String message) { in enforceCallingOrSelfUriPermission() argument 407 int pid, int uid, int modeFlags, String message) { in enforceUriPermission() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationContext.java | 1142 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() argument 1146 modeFlags); in grantUriPermission() local 1152 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() argument 1156 modeFlags); in revokeUriPermission() local 1162 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument 1168 uri, pid, uid, modeFlags); in checkUriPermission() 1175 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() argument 1182 Binder.getCallingUid(), modeFlags); in checkCallingUriPermission() 1188 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() argument 1190 Binder.getCallingUid(), modeFlags); in checkCallingOrSelfUriPermission() [all …]
|
/frameworks/base/test-runner/android/test/ |
D | IsolatedContext.java | 77 int uid, int modeFlags) { in checkUriPermission() argument 82 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument
|