Home
last modified time | relevance | path

Searched refs:grantUri (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUriPermissionOwner.java72 void removeUriPermissionLocked(ActivityManagerService.GrantUri grantUri, int mode) { in removeUriPermissionLocked() argument
78 if (grantUri == null || grantUri.equals(perm.uri)) { in removeUriPermissionLocked()
93 if (grantUri == null || grantUri.equals(perm.uri)) { in removeUriPermissionLocked()
DActivityManagerService.java8272 IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) { in checkHoldingPermissionsLocked() argument
8274 "checkHoldingPermissionsLocked: uri=" + grantUri + " uid=" + uid); in checkHoldingPermissionsLocked()
8275 if (UserHandle.getUserId(uid) != grantUri.sourceUserId) { in checkHoldingPermissionsLocked()
8281 return checkHoldingPermissionsInternalLocked(pm, pi, grantUri, uid, modeFlags, true); in checkHoldingPermissionsLocked()
8285 GrantUri grantUri, int uid, final int modeFlags, boolean considerUidPermissions) { in checkHoldingPermissionsInternalLocked() argument
8313 final String path = grantUri.uri.getPath(); in checkHoldingPermissionsInternalLocked()
8517 private UriPermission findUriPermissionLocked(int targetUid, GrantUri grantUri) { in findUriPermissionLocked() argument
8520 return targetUris.get(grantUri); in findUriPermissionLocked()
8526 String targetPkg, int targetUid, GrantUri grantUri) { in findOrCreateUriPermissionLocked() argument
8533 UriPermission perm = targetUris.get(grantUri); in findOrCreateUriPermissionLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java74 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent()
111 private static GrantedUriPermissions grantUri(IActivityManager am, Uri uri, in grantUri() method in GrantedUriPermissions
134 curPerms = grantUri(am, item.getUri(), sourceUid, targetPackage, targetUserId, in grantItem()
139 curPerms = grantUri(am, intent.getData(), sourceUid, targetPackage, targetUserId, in grantItem()