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.java215 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 …]
DUriGrantsManagerInternal.java36 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()
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()
/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.java2054 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 …]
DActivityManagerInternal.java72 int callingUid, int modeFlags); in checkContentProviderUriPermission()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java994 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/
DIsolatedContext.java113 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/
DMockContext.java700 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 …]
DMockContentProvider.java178 int uid, int modeFlags) { in checkUriPermission()
319 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) { in checkUriPermission()
DMockIContentProvider.java179 int modeFlags) { in checkUriPermission()
/frameworks/base/core/java/android/content/
DContextWrapper.java855 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 …]
DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
DContext.java5333 @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 …]
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.java406 int modeFlags = data.readInt(); in onTransact() local
904 int modeFlags) throws RemoteException { in checkUriPermission()
DIContentProvider.java122 int uid, int modeFlags) throws RemoteException; in checkUriPermission()
DContentProviderClient.java316 public int checkUriPermission(@NonNull Uri uri, int uid, @Intent.AccessUriMode int modeFlags) in checkUriPermission()
DContentProvider.java649 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/
DBridgeContentProvider.java195 int modeFlags) throws RemoteException { in checkUriPermission()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java492 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()

12