Searched refs:sourcePackageName (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 84 String sourcePackageName; field in BasePermission 109 sourcePackageName = _sourcePackageName; in BasePermission() 128 return sourcePackageName; in getSourcePackageName() 237 if (!origPackageName.equals(sourcePackageName)) { in transfer() 240 sourcePackageName = newPackageName; in transfer() 289 if (bp != null && !Objects.equals(bp.sourcePackageName, p.info.packageName)) { in createOrUpdate() 298 bp.sourcePackageName = p.info.packageName; in createOrUpdate() 302 + p.info.name + " is system; overriding " + bp.sourcePackageName; in createOrUpdate() 313 if (bp.sourcePackageName == null in createOrUpdate() 314 || bp.sourcePackageName.equals(p.info.packageName)) { in createOrUpdate() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 110 final String sourcePackageName; field in JobStatus 298 private JobStatus(JobInfo job, int callingUid, int targetSdkVersion, String sourcePackageName, in JobStatus() argument 309 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus() 311 tempSourceUid = AppGlobals.getPackageManager().getPackageUid(sourcePackageName, 0, in JobStatus() 320 this.sourcePackageName = job.getService().getPackageName(); in JobStatus() 325 this.sourcePackageName = sourcePackageName; in JobStatus() 476 sourcePackageName, sourceUserId, toShortString())); in enqueueWorkLocked() 573 uriPerms = GrantedUriPermissions.createFromClip(am, clip, sourceUid, sourcePackageName, in prepareLocked() 627 return sourcePackageName; in getSourcePackageName()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 737 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml() local 856 if ("android".equals(sourcePackageName) in restoreJobFromXml() 859 sourcePackageName = extras.getString("owningPackage", sourcePackageName); in restoreJobFromXml() 862 + sourcePackageName + "'"); in restoreJobFromXml() 868 final int appBucket = JobSchedulerService.standbyBucketForPackage(sourcePackageName, in restoreJobFromXml() 872 jobBuilder.build(), uid, sourcePackageName, sourceUserId, in restoreJobFromXml()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 17331 final String sourcePackageName = bp.getSourcePackageName(); 17334 if (sourcePackageName.equals(pkg.packageName) 17363 if (!sourcePackageName.equals("android")) { 17366 + perm.info.name + " already owned by " + sourcePackageName); 17368 res.origPackage = sourcePackageName;
|