Searched refs:grantUri (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermissionOwner.java73 void removeUriPermissionLocked(ActivityManagerService.GrantUri grantUri, int mode) { argument
79 if (grantUri == null || grantUri.equals(perm.uri)) {
94 if (grantUri == null || grantUri.equals(perm.uri)) {
H A DActivityManagerService.java9204 IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) {
9206 "checkHoldingPermissionsLocked: uri=" + grantUri + " uid=" + uid);
9207 if (UserHandle.getUserId(uid) != grantUri.sourceUserId) {
9213 return checkHoldingPermissionsInternalLocked(pm, pi, grantUri, uid, modeFlags, true);
9217 GrantUri grantUri, int uid, final int modeFlags, boolean considerUidPermissions) {
9245 final String path = grantUri.uri.getPath();
9471 private UriPermission findUriPermissionLocked(int targetUid, GrantUri grantUri) { argument
9474 return targetUris.get(grantUri);
9481 String targetPkg, int targetUid, GrantUri grantUri) {
9488 UriPermission perm = targetUris.get(grantUri);
9203 checkHoldingPermissionsLocked( IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags) argument
9216 checkHoldingPermissionsInternalLocked(IPackageManager pm, ProviderInfo pi, GrantUri grantUri, int uid, final int modeFlags, boolean considerUidPermissions) argument
9480 findOrCreateUriPermissionLocked(String sourcePkg, String targetPkg, int targetUid, GrantUri grantUri) argument
9498 checkUriPermissionLocked(GrantUri grantUri, int uid, final int modeFlags) argument
9569 checkGrantUriPermissionLocked(int callingUid, String targetPkg, GrantUri grantUri, final int modeFlags, int lastTargetUid) argument
9751 grantUriPermissionUncheckedLocked(int targetUid, String targetPkg, GrantUri grantUri, final int modeFlags, UriPermissionOwner owner) argument
9781 grantUriPermissionLocked(int callingUid, String targetPkg, GrantUri grantUri, final int modeFlags, UriPermissionOwner owner, int targetUserId) argument
9994 revokeUriPermissionLocked(String targetPackage, int callingUid, GrantUri grantUri, final int modeFlags) argument
[all...]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
H A DSliceClientPermissionsTest.java65 client.grantUri(base.buildUpon()
91 client.grantUri(base.buildUpon()
95 client.grantUri(base.buildUpon()
122 client.grantUri(base.buildUpon()
125 client.grantUri(base.buildUpon()
149 client.grantUri(base.buildUpon()
153 client.grantUri(base.buildUpon()
/frameworks/base/services/core/java/com/android/server/job/
H A DGrantedUriPermissions.java75 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag,
112 private static GrantedUriPermissions grantUri(IActivityManager am, Uri uri, method in class:GrantedUriPermissions
135 curPerms = grantUri(am, item.getUri(), sourceUid, targetPackage, targetUserId,
140 curPerms = grantUri(am, intent.getData(), sourceUid, targetPackage, targetUserId,
/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceManagerService.java268 Uri grantUri = uri.buildUpon()
271 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId);
272 String providerPkg = getProviderPkg(grantUri, providerUser);
273 mPermissions.grantSliceAccess(pkg, userId, providerPkg, providerUser, grantUri);
H A DSliceClientPermissions.java108 public void grantUri(Uri uri, PkgUser providerPkg) { method in class:SliceClientPermissions
H A DSlicePermissionManager.java106 client.grantUri(uri, providerPkgUser);

Completed in 54 milliseconds