/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermission.java | 65 int modeFlags = 0; field in UriPermission 116 void initPersistedModes(int modeFlags, long createdTime) { in initPersistedModes() 127 boolean grantModes(int modeFlags, @Nullable UriPermissionOwner owner) { in grantModes() 154 boolean takePersistableModes(int modeFlags) { in takePersistableModes() 176 boolean releasePersistableModes(int modeFlags) { in releasePersistableModes() 194 boolean revokeModes(int modeFlags, boolean includingOwners) { in revokeModes() 241 public int getStrength(int modeFlags) { in getStrength()
|
D | UriGrantsManagerService.java | 223 Uri uri, final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner() 232 @NonNull String targetPkg, @NonNull Uri uri, final int modeFlags, in grantUriPermissionFromOwnerUnlocked() 341 public void takePersistableUriPermission(Uri uri, final int modeFlags, in takePersistableUriPermission() 405 public void releasePersistableUriPermission(Uri uri, final int modeFlags, in releasePersistableUriPermission() 691 final int modeFlags = in.getAttributeInt(null, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked() local 751 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUnchecked() 793 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionUnlocked() 810 final int modeFlags) { in revokeUriPermission() 832 final int modeFlags, final boolean callerHoldsPermissions) { in revokeUriPermissionLocked() 907 ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissionsUnlocked() [all …]
|
D | GrantUri.java | 33 public GrantUri(int sourceUserId, Uri uri, int modeFlags) { in GrantUri() 78 public static GrantUri resolve(int defaultSourceUserHandle, Uri uri, int modeFlags) { in resolve()
|
D | UriGrantsManagerInternal.java | 38 GrantUri grantUri, final int modeFlags); in revokeUriPermission() 40 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() 42 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 383 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() 391 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 399 public void enforceCallingOrSelfUriPermission(Uri uri, int modeFlags, String message) { in enforceCallingOrSelfUriPermission() 408 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 416 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 425 int uid, int modeFlags) { in checkUriPermission() 433 public void enforceCallingUriPermission(Uri uri, int modeFlags, String message) { in enforceCallingUriPermission() 442 public void enforceUriPermission(Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission() 452 int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
|
D | TestablePermissions.java | 64 int check(Uri uri, int modeFlags) { in check() 75 public void enforce(Uri uri, int modeFlags) { in enforce()
|
/frameworks/base/core/java/android/app/ |
D | IUriGrantsManager.aidl | 28 void takePersistableUriPermission(in Uri uri, int modeFlags, String toPackage, int userId); in takePersistableUriPermission() 29 void releasePersistableUriPermission(in Uri uri, int modeFlags, String toPackage, int userId); in releasePersistableUriPermission()
|
D | ContextImpl.java | 2214 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 2218 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in grantUriPermission() local 2225 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 2229 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local 2236 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 2240 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local 2247 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 2260 int modeFlags) { in checkUriPermissions() 2271 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 2286 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 1005 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, uri); in canonicalize() local 1006 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize() local 1014 int modeFlags = 0; in getCallingOrSelfUriPermissionModeFlags() local 1169 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1171 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local 1201 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1203 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local 1226 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1228 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
|
/frameworks/base/test-runner/src/android/test/ |
D | IsolatedContext.java | 113 int uid, int modeFlags) { in checkUriPermission() 118 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 909 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 914 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 919 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 924 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 931 int modeFlags) { in checkUriPermissions() 937 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 942 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 948 public int[] checkCallingUriPermissions(@NonNull List<Uri> uris, int modeFlags) { in checkCallingUriPermissions() 953 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() 959 public int[] checkCallingOrSelfUriPermissions(@NonNull List<Uri> uris, int modeFlags) { in checkCallingOrSelfUriPermissions() [all …]
|
D | UriPermission.java | 42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
|
D | Context.java | 5851 @Intent.GrantUriMode int modeFlags); in grantUriPermission() 5881 public abstract void revokeUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in revokeUriPermission() 5905 @Intent.AccessUriMode int modeFlags); in revokeUriPermission() 5929 @Intent.AccessUriMode int modeFlags); in checkUriPermission() 5953 @Intent.AccessUriMode int modeFlags) { in checkUriPermissions() 5961 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission() 5984 public abstract int checkCallingUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in checkCallingUriPermission() 6008 @Intent.AccessUriMode int modeFlags) { in checkCallingUriPermissions() 6030 @Intent.AccessUriMode int modeFlags); in checkCallingOrSelfUriPermission() 6050 @Intent.AccessUriMode int modeFlags) { in checkCallingOrSelfUriPermissions() [all …]
|
D | ContentInterface.java | 59 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
|
D | LoggingContentInterface.java | 168 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission() 170 try (Logger l = new Logger("checkUriPermission", uri, uid, modeFlags)) { in checkUriPermission() argument
|
D | ContentProviderNative.java | 416 int modeFlags = data.readInt(); in onTransact() local 917 int modeFlags) throws RemoteException { in checkUriPermission()
|
D | IContentProvider.java | 127 int uid, int modeFlags) throws RemoteException; in checkUriPermission()
|
D | ContentProviderClient.java | 315 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
|
D | ContentProvider.java | 658 int uid, int modeFlags) { in checkUriPermission() 1643 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 712 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 717 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 722 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 727 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 733 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 738 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 743 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() 749 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission() 755 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission() 761 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission() [all …]
|
D | MockContentProvider.java | 186 int uid, int modeFlags) { in checkUriPermission() 339 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
|
D | MockIContentProvider.java | 192 int modeFlags) { in checkUriPermission()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 212 int modeFlags) throws RemoteException { in checkUriPermission()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 494 private int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) { in checkUriPermission() 1315 private int handleIncomingUser(Uri uri, int pid, int uid, int modeFlags, boolean allowNonFull, in handleIncomingUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 1067 int checkContentProviderUriPermission(Uri uri, int userId, int callingUid, int modeFlags) { in checkContentProviderUriPermission()
|