Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java85 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
128 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
192 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()
275 nextExpiryPackageName = job.getSourcePackageName(); in checkExpiredDeadlinesAndResetAlarm()
338 nextDelayPackageName = job.getSourcePackageName(); in checkExpiredDelaysAndResetAlarm()
DJobStatus.java442 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
494 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
701 public String getSourcePackageName() { in getSourcePackageName() method in JobStatus
1451 pw.print(" pkg="); pw.println(getSourcePackageName()); in dump()
1663 proto.write(JobStatusDumpProto.SOURCE_PACKAGE_NAME, getSourcePackageName()); in dump()
DQuotaController.java608 final String pkgName = jobStatus.getSourcePackageName(); in maybeStartTrackingJobLocked()
648 final String packageName = jobStatus.getSourcePackageName(); in prepareForExecutionLocked()
662 jobStatus.getSourcePackageName()); in maybeStopTrackingJobLocked()
667 jobStatus.getSourcePackageName()); in maybeStopTrackingJobLocked()
763 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName(), standbyBucket); in isWithinQuotaLocked()
806 jobStatus.getSourcePackageName(), in getRemainingExecutionTimeLocked()
1315 final String packageName = jobStatus.getSourcePackageName(); in accept()
/frameworks/base/services/core/java/com/android/server/job/
DJobPackageTracker.java457 mCurDataSet.incPending(job.getSourceUid(), job.getSourcePackageName(), now); in notePending()
462 mCurDataSet.decPending(job.getSourceUid(), job.getSourcePackageName(), now); in noteNonpending()
471 mCurDataSet.incActiveTop(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
473 mCurDataSet.incActive(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
482 mCurDataSet.decActiveTop(job.getSourceUid(), job.getSourcePackageName(), now, in noteInactive()
485 mCurDataSet.decActive(job.getSourceUid(), job.getSourcePackageName(), now, stopReason); in noteInactive()
503 final String pkg = job.getSourcePackageName(); in getLoadFactor()
DJobServiceContext.java283 final String jobPackage = job.getSourcePackageName(); in executeRunnableJob()
344 && (pkgName == null || pkgName.equals(executing.getSourcePackageName())) in timeoutIfExecutingLocked()
DJobStore.java477 if (jobStatus.getSourcePackageName() != null) {
478 out.attribute(null, "sourcePackageName", jobStatus.getSourcePackageName());
DJobSchedulerService.java895 if (jobsForUid.get(i).getSourcePackageName().equals(pkgName)) {
1136 if (job.getSourcePackageName().equals(pkgName)) { in cancelJobsForPackageAndUid()
1764 return heartbeatWhenJobsLastRun(job.getSourcePackageName(), job.getSourceUserId()); in heartbeatWhenJobsLastRun()
2237 if (job.getSourcePackageName().equals("android.jobscheduler.cts.jobtestapp")) { in isReadyToBeExecutedLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java819 bp = new BasePermission(info.name, tree.getSourcePackageName(), in addDynamicPermission()
1156 bp.getSourcePackageName())) { in restorePermissionState()
1671 boolean platformPermission = PLATFORM_PACKAGE_NAME.equals(bp.getSourcePackageName()); in grantSignaturePermission()
2679 if (packageName != null && packageName.equals(bp.getSourcePackageName()) in updatePermissions()
2682 + " from package " + bp.getSourcePackageName()); in updatePermissions()
2735 mPackageManagerInt.getPackage(bp.getSourcePackageName()); in updatePermissions()
2745 + " from package " + bp.getSourcePackageName()); in updatePermissions()
2761 if (packageName != null && packageName.equals(bp.getSourcePackageName()) in updatePermissionTrees()
2764 + " from package " + bp.getSourcePackageName()); in updatePermissionTrees()
2779 mPackageManagerInt.getPackage(bp.getSourcePackageName()); in updatePermissionTrees()
[all …]
DBasePermission.java128 public String getSourcePackageName() { in getSourcePackageName() method in BasePermission
316 + 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.java277 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java17033 final String sourcePackageName = bp.getSourcePackageName();
/frameworks/base/services/
Dart-profile11991 PLcom/android/server/pm/permission/BasePermission;->getSourcePackageName()Ljava/lang/String;