/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 | 215 Uri uri, final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner() 226 Uri uri, final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwnerUnlocked() 334 public void takePersistableUriPermission(Uri uri, final int modeFlags, in takePersistableUriPermission() 398 public void releasePersistableUriPermission(Uri uri, final int modeFlags, in releasePersistableUriPermission() 685 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissionsLocked() local 745 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUnchecked() 787 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionUnlocked() 804 final int modeFlags) { in revokeUriPermission() 826 final int modeFlags, final boolean callerHoldsPermissions) { in revokeUriPermissionLocked() 901 ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissionsUnlocked() [all …]
|
D | UriGrantsManagerInternal.java | 36 GrantUri grantUri, final int modeFlags); in revokeUriPermission() 38 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() 40 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission()
|
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()
|
/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 | 2054 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 2058 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in grantUriPermission() local 2065 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 2069 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local 2076 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 2080 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local 2087 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 2099 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 2114 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 2124 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() [all …]
|
D | ActivityManagerInternal.java | 72 int callingUid, int modeFlags); in checkContentProviderUriPermission()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 994 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, uri); in canonicalize() local 995 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize() local 1003 int modeFlags = 0; in getCallingOrSelfUriPermissionModeFlags() local 1156 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1158 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local 1191 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1193 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local 1219 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local 1221 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/test-mock/src/android/test/mock/ |
D | MockContext.java | 700 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 705 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 710 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 715 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 721 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 726 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 731 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() 737 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission() 743 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission() 749 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission() [all …]
|
D | MockContentProvider.java | 178 int uid, int modeFlags) { in checkUriPermission() 319 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
|
D | MockIContentProvider.java | 179 int modeFlags) { in checkUriPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 855 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission() 860 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission() 865 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission() 870 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() 876 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission() 881 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission() 886 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission() 892 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission() 899 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission() 905 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission() [all …]
|
D | UriPermission.java | 42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
|
D | Context.java | 5333 @Intent.GrantUriMode int modeFlags); in grantUriPermission() 5363 public abstract void revokeUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in revokeUriPermission() 5387 @Intent.AccessUriMode int modeFlags); in revokeUriPermission() 5411 @Intent.AccessUriMode int modeFlags); in checkUriPermission() 5416 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission() 5439 public abstract int checkCallingUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in checkCallingUriPermission() 5459 @Intent.AccessUriMode int modeFlags); in checkCallingOrSelfUriPermission() 5485 @Intent.AccessUriMode int modeFlags); in checkUriPermission() 5505 Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, String message); in enforceUriPermission() 5525 Uri uri, @Intent.AccessUriMode int modeFlags, String message); in enforceCallingUriPermission() [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 | 406 int modeFlags = data.readInt(); in onTransact() local 904 int modeFlags) throws RemoteException { in checkUriPermission()
|
D | IContentProvider.java | 122 int uid, int modeFlags) throws RemoteException; in checkUriPermission()
|
D | ContentProviderClient.java | 316 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
|
D | ContentProvider.java | 649 int uid, int modeFlags) { in checkUriPermission() 1614 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContentProvider.java | 195 int modeFlags) throws RemoteException { in checkUriPermission()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 492 private int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) { in checkUriPermission() 1310 private int handleIncomingUser(Uri uri, int pid, int uid, int modeFlags, boolean allowNonFull, in handleIncomingUser()
|