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.java1932 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
1936 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in grantUriPermission() local
1943 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
1947 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
1954 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
1958 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
1965 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
1977 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
1992 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
2002 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-mock/src/android/test/mock/
DMockContext.java667 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
672 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
677 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
682 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
688 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
693 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
698 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
704 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
710 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
716 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
/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.java804 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
809 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
814 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
819 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
825 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
830 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
835 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
841 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
848 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
854 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
DContext.java4847 @Intent.GrantUriMode int modeFlags); in grantUriPermission()
4877 public abstract void revokeUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
4901 @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
4925 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
4930 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission()
4953 public abstract int checkCallingUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in checkCallingUriPermission()
4973 @Intent.AccessUriMode int modeFlags); in checkCallingOrSelfUriPermission()
4999 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
5019 Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, String message); in enforceUriPermission()
5039 Uri uri, @Intent.AccessUriMode int modeFlags, String message); in enforceCallingUriPermission()
[all …]
DIntent.java5654 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.java6128 final int modeFlags, int userId, IBinder callerToken) { in checkUriPermission()
6153 final int modeFlags, int userId) { in grantUriPermission()
6186 final int modeFlags, int userId) { in revokeUriPermission()