/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 315 GrantUri grantUri = new GrantUri(userId, uri, false); in takePersistableUriPermission() local 317 UriPermission exactPerm = findUriPermissionLocked(uid, grantUri); in takePersistableUriPermission() 328 + uid + " and Uri " + grantUri.toSafeString()); in takePersistableUriPermission() 474 GrantUri grantUri = perms.keyAt(i); in checkAuthorityGrants() local 475 if (grantUri.sourceUserId == userId || !checkUser) { in checkAuthorityGrants() 476 if (matchesProvider(grantUri.uri, cpi)) { in checkAuthorityGrants() 577 GrantUri grantUri = GrantUri.resolve(contentUserHint, data); in checkGrantUriPermissionFromIntent() local 578 targetUid = checkGrantUriPermission(callingUid, targetPkg, grantUri, mode, targetUid); in checkGrantUriPermissionFromIntent() 583 needed.add(grantUri); in checkGrantUriPermissionFromIntent() 590 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri); in checkGrantUriPermissionFromIntent() local [all …]
|
D | UriGrantsManagerInternal.java | 35 void grantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in grantUriPermission() argument 38 GrantUri grantUri, final int modeFlags); in revokeUriPermission() argument 39 boolean checkUriPermission(GrantUri grantUri, int uid, final int modeFlags); in checkUriPermission() argument 40 int checkGrantUriPermission(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermission() argument
|
D | UriPermissionOwner.java | 75 void removeUriPermission(GrantUri grantUri, int mode) { in removeUriPermission() argument 80 if (grantUri == null || grantUri.equals(perm.uri)) { in removeUriPermission() 95 if (grantUri == null || grantUri.equals(perm.uri)) { in removeUriPermission()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceClientPermissionsTest.java | 66 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/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 76 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag, in createFromIntent() 113 private static GrantedUriPermissions grantUri(IActivityManager am, Uri uri, in grantUri() method in GrantedUriPermissions 136 curPerms = grantUri(am, item.getUri(), sourceUid, targetPackage, targetUserId, in grantItem() 141 curPerms = grantUri(am, intent.getData(), sourceUid, targetPackage, targetUserId, in grantItem()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 267 Uri grantUri = uri.buildUpon() in grantPermissionFromUser() local 270 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId); in grantPermissionFromUser() 271 String providerPkg = getProviderPkg(grantUri, providerUser); in grantPermissionFromUser() 272 mPermissions.grantSliceAccess(pkg, userId, providerPkg, providerUser, grantUri); in grantPermissionFromUser()
|
D | SliceClientPermissions.java | 108 public void grantUri(Uri uri, PkgUser providerPkg) { in grantUri() method in SliceClientPermissions
|
D | SlicePermissionManager.java | 106 client.grantUri(uri, providerPkgUser); in grantSliceAccess()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 6184 GrantUri grantUri = new GrantUri(userId, uri, false); in grantUriPermission() local 6190 + " when granting permission to uri " + grantUri); in grantUriPermission() 6195 if (grantUri == null) { in grantUriPermission() 6204 mUgmInternal.grantUriPermission(r.uid, targetPkg, grantUri, modeFlags, null, in grantUriPermission()
|
/frameworks/base/services/ |
D | art-profile | 12976 PLcom/android/server/slice/SliceClientPermissions;->grantUri(Landroid/net/Uri;Lcom/android/server/s…
|