Home
last modified time | relevance | path

Searched refs:mJobCountTracker (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobCountTrackerTest.java43 private JobCountTracker mJobCountTracker; field in JobCountTrackerTest
48 mJobCountTracker = new JobCountTracker(); in setUp()
86 mJobCountTracker.reset(totalMax, maxBg, minBg); in startPendingJobs()
89 mJobCountTracker.incrementRunningJobCount(true); in startPendingJobs()
92 mJobCountTracker.incrementRunningJobCount(false); in startPendingJobs()
96 mJobCountTracker.incrementPendingJobCount(true); in startPendingJobs()
99 mJobCountTracker.incrementPendingJobCount(false); in startPendingJobs()
102 mJobCountTracker.onCountDone(); in startPendingJobs()
104 while ((jobs.pendingFg > 0 && mJobCountTracker.canJobStart(true)) in startPendingJobs()
105 || (jobs.pendingBg > 0 && mJobCountTracker.canJobStart(false))) { in startPendingJobs()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java85 private final JobCountTracker mJobCountTracker = new JobCountTracker(); field in JobConcurrencyManager
292 mJobCountTracker.reset( in assignJobsToContextsInternalLocked()
302 mJobCountTracker.incrementRunningJobCount(isFgJob(status)); in assignJobsToContextsInternalLocked()
325 mJobCountTracker.incrementPendingJobCount(isFgJob(pending)); in assignJobsToContextsInternalLocked()
328 mJobCountTracker.onCountDone(); in assignJobsToContextsInternalLocked()
354 if (preferredUidOkay && mJobCountTracker.canJobStart(isPendingFg)) { in assignJobsToContextsInternalLocked()
390 mJobCountTracker.onStartingNewJob(isPendingFg); in assignJobsToContextsInternalLocked()
397 mJobCountTracker.logStatus(); in assignJobsToContextsInternalLocked()
399 tracker.noteConcurrency(mJobCountTracker.getTotalRunningJobCountToNote(), in assignJobsToContextsInternalLocked()
400 mJobCountTracker.getFgRunningJobCountToNote()); in assignJobsToContextsInternalLocked()
[all …]