Searched refs:workType (Results 1 – 4 of 4) sorted by relevance
207 static String workTypeToString(@WorkType int workType) { in workTypeToString() argument208 switch (workType) { in workTypeToString()226 return "WORK(" + workType + ")"; in workTypeToString()854 assignment.workType = jsc.getRunningJobWorkType(); in prepareForAssignmentDeterminationLocked()967 int workType = mWorkCountTracker.canJobStart(allWorkTypes); in determineAssignmentsLocked() local968 if (preferredUidOkay && pkgConcurrencyOkay && workType != WORK_TYPE_NONE) { in determineAssignmentsLocked()975 assignment.newWorkType = workType; in determineAssignmentsLocked()1100 final int workType = mWorkCountTracker.canJobStart(allWorkTypes); in determineAssignmentsLocked() local1102 (workType != WORK_TYPE_NONE) ? workType : WORK_TYPE_TOP; in determineAssignmentsLocked()1136 final int workType = mWorkCountTracker.canJobStart(allWorkTypes); in determineAssignmentsLocked() local[all …]
341 boolean executeRunnableJob(JobStatus job, @JobConcurrencyManager.WorkType int workType) { in executeRunnableJob() argument351 mRunningJobWorkType = workType; in executeRunnableJob()1614 final int workType = mRunningJobWorkType; in closeAndCleanupJobLocked() local1639 mJobConcurrencyManager.onJobCompletedLocked(this, completedJob, workType); in closeAndCleanupJobLocked()
170 final int workType = running.keyAt(i); in maybeFinishJobs() local173 running.put(workType, running.get(workType) - 1); in maybeFinishJobs()174 mWorkCountTracker.onJobFinished(workType); in maybeFinishJobs()189 final int workType = jobs.running.keyAt(i); in recount() local193 mWorkCountTracker.incrementRunningJobCount(workType); in recount()197 final int workType = jobs.pending.keyAt(i); in recount() local201 mWorkCountTracker.incrementPendingJobCount(workType); in recount()218 private int getPendingMultiType(Jobs jobs, @JobConcurrencyManager.WorkType int workType) { in getPendingMultiType() argument220 if ((multiType & workType) != 0) { in getPendingMultiType()224 throw new IllegalStateException("No pending multi type with work type: " + workType); in getPendingMultiType()[all …]
996 private TypeConfig(@JobConcurrencyManager.WorkType int workType, int min, int max) { in TypeConfig() argument997 switch (workType) { in TypeConfig()1021 throw new IllegalArgumentException("invalid work type: " + workType); in TypeConfig()