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.java85 String sourcePackageName; field in BasePermission
110 sourcePackageName = _sourcePackageName; in BasePermission()
129 return sourcePackageName; in getSourcePackageName()
281 if (!origPackageName.equals(sourcePackageName)) { in transfer()
284 sourcePackageName = newPackageName; in transfer()
333 if (bp != null && !Objects.equals(bp.sourcePackageName, p.info.packageName)) { in createOrUpdate()
342 bp.sourcePackageName = p.info.packageName; in createOrUpdate()
346 + p.info.name + " is system; overriding " + bp.sourcePackageName; in createOrUpdate()
357 if (bp.sourcePackageName == null in createOrUpdate()
358 || bp.sourcePackageName.equals(p.info.packageName)) { in createOrUpdate()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java140 final String sourcePackageName; field in JobStatus
365 private JobStatus(JobInfo job, int callingUid, int targetSdkVersion, String sourcePackageName, in JobStatus() argument
376 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus()
378 tempSourceUid = AppGlobals.getPackageManager().getPackageUid(sourcePackageName, 0, in JobStatus()
387 this.sourcePackageName = job.getService().getPackageName(); in JobStatus()
392 this.sourcePackageName = sourcePackageName; in JobStatus()
551 sourcePackageName, sourceUserId, toShortString())); in enqueueWorkLocked()
648 uriPerms = GrantedUriPermissions.createFromClip(am, clip, sourceUid, sourcePackageName, in prepareLocked()
702 return sourcePackageName; in getSourcePackageName()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java791 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml() local
919 if ("android".equals(sourcePackageName) in restoreJobFromXml()
922 sourcePackageName = extras.getString("owningPackage", sourcePackageName); in restoreJobFromXml()
925 + sourcePackageName + "'"); in restoreJobFromXml()
931 final int appBucket = JobSchedulerService.standbyBucketForPackage(sourcePackageName, in restoreJobFromXml()
935 jobBuilder.build(), uid, sourcePackageName, sourceUserId, in restoreJobFromXml()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17535 final String sourcePackageName = bp.getSourcePackageName();
17538 if (sourcePackageName.equals(pkg.packageName)
17567 if (!sourcePackageName.equals("android")) {
17572 + sourcePackageName)
17574 sourcePackageName);