Searched refs:targetPkg (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/java/com/android/server/am/ |
D | UriPermission.java | 48 final String targetPkg; field in UriPermission 86 UriPermission(String sourcePkg, String targetPkg, int targetUid, Uri uri) { in UriPermission() argument 89 this.targetPkg = targetPkg; in UriPermission() 290 pw.println(" targetPkg=" + targetPkg); in dump() 335 final String targetPkg; field in UriPermission.Snapshot 343 this.targetPkg = perm.targetPkg; in Snapshot()
|
D | ActivityManagerService.java | 5873 String sourcePkg, String targetPkg, int targetUid, Uri uri) { in findOrCreateUriPermissionLocked() argument 5882 perm = new UriPermission(sourcePkg, targetPkg, targetUid, uri); in findOrCreateUriPermissionLocked() 5934 int checkGrantUriPermissionLocked(int callingUid, String targetPkg, in checkGrantUriPermissionLocked() argument 5943 if (targetPkg != null) { in checkGrantUriPermissionLocked() 5945 "Checking grant " + targetPkg + " permission to " + uri); in checkGrantUriPermissionLocked() 5965 if (targetUid < 0 && targetPkg != null) { in checkGrantUriPermissionLocked() 5967 targetUid = pm.getPackageUid(targetPkg, UserHandle.getUserId(callingUid)); in checkGrantUriPermissionLocked() 5970 "Can't grant URI permission no uid for: " + targetPkg); in checkGrantUriPermissionLocked() 5983 "Target " + targetPkg + " already has full permission to " + uri); in checkGrantUriPermissionLocked() 6047 public int checkGrantUriPermission(int callingUid, String targetPkg, in checkGrantUriPermission() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.java | 212 public void grantUriPermission(IApplicationThread caller, String targetPkg, in grantUriPermission() argument 325 public void grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, in grantUriPermissionFromOwner() argument 330 public int checkGrantUriPermission(int callingUid, String targetPkg, in checkGrantUriPermission() argument
|
D | ActivityManagerNative.java | 1124 String targetPkg = data.readString(); in onTransact() local 1127 grantUriPermission(app, targetPkg, uri, mode); in onTransact() 1610 String targetPkg = data.readString(); in onTransact() local 1613 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode); in onTransact() 1634 String targetPkg = data.readString(); in onTransact() local 1637 int res = checkGrantUriPermission(callingUid, targetPkg, uri, modeFlags); in onTransact() 3451 public void grantUriPermission(IApplicationThread caller, String targetPkg, in grantUriPermission() argument 3457 data.writeString(targetPkg); in grantUriPermission() 4082 public void grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, in grantUriPermissionFromOwner() argument 4089 data.writeString(targetPkg); in grantUriPermissionFromOwner() [all …]
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 6287 Bundle extras, String targetPkg, IIntentReceiver finishedReceiver, in sendPackageBroadcast() argument 6301 if (targetPkg != null) { in sendPackageBroadcast() 6302 intent.setPackage(targetPkg); in sendPackageBroadcast()
|