Home
last modified time | relevance | path

Searched defs:modeFlags (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java65 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()
DUriGrantsManagerService.java223 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 …]
DGrantUri.java33 public GrantUri(int sourceUserId, Uri uri, int modeFlags) { in GrantUri()
78 public static GrantUri resolve(int defaultSourceUserHandle, Uri uri, int modeFlags) { in resolve()
DUriGrantsManagerInternal.java38 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/
DTestableContext.java383 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()
DTestablePermissions.java64 int check(Uri uri, int modeFlags) { in check()
75 public void enforce(Uri uri, int modeFlags) { in enforce()
/frameworks/base/core/java/android/app/
DIUriGrantsManager.aidl28 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()
DContextImpl.java2214 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/
DDocumentsProvider.java1005 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/
DIsolatedContext.java113 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/
DContextWrapper.java909 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 …]
DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
DContext.java5851 @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 …]
DContentInterface.java59 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
DLoggingContentInterface.java168 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
DContentProviderNative.java416 int modeFlags = data.readInt(); in onTransact() local
917 int modeFlags) throws RemoteException { in checkUriPermission()
DIContentProvider.java127 int uid, int modeFlags) throws RemoteException; in checkUriPermission()
DContentProviderClient.java315 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
DContentProvider.java658 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/
DMockContext.java712 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 …]
DMockContentProvider.java186 int uid, int modeFlags) { in checkUriPermission()
339 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
DMockIContentProvider.java192 int modeFlags) { in checkUriPermission()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java212 int modeFlags) throws RemoteException { in checkUriPermission()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java494 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/
DContentProviderHelper.java1067 int checkContentProviderUriPermission(Uri uri, int userId, int callingUid, int modeFlags) { in checkContentProviderUriPermission()

12