Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobCountTrackerTest.java104 while ((jobs.pendingFg > 0 && mJobCountTracker.canJobStart(true)) in startPendingJobs()
105 || (jobs.pendingBg > 0 && mJobCountTracker.canJobStart(false))) { in startPendingJobs()
109 if (jobs.pendingFg > 0 && mJobCountTracker.canJobStart(true)) { in startPendingJobs()
115 if (jobs.pendingBg > 0 && mJobCountTracker.canJobStart(false)) { in startPendingJobs()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java354 if (preferredUidOkay && mJobCountTracker.canJobStart(isPendingFg)) { in assignJobsToContextsInternalLocked()
638 boolean canJobStart(boolean isFg) { in canJobStart() method in JobConcurrencyManager.JobCountTracker