Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DUserVisibleJobSummary.java36 @NonNull String sourcePackageName, int jobId) { in UserVisibleJobSummary() argument
39 mSourcePackageName = sourcePackageName; in UserVisibleJobSummary()
/frameworks/base/core/java/android/content/pm/
DApkChecksum.java75 @Nullable String sourcePackageName, @Nullable Certificate sourceCertificate) in ApkChecksum() argument
77 this(splitName, new Checksum(type, value), sourcePackageName, in ApkChecksum()
DIPackageManager.aidl805 boolean canPackageQuery(String sourcePackageName, String targetPackageName, int userId); in canPackageQuery() argument
DPackageManager.java10301 public boolean canPackageQuery(@NonNull String sourcePackageName, in canPackageQuery() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java195 final String sourcePackageName; field in JobStatus
465 private JobStatus(JobInfo job, int callingUid, String sourcePackageName, in JobStatus() argument
475 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus()
477 tempSourceUid = AppGlobals.getPackageManager().getPackageUid(sourcePackageName, 0, in JobStatus()
486 this.sourcePackageName = job.getService().getPackageName(); in JobStatus()
491 this.sourcePackageName = sourcePackageName; in JobStatus()
675 sourcePackageName, sourceUserId, toShortString())); in enqueueWorkLocked() local
772 uriPerms = GrantedUriPermissions.createFromClip(clip, sourceUid, sourcePackageName, in prepareLocked()
822 return sourcePackageName; in getSourcePackageName()
922 && sourcePackageName.equals(jsi.getCloudMediaProviderPackage(sourceUserId)); in updateMediaBackupExemptionStatus()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java872 String sourcePackageName = parser.getAttributeValue(null, "sourcePackageName"); in restoreJobFromXml() local
1023 if ("android".equals(sourcePackageName) in restoreJobFromXml()
1026 sourcePackageName = extras.getString("owningPackage", sourcePackageName); in restoreJobFromXml()
1029 + sourcePackageName + "'"); in restoreJobFromXml()
1034 final int appBucket = JobSchedulerService.standbyBucketForPackage(sourcePackageName, in restoreJobFromXml()
1037 builtJob, uid, sourcePackageName, sourceUserId, in restoreJobFromXml()
DJobSchedulerService.java1037 public WorkSource deriveWorkSource(int sourceUid, @Nullable String sourcePackageName) {
1041 .addNode(sourceUid, sourcePackageName)
1045 return sourcePackageName == null
1046 ? new WorkSource(sourceUid) : new WorkSource(sourceUid, sourcePackageName);
/frameworks/base/services/core/java/com/android/server/pm/
DInstallPackageHelper.java1323 final String sourcePackageName = sourceGroup.packageName; in preparePackageLI() local
1325 if ((replace || !parsedPackage.getPackageName().equals(sourcePackageName)) in preparePackageLI()
1326 && !doesSignatureMatchForPermissions(sourcePackageName, parsedPackage, in preparePackageLI()
1336 + sourcePackageName); in preparePackageLI()
1359 final String sourcePackageName = bp.getPackageName(); in preparePackageLI() local
1361 if (!doesSignatureMatchForPermissions(sourcePackageName, parsedPackage, in preparePackageLI()
1366 if (!sourcePackageName.equals("android")) { in preparePackageLI()
1372 + sourcePackageName) in preparePackageLI()
1374 sourcePackageName); in preparePackageLI() local
1777 private boolean doesSignatureMatchForPermissions(@NonNull String sourcePackageName, in doesSignatureMatchForPermissions() argument
[all …]
DIPackageManagerBase.java1160 public final boolean canPackageQuery(@NonNull String sourcePackageName, in canPackageQuery() argument
1162 return snapshot().canPackageQuery(sourcePackageName, targetPackageName, userId); in canPackageQuery()
DComputer.java510 boolean canPackageQuery(@NonNull String sourcePackageName, @NonNull String targetPackageName, in canPackageQuery() argument
DComputerEngine.java5463 public boolean canPackageQuery(@NonNull String sourcePackageName, in canPackageQuery() argument
5469 final PackageStateInternal sourceSetting = getPackageStateInternal(sourcePackageName); in canPackageQuery()
5482 + sourcePackageName + " and/or " + targetPackageName + " not found.")); in canPackageQuery()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt639 val userPackageKey = UserPackage(summary.sourceUserId, summary.sourcePackageName) in onUserVisibleJobStateChanged()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java3823 public boolean canPackageQuery(@NonNull String sourcePackageName, in canPackageQuery() argument
3825 Objects.requireNonNull(sourcePackageName); in canPackageQuery()
3828 return mPM.canPackageQuery(sourcePackageName, targetPackageName, getUserId()); in canPackageQuery()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3581 final String sourcePackageName = bp.getPackageName();
3582 return mPackageManagerInt.getPackageStateInternal(sourcePackageName);