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()
284 if (!origPackageName.equals(sourcePackageName)) { in transfer()
287 sourcePackageName = newPackageName; in transfer()
336 if (bp != null && !Objects.equals(bp.sourcePackageName, p.info.packageName)) { in createOrUpdate()
345 bp.sourcePackageName = p.info.packageName; in createOrUpdate()
349 + p.info.name + " is system; overriding " + bp.sourcePackageName; in createOrUpdate()
360 if (bp.sourcePackageName == null in createOrUpdate()
361 || 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.java17033 final String sourcePackageName = bp.getSourcePackageName();
17036 if (sourcePackageName.equals(pkg.packageName)
17065 if (!sourcePackageName.equals("android")) {
17070 + sourcePackageName)
17072 sourcePackageName);