Home
last modified time | relevance | path

Searched refs:sourcePackageName (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DBasePermission.java86 String sourcePackageName; field in BasePermission
108 sourcePackageName = _sourcePackageName; in BasePermission()
127 return sourcePackageName; in getSourcePackageName()
276 if (!origPackageName.equals(sourcePackageName)) { in transfer()
279 sourcePackageName = newPackageName; in transfer()
325 if (bp != null && !Objects.equals(bp.sourcePackageName, p.getPackageName())) { in createOrUpdate()
345 bp.sourcePackageName = p.getPackageName(); in createOrUpdate()
348 + p.getName() + " is system; overriding " + bp.sourcePackageName; in createOrUpdate()
359 if (bp.sourcePackageName == null in createOrUpdate()
360 || bp.sourcePackageName.equals(p.getPackageName())) { in createOrUpdate()
[all …]
DPermissionManagerService.java3679 final String sourcePackageName = bp.getSourcePackageName(); in getSourcePackageSetting() local
3680 return mPackageManagerInt.getPackageSetting(sourcePackageName); in getSourcePackageSetting()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java167 final String sourcePackageName; field in JobStatus
407 private JobStatus(JobInfo job, int callingUid, String sourcePackageName, in JobStatus() argument
416 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus()
418 tempSourceUid = AppGlobals.getPackageManager().getPackageUid(sourcePackageName, 0, in JobStatus()
427 this.sourcePackageName = job.getService().getPackageName(); in JobStatus()
432 this.sourcePackageName = sourcePackageName; in JobStatus()
493 && requiresNetwork && this.sourcePackageName.equals(jsi.getMediaBackupPackage()); in JobStatus()
605 sourcePackageName, sourceUserId, toShortString())); in enqueueWorkLocked() local
702 uriPerms = GrantedUriPermissions.createFromClip(clip, sourceUid, sourcePackageName, in prepareLocked()
752 return sourcePackageName; in getSourcePackageName()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java801 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml() local
929 if ("android".equals(sourcePackageName) in restoreJobFromXml()
932 sourcePackageName = extras.getString("owningPackage", sourcePackageName); in restoreJobFromXml()
935 + sourcePackageName + "'"); in restoreJobFromXml()
941 final int appBucket = JobSchedulerService.standbyBucketForPackage(sourcePackageName, in restoreJobFromXml()
944 jobBuilder.build(), uid, sourcePackageName, sourceUserId, in restoreJobFromXml()