Home
last modified time | relevance | path

Searched refs:getSourcePackageName (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBackgroundJobsController.java87 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
129 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
188 final String packageName = jobStatus.getSourcePackageName(); in updateSingleJobRestrictionLocked()
DDeviceIdleJobsController.java242 pw.print(jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
270 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
DTimeController.java135 WorkSource ws = deriveWorkSource(job.getSourceUid(), job.getSourcePackageName()); in maybeStartTrackingJobLocked()
265 nextExpiryPackageName = job.getSourcePackageName(); in checkExpiredDeadlinesAndResetAlarm()
326 nextDelayPackageName = job.getSourcePackageName(); in checkExpiredDelaysAndResetAlarm()
DJobStatus.java500 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
552 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
751 public String getSourcePackageName() { in getSourcePackageName() method in JobStatus
1617 pw.print(" pkg="); pw.println(getSourcePackageName()); in dump()
1849 proto.write(JobStatusDumpProto.SOURCE_PACKAGE_NAME, getSourcePackageName()); in dump()
DQuotaController.java521 final String pkgName = jobStatus.getSourcePackageName(); in maybeStartTrackingJobLocked()
553 final String packageName = jobStatus.getSourcePackageName(); in prepareForExecutionLocked()
567 jobStatus.getSourcePackageName()); in maybeStopTrackingJobLocked()
572 jobStatus.getSourcePackageName()); in maybeStopTrackingJobLocked()
652 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName(), standbyBucket); in isWithinQuotaLocked()
697 jobStatus.getSourcePackageName(), in getRemainingExecutionTimeLocked()
1235 final String packageName = jobStatus.getSourcePackageName(); in accept()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobPackageTracker.java458 mCurDataSet.incPending(job.getSourceUid(), job.getSourcePackageName(), now); in notePending()
463 mCurDataSet.decPending(job.getSourceUid(), job.getSourcePackageName(), now); in noteNonpending()
472 mCurDataSet.incActiveTop(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
474 mCurDataSet.incActive(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
483 mCurDataSet.decActiveTop(job.getSourceUid(), job.getSourcePackageName(), now, in noteInactive()
486 mCurDataSet.decActive(job.getSourceUid(), job.getSourcePackageName(), now, stopReason); in noteInactive()
504 final String pkg = job.getSourcePackageName(); in getLoadFactor()
DJobServiceContext.java295 final String jobPackage = job.getSourcePackageName(); in executeRunnableJob()
353 && (pkgName == null || pkgName.equals(executing.getSourcePackageName())) in timeoutIfExecutingLocked()
DJobStore.java488 if (jobStatus.getSourcePackageName() != null) {
489 out.attribute(null, "sourcePackageName", jobStatus.getSourcePackageName());
DJobSchedulerService.java907 if (jobsForUid.get(i).getSourcePackageName().equals(pkgName)) {
1209 if (job.getSourcePackageName().equals(pkgName)) {
2223 if (job.getSourcePackageName().equals("android.jobscheduler.cts.jobtestapp")) {
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java609 bp = new BasePermission(info.name, tree.getSourcePackageName(), in addPermission()
2549 if (Objects.equals(permission.getSourcePackageName(), PLATFORM_PACKAGE_NAME) in restorePermissionState()
2833 bp.getSourcePackageName())) { in restorePermissionState()
3423 boolean platformPermission = PLATFORM_PACKAGE_NAME.equals(bp.getSourcePackageName()); in grantSignaturePermission()
3679 final String sourcePackageName = bp.getSourcePackageName(); in getSourcePackageSetting()
4204 if (!packageName.equals(bp.getSourcePackageName())) { in updatePermissionSourcePackage()
4217 + " that used to be declared by " + bp.getSourcePackageName()); in updatePermissionSourcePackage()
4239 mPackageManagerInt.getPackage(bp.getSourcePackageName()); in updatePermissionSourcePackage()
4242 bp.getSourcePackageName()); in updatePermissionSourcePackage()
4248 + " from package " + bp.getSourcePackageName()); in updatePermissionSourcePackage()
[all …]
DBasePermission.java126 public String getSourcePackageName() { in getSourcePackageName() method in BasePermission
306 + getName() + " pkg=" + getSourcePackageName() in updateDynamicPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java234 assertEquals("Source package not equal.", loaded.getSourcePackageName(), in testWritingTaskWithSourcePackage()
235 taskStatus.getSourcePackageName()); in testWritingTaskWithSourcePackage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java279 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()
/frameworks/base/services/
Dart-profile-boot204 Lcom/android/server/pm/permission/BasePermission;->getSourcePackageName()Ljava/lang/String;
Dart-profile27243 HSPLcom/android/server/pm/permission/BasePermission;->getSourcePackageName()Ljava/lang/String;