Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java520 GrantUri grantUri = perms.keyAt(i); in checkAuthorityGrantsLocked() local
521 if (grantUri.sourceUserId == userId || !checkUser) { in checkAuthorityGrantsLocked()
522 if (matchesProvider(grantUri.uri, cpi)) { in checkAuthorityGrantsLocked()
620 GrantUri grantUri = GrantUri.resolve(contentUserHint, data, mode); in checkGrantUriPermissionFromIntentUnlocked() local
621 targetUid = checkGrantUriPermissionUnlocked(callingUid, targetPkg, grantUri, mode, in checkGrantUriPermissionFromIntentUnlocked()
627 needed.uris.add(grantUri); in checkGrantUriPermissionFromIntentUnlocked()
634 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri, mode); in checkGrantUriPermissionFromIntentUnlocked() local
636 grantUri, mode, targetUid); in checkGrantUriPermissionFromIntentUnlocked()
641 needed.uris.add(grantUri); in checkGrantUriPermissionFromIntentUnlocked()
703 final GrantUri grantUri = new GrantUri(sourceUserId, uri, in readGrantedUriPermissionsLocked() local
[all …]
DUriPermissionOwner.java77 void removeUriPermission(GrantUri grantUri, int mode) { in removeUriPermission() argument
78 removeUriPermission(grantUri, mode, null, UserHandle.USER_ALL); in removeUriPermission()
81 void removeUriPermission(GrantUri grantUri, int mode, String targetPgk, int targetUserId) { in removeUriPermission() argument
86 if (grantUri != null && !grantUri.equals(perm.uri)) { in removeUriPermission()
107 if (grantUri != null && !grantUri.equals(perm.uri)) { in removeUriPermission()
DUriGrantsManagerInternal.java38 GrantUri grantUri, final int modeFlags); in revokeUriPermission() argument
40 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() argument
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java66 client.grantUri(base.buildUpon() in testRemoveBasic()
92 client.grantUri(base.buildUpon() in testRemoveSubtrees()
96 client.grantUri(base.buildUpon() in testRemoveSubtrees()
123 client.grantUri(base.buildUpon() in testAddConsolidate_addFirst()
126 client.grantUri(base.buildUpon() in testAddConsolidate_addFirst()
150 client.grantUri(base.buildUpon() in testAddConsolidate_addSecond()
154 client.grantUri(base.buildUpon() in testAddConsolidate_addSecond()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java76 perms = grantUri(data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent()
113 private static GrantedUriPermissions grantUri(Uri uri, in grantUri() method in GrantedUriPermissions
136 curPerms = grantUri(item.getUri(), sourceUid, targetPackage, targetUserId, in grantItem()
141 curPerms = grantUri(intent.getData(), sourceUid, targetPackage, targetUserId, in grantItem()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java272 Uri grantUri = uri.buildUpon() in grantPermissionFromUser() local
275 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId); in grantPermissionFromUser()
276 String providerPkg = getProviderPkg(grantUri, providerUser); in grantPermissionFromUser()
277 mPermissions.grantSliceAccess(pkg, userId, providerPkg, providerUser, grantUri); in grantPermissionFromUser()
DSliceClientPermissions.java108 public void grantUri(Uri uri, PkgUser providerPkg) { in grantUri() method in SliceClientPermissions
DSlicePermissionManager.java106 client.grantUri(uri, providerPkgUser); in grantSliceAccess()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java5717 GrantUri grantUri = new GrantUri(userId, uri, modeFlags); in grantUriPermission() local
5723 + " when granting permission to uri " + grantUri); in grantUriPermission()
/frameworks/base/services/
Dart-profile37922 HPLcom/android/server/slice/SliceClientPermissions;->grantUri(Landroid/net/Uri;Lcom/android/server/…