Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java64 int modeFlags = 0; field in UriPermission
115 void initPersistedModes(int modeFlags, long createdTime) { in initPersistedModes()
126 void grantModes(int modeFlags, UriPermissionOwner owner) { in grantModes()
152 boolean takePersistableModes(int modeFlags) { in takePersistableModes()
174 boolean releasePersistableModes(int modeFlags) { in releasePersistableModes()
194 boolean revokeModes(int modeFlags, boolean includingOwners) { in revokeModes()
241 public int getStrength(int modeFlags) { in getStrength()
DUriGrantsManagerInternal.java36 final int modeFlags, UriPermissionOwner owner, int targetUserId); in grantUriPermission()
38 GrantUri grantUri, final int modeFlags); in revokeUriPermission()
39 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission()
41 final int modeFlags, int lastTargetUid); in checkGrantUriPermission()
43 int callingUid, String targetPkg, Uri uri, int modeFlags, int userId); in checkGrantUriPermission()
DUriGrantsManagerService.java185 final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner()
298 public void takePersistableUriPermission(Uri uri, final int modeFlags, in takePersistableUriPermission()
362 public void releasePersistableUriPermission(Uri uri, final int modeFlags, in releasePersistableUriPermission()
658 final int modeFlags = readIntAttribute(in, ATTR_MODE_FLAGS); in readGrantedUriPermissions() local
715 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUnchecked()
755 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermission()
776 final int modeFlags) { in revokeUriPermission()
863 IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissions()
875 GrantUri grantUri, int uid, final int modeFlags, boolean considerUidPermissions) { in checkHoldingPermissionsInternal()
1014 final int modeFlags, int lastTargetUid) { in checkGrantUriPermission()
[all …]
/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.java1981 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
1985 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in grantUriPermission() local
1992 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
1996 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
2003 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
2007 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
2014 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
2026 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
2041 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
2051 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
[all …]
/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
1151 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1153 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
1183 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1185 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
1208 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1210 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.java690 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
695 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
700 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
705 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
711 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
716 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
721 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
727 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
733 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
739 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java837 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
842 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
847 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
852 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
858 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
863 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
868 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
874 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
881 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
887 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
DContext.java5080 @Intent.GrantUriMode int modeFlags); in grantUriPermission()
5110 public abstract void revokeUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
5134 @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
5158 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
5163 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission()
5186 public abstract int checkCallingUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in checkCallingUriPermission()
5206 @Intent.AccessUriMode int modeFlags); in checkCallingOrSelfUriPermission()
5232 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
5252 Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, String message); in enforceUriPermission()
5272 Uri uri, @Intent.AccessUriMode int modeFlags, String message); in enforceCallingUriPermission()
[all …]
DIntent.java5849 public static boolean isAccessUriMode(int modeFlags) { in isAccessUriMode()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java476 private int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) { in checkUriPermission()
1239 private int handleIncomingUser(Uri uri, int pid, int uid, int modeFlags, boolean allowNonFull, in handleIncomingUser()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6157 final int modeFlags, int userId, IBinder callerToken) { in checkUriPermission()
6182 final int modeFlags, int userId) { in grantUriPermission()
6215 final int modeFlags, int userId) { in revokeUriPermission()