/frameworks/base/services/core/java/com/android/server/am/ |
D | UriPermission.java | 48 final String targetPkg; field in UriPermission 87 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission() argument 90 this.targetPkg = targetPkg; in UriPermission() 311 pw.println(" targetPkg=" + targetPkg); in dump() 356 final String targetPkg; field in UriPermission.Snapshot 364 this.targetPkg = perm.targetPkg; in Snapshot()
|
D | ActivityManagerService.java | 7224 String targetPkg, int targetUid, GrantUri grantUri) { 7233 perm = new UriPermission(sourcePkg, targetPkg, targetUid, grantUri); 7310 int checkGrantUriPermissionLocked(int callingUid, String targetPkg, GrantUri grantUri, in checkGrantUriPermissionLocked() argument 7316 if (targetPkg != null) { in checkGrantUriPermissionLocked() 7318 "Checking grant " + targetPkg + " permission to " + grantUri); in checkGrantUriPermissionLocked() 7339 if (targetUid < 0 && targetPkg != null) { in checkGrantUriPermissionLocked() 7341 targetUid = pm.getPackageUid(targetPkg, UserHandle.getUserId(callingUid)); in checkGrantUriPermissionLocked() 7344 "Can't grant URI permission no uid for: " + targetPkg); in checkGrantUriPermissionLocked() 7357 "Target " + targetPkg + " already has full permission to " + grantUri); in checkGrantUriPermissionLocked() 7434 public int checkGrantUriPermission(int callingUid, String targetPkg, Uri uri, in checkGrantUriPermission() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.java | 234 public void grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, in grantUriPermission() argument 356 public void grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, in grantUriPermissionFromOwner() argument 361 public int checkGrantUriPermission(int callingUid, String targetPkg, Uri uri, in checkGrantUriPermission() argument
|
D | ActivityManagerNative.java | 1267 String targetPkg = data.readString(); in onTransact() local 1271 grantUriPermission(app, targetPkg, uri, mode, userId); in onTransact() 1791 String targetPkg = data.readString(); in onTransact() local 1796 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode, sourceUserId, in onTransact() 1819 String targetPkg = data.readString(); in onTransact() local 1823 int res = checkGrantUriPermission(callingUid, targetPkg, uri, modeFlags, userId); in onTransact() 4177 public void grantUriPermission(IApplicationThread caller, String targetPkg, in grantUriPermission() argument 4183 data.writeString(targetPkg); in grantUriPermission() 4848 public void grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, in grantUriPermissionFromOwner() argument 4855 data.writeString(targetPkg); in grantUriPermissionFromOwner() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 9385 final Bundle extras, final String targetPkg, final IIntentReceiver finishedReceiver, in sendPackageBroadcast() argument 9405 if (targetPkg != null) { in sendPackageBroadcast() 9406 intent.setPackage(targetPkg); in sendPackageBroadcast()
|