Home
last modified time | relevance | path

Searched defs:workType (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobConcurrencyManager.java144 static String workTypeToString(@WorkType int workType) { in workTypeToString()
804 @WorkType final int workType) { in startJobLocked()
834 @WorkType final int workType) { in onJobCompletedLocked()
1393 int getMax(@WorkType int workType) { in getMax()
1397 int getMinReserved(@WorkType int workType) { in getMinReserved()
1546 void incrementRunningJobCount(@WorkType int workType) { in incrementRunningJobCount()
1594 void onStagedJobFailed(@WorkType int workType) { in onStagedJobFailed()
1637 void onJobStarted(@WorkType int workType) { in onJobStarted()
1649 void onJobFinished(@WorkType int workType) { in onJobFinished()
1738 int getPendingJobCount(@WorkType final int workType) { in getPendingJobCount()
[all …]
H A DJobServiceContext.java231 boolean executeRunnableJob(JobStatus job, @JobConcurrencyManager.WorkType int workType) { in executeRunnableJob()
976 final int workType = mRunningJobWorkType; in closeAndCleanupJobLocked() local
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DWorkCountTrackerTest.java182 final int workType = running.keyAt(i); in maybeFinishJobs() local
201 final int workType = jobs.running.keyAt(i); in recount() local
209 final int workType = jobs.pending.keyAt(i); in recount() local
230 private int getPendingMultiType(Jobs jobs, @JobConcurrencyManager.WorkType int workType) { in getPendingMultiType()
241 final int workType = getRandomWorkType(EQUAL_PROBABILITY_CDF, mRandom.nextDouble()); in startPendingJobs() local