Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DTimeController.java117 mService.deriveWorkSource(job.getSourceUid(), job.getSourcePackageName()); in maybeStartTrackingJobLocked()
167 mService.deriveWorkSource(job.getSourceUid(), job.getSourcePackageName())); in evaluateStateLocked()
182 mService.deriveWorkSource(job.getSourceUid(), job.getSourcePackageName())); in evaluateStateLocked()
250 nextExpiryPackageName = job.getSourcePackageName(); in checkExpiredDeadlinesAndResetAlarm()
309 nextDelayPackageName = job.getSourcePackageName(); in checkExpiredDelaysAndResetAlarm()
DBackgroundJobsController.java210 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
253 final String sourcePkg = jobStatus.getSourcePackageName(); in dumpControllerStateLocked()
337 final String packageName = jobStatus.getSourcePackageName(); in updateSingleJobRestrictionLocked()
340 isPackageStoppedLocked(jobStatus.getSourcePackageName(), jobStatus.getSourceUid()); in updateSingleJobRestrictionLocked()
DPrefetchController.java155 final String pkgName = jobStatus.getSourcePackageName(); in maybeStartTrackingJobLocked()
175 final String pkgName = jobStatus.getSourcePackageName(); in maybeStopTrackingJobLocked()
218 final String pkgName = jobStatus.getSourcePackageName(); in getNextEstimatedLaunchTimeLocked()
339 final String pkgName = jobStatus.getSourcePackageName(); in updateConstraintLocked()
DDeviceIdleJobsController.java247 pw.print(jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
275 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, jobStatus.getSourcePackageName()); in dumpControllerStateLocked()
DFlexibilityController.java408 mJobScoreTrackers.get(jobStatus.getSourceUid(), jobStatus.getSourcePackageName()); in prepareForExecutionLocked()
411 mJobScoreTrackers.add(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), in prepareForExecutionLocked()
425 mJobScoreTrackers.get(jobStatus.getSourceUid(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked()
456 if ((js.getSourceUid() == uid && js.getSourcePackageName().equals(packageName)) in onAppRemovedLocked()
501 js.getSourceUserId(), js.getSourcePackageName())) in isFlexibilitySatisfiedLocked()
640 js.getSourceUserId(), js.getSourcePackageName(), 0L); in getLifeCycleBeginningElapsedLocked()
689 getScoreLocked(js.getSourceUid(), js.getSourcePackageName(), nowElapsed); in getLifeCycleEndElapsedLocked()
1124 (js) -> mPackagesToCheck.contains(js.getSourcePackageName()) in handleMessage()
DQuotaController.java590 final String pkgName = jobStatus.getSourcePackageName(); in maybeStartTrackingJobLocked()
635 final String packageName = jobStatus.getSourcePackageName(); in prepareForExecutionLocked()
649 Timer timer = mPkgTimers.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked()
654 timer = mEJPkgTimers.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in unprepareFromExecutionLocked()
668 final String pkgName = jobStatus.getSourcePackageName(); in maybeStopTrackingJobLocked()
799 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in getMaxJobExecutionTimeMsLocked()
809 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
814 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
819 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName())); in getMaxJobExecutionTimeMsLocked()
822 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in getMaxJobExecutionTimeMsLocked()
[all …]
DConnectivityController.java340 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), false); in maybeStartTrackingJobLocked()
360 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in prepareForExecutionLocked()
370 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in unprepareFromExecutionLocked()
385 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in maybeStopTrackingJobLocked()
501 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in evaluateStateLocked()
989 jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in isStrongEnough()
1154 getUidStats(jobStatus.getSourceUid(), jobStatus.getSourcePackageName(), true); in maybeRegisterDefaultNetworkCallbackLocked()
DJobStatus.java734 jobStatus.getSourcePackageName(), jobStatus.getSourceUserId(), in JobStatus()
796 rescheduling.getSourcePackageName(), rescheduling.getSourceUserId(), in JobStatus()
1144 public String getSourcePackageName() { in getSourcePackageName() method in JobStatus
1292 "App " + getSourcePackageName() + " became active but still in NEVER bucket"); in maybeLogBucketMismatch()
1767 getSourceUserId(), getSourcePackageName(), in getUserVisibleJobSummary()
2695 pw.print(" pkg="); pw.println(getSourcePackageName()); in dump()
3014 proto.write(JobStatusDumpProto.SOURCE_PACKAGE_NAME, getSourcePackageName()); in dump()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobPackageTracker.java471 mCurDataSet.incPending(job.getSourceUid(), job.getSourcePackageName(), now); in notePending()
476 mCurDataSet.decPending(job.getSourceUid(), job.getSourcePackageName(), now); in noteNonpending()
485 mCurDataSet.incActiveTop(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
487 mCurDataSet.incActive(job.getSourceUid(), job.getSourcePackageName(), now); in noteActive()
496 mCurDataSet.decActiveTop(job.getSourceUid(), job.getSourcePackageName(), now, in noteInactive()
499 mCurDataSet.decActive(job.getSourceUid(), job.getSourcePackageName(), now, stopReason); in noteInactive()
517 final String pkg = job.getSourcePackageName(); in getLoadFactor()
DJobConcurrencyManager.java1151 nextPending.getSourceUserId(), nextPending.getSourcePackageName()); in determineAssignmentsLocked()
1169 nextPending.getSourceUserId(), nextPending.getSourcePackageName(), in determineAssignmentsLocked()
1504 mActivePkgStats.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in isPkgConcurrencyLimitedLocked()
1525 jobStatus.getSourceUid(), jobStatus.getSourcePackageName())); in startJobLocked()
1536 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in startJobLocked()
1551 jobStatus.getSourceUserId(), jobStatus.getSourcePackageName(), in startJobLocked()
1577 mActivePkgStats.get(jobStatus.getSourceUserId(), jobStatus.getSourcePackageName()); in onJobCompletedLocked()
1943 && js.getSourcePackageName().equals(pkgName)) { in getEstimatedNetworkBytesLocked()
1962 && js.getSourcePackageName().equals(pkgName)) { in getTransferredNetworkBytesLocked()
2970 getPackageStatsForTesting(job.getSourceUserId(), job.getSourcePackageName()); in addRunningJobForTesting()
DJobServiceContext.java406 mService.deriveWorkSource(job.getSourceUid(), job.getSourcePackageName())); in executeRunnableJob()
536 final String sourcePackage = job.getSourcePackageName(); in executeRunnableJob()
718 && (pkgName == null || pkgName.equals(executing.getSourcePackageName())) in stopIfExecutingLocked()
DJobSchedulerService.java1534 if (jobsForUid.valueAt(i).getSourcePackageName().equals(pkgName)) {
2246 || (includeSourceApp && job.getSourcePackageName().equals(pkgName));
3952 && (job.getSourcePackageName().equals(oldPkg)
3953 || job.getSourcePackageName().equals(newPkg));
4001 if (job.getSourcePackageName().equals("android.jobscheduler.cts.jobtestapp")) {
4123 job.getSourceUid(), job.getSourcePackageName())) {
4170 job.getSourceUid(), job.getSourcePackageName())
4477 && "android".equals(job.getSourcePackageName())) {
DJobStore.java849 if (jobStatus.getSourcePackageName() != null) {
850 out.attribute(null, "sourcePackageName", jobStatus.getSourcePackageName());
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DUserVisibleJobSummary.java85 public String getSourcePackageName() { in getSourcePackageName() method in UserVisibleJobSummary
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java475 assertEquals("Source package not equal.", loaded.getSourcePackageName(), in testWritingTaskWithSourcePackage()
476 taskStatus.getSourcePackageName()); in testWritingTaskWithSourcePackage()
875 expected.getSourcePackageName(), actual.getSourcePackageName()); in assertJobsEqual()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DFlexibilityControllerTest.java765 .add(js.getUserId(), js.getSourcePackageName(), 500L); in testGetLifeCycleBeginningElapsedLocked_Prefetch()
1770 jobs, js.getUserId(), js.getSourcePackageName(), Long.MAX_VALUE, in testOnPrefetchCacheUpdated()
1776 .get(js.getSourceUserId(), js.getSourcePackageName())); in testOnPrefetchCacheUpdated()
1876 pkgs.add(js.getSourcePackageName()); in testUidUpdatesLifeCycle()
1882 .getOrDefault(js.getSourceUserId(), js.getSourcePackageName(), 0L)); in testUidUpdatesLifeCycle()
1890 .mPrefetchLifeCycleStart.get(js.getSourceUserId(), js.getSourcePackageName())); in testUidUpdatesLifeCycle()
DPrefetchControllerTest.java236 pkgs.add(job.getSourcePackageName()); in trackJobs()
DConnectivityControllerTest.java448 controller.onAppRemovedLocked(job.getSourcePackageName(), job.getSourceUid()); in testMeteredAllowed()
455 controller.onAppRemovedLocked(job.getSourcePackageName(), job.getSourceUid()); in testMeteredAllowed()
DQuotaControllerTest.java367 eq(job.getSourcePackageName()), eq(job.getSourceUserId()), anyLong())) in setStandbyBucket()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java703 topJob.getSourceUserId(), topJob.getSourcePackageName()); in testIsPkgConcurrencyLimited_top()
768 testReg.getSourceUserId(), testReg.getSourcePackageName()); in testIsPkgConcurrencyLimited()
/frameworks/base/services/
Dart-profile-boot204 Lcom/android/server/pm/permission/BasePermission;->getSourcePackageName()Ljava/lang/String;
Dart-profile1828 HSPLcom/android/server/job/controllers/JobStatus;->getSourcePackageName()Ljava/lang/String;
Dart-wear-profile13294 HPLcom/android/server/job/controllers/JobStatus;->getSourcePackageName()Ljava/lang/String;