Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java1896 final int workTypes = getJobWorkTypes(pending); in shouldStopRunningJobLocked() local
1897 if ((workTypes & remainingWorkTypes) > 0 in shouldStopRunningJobLocked()
1898 && mWorkCountTracker.canJobStart(workTypes, workType) != WORK_TYPE_NONE) { in shouldStopRunningJobLocked()
1902 remainingWorkTypes = remainingWorkTypes & ~workTypes; in shouldStopRunningJobLocked()
2651 void incrementPendingJobCount(int workTypes) { in incrementPendingJobCount() argument
2652 adjustPendingJobCount(workTypes, true); in incrementPendingJobCount()
2655 void decrementPendingJobCount(int workTypes) { in decrementPendingJobCount() argument
2656 if (adjustPendingJobCount(workTypes, false) > 1) { in decrementPendingJobCount()
2660 for (int workType = 1; workType <= workTypes; workType <<= 1) { in decrementPendingJobCount()
2661 if ((workType & workTypes) == workType) { in decrementPendingJobCount()
[all …]