Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DPendingJobQueue.java190 || (job != null && earliestQueue.peekNextOverrideState() != job.overrideState) in next()
273 if (job1.overrideState != job2.overrideState) {
276 return Integer.compare(job2.overrideState, job1.overrideState);
426 return mJobs.get(mCurIndex).job.overrideState; in peekNextOverrideState()
DJobSchedulerService.java3637 if (job.overrideState > JobStatus.OVERRIDE_NONE) {
5359 js.overrideState = (force) ? JobStatus.OVERRIDE_FULL
5383 js.overrideState = JobStatus.OVERRIDE_NONE;
5405 js.overrideState = JobStatus.OVERRIDE_NONE;
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerShellCommand.java77 Optional<DeviceState> overrideState = mService.getOverrideState(); in printAllStates() local
80 if (overrideState.isPresent()) { in printAllStates()
83 pw.println("Override state: " + overrideState.get()); in printAllStates()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DPendingJobQueueTest.java573 job.overrideState = random.nextInt(4); in testPendingJobSortingTransitivity()
599 job.overrideState = random.nextFloat() < .01 in testPendingJobSortingTransitivity_Concentrated()
653 job.overrideState = random.nextInt(4);
684 job.overrideState = random.nextFloat() < .01
719 if (prevOverrideState != job.overrideState) {
721 assertTrue(prevOverrideState > job.overrideState);
729 prevOverrideState = job.overrideState;
789 + "/o" + job.overrideState
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java478 public int overrideState = JobStatus.OVERRIDE_NONE; field in JobStatus
2355 if (overrideState == OVERRIDE_FULL) { in isConstraintsSatisfied()
2361 if (overrideState == OVERRIDE_SOFT) { in isConstraintsSatisfied()