Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
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()
DActivityManagerService.java8468 IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissionsLocked()
8481 GrantUri grantUri, int uid, final int modeFlags, boolean considerUidPermissions) { in checkHoldingPermissionsInternalLocked()
8739 final int modeFlags) { in checkUriPermissionLocked()
8777 final int modeFlags, int userId, IBinder callerToken) { in checkUriPermission()
8809 final int modeFlags, int lastTargetUid) { in checkGrantUriPermissionLocked()
8966 final int modeFlags, int userId) { in checkGrantUriPermission()
8975 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUncheckedLocked()
9004 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionLocked()
9155 final int modeFlags, int userId) { in grantUriPermission()
9199 final int modeFlags) { in revokeUriPermissionLocked()
[all …]
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java876 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, uri); in canonicalize() local
877 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize() local
885 int modeFlags = 0; in getCallingOrSelfUriPermissionModeFlags() local
1033 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1035 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
1065 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1067 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
1090 final int modeFlags = getCallingOrSelfUriPermissionModeFlags(context, in callUnchecked() local
1092 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() local
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java638 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
643 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
648 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
653 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
659 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
664 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
669 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
675 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
681 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
687 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
/frameworks/base/core/java/android/content/
DContextWrapper.java766 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
771 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
776 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
781 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
787 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
792 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
797 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
803 String writePermission, int pid, int uid, int modeFlags) { in checkUriPermission()
810 Uri uri, int pid, int uid, int modeFlags, String message) { in enforceUriPermission()
816 Uri uri, int modeFlags, String message) { in enforceCallingUriPermission()
[all …]
DUriPermission.java42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission()
DContext.java4218 @Intent.GrantUriMode int modeFlags); in grantUriPermission()
4248 public abstract void revokeUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
4272 @Intent.AccessUriMode int modeFlags); in revokeUriPermission()
4296 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
4301 @Intent.AccessUriMode int modeFlags, IBinder callerToken); in checkUriPermission()
4324 public abstract int checkCallingUriPermission(Uri uri, @Intent.AccessUriMode int modeFlags); in checkCallingUriPermission()
4344 @Intent.AccessUriMode int modeFlags); in checkCallingOrSelfUriPermission()
4370 @Intent.AccessUriMode int modeFlags); in checkUriPermission()
4390 Uri uri, int pid, int uid, @Intent.AccessUriMode int modeFlags, String message); in enforceUriPermission()
4410 Uri uri, @Intent.AccessUriMode int modeFlags, String message); in enforceCallingUriPermission()
[all …]
DContentResolver.java2082 @Intent.AccessUriMode int modeFlags) { in takePersistableUriPermission()
2086 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in takePersistableUriPermission() local
2100 @Intent.AccessUriMode int modeFlags) { in releasePersistableUriPermission()
2104 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in releasePersistableUriPermission() local
DIntent.java4968 public static boolean isAccessUriMode(int modeFlags) { in isAccessUriMode()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java108 int uid, int modeFlags) { in checkUriPermission()
113 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
/frameworks/base/core/java/android/app/
DContextImpl.java1791 public void grantUriPermission(String toPackage, Uri uri, int modeFlags) { in grantUriPermission()
1795 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in grantUriPermission() local
1802 public void revokeUriPermission(Uri uri, int modeFlags) { in revokeUriPermission()
1806 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
1813 public void revokeUriPermission(String targetPackage, Uri uri, int modeFlags) { in revokeUriPermission()
1817 ContentProvider.getUriWithoutUserId(uri), modeFlags, resolveUserId(uri)); in revokeUriPermission() local
1824 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission()
1836 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, IBinder callerToken) { in checkUriPermission()
1851 public int checkCallingUriPermission(Uri uri, int modeFlags) { in checkCallingUriPermission()
1861 public int checkCallingOrSelfUriPermission(Uri uri, int modeFlags) { in checkCallingOrSelfUriPermission()
[all …]
DIActivityManager.aidl277 int modeFlags, int userId); in checkGrantUriPermission()
391 void takePersistableUriPermission(in Uri uri, int modeFlags, int userId); in takePersistableUriPermission()
392 void releasePersistableUriPermission(in Uri uri, int modeFlags, int userId); in releasePersistableUriPermission()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java466 private int checkUriPermission(Uri uri, int pid, int uid, int modeFlags, int userHandle) { in checkUriPermission()
1181 private int handleIncomingUser(Uri uri, int pid, int uid, int modeFlags, boolean allowNonFull, in handleIncomingUser()