Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DTimeControllerTest.java604 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
605 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
606 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
614 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
615 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
616 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
624 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
625 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
626 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
663 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in testCheckExpiredDelaysAndResetAlarm_WithSkipping_SomeNotReady()
[all …]
DJobStatusTest.java31 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_TIMING_DELAY;
131 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
141 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
241 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()
243 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()
247 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()
249 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java141 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in maybeStartTrackingJobLocked()
196 && !job.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY) in evaluateStateLocked()
204 job, JobStatus.CONSTRAINT_TIMING_DELAY); in evaluateStateLocked()
226 || job.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)) in canStopTrackingJobLocked()
326 job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in checkExpiredDelaysAndResetAlarm()
DJobStatus.java77 static final int CONSTRAINT_TIMING_DELAY = 1<<31; field in JobStatus
104 | CONSTRAINT_TIMING_DELAY
411 requiredConstraints |= CONSTRAINT_TIMING_DELAY; in JobStatus()
843 return (requiredConstraints&CONSTRAINT_TIMING_DELAY) != 0; in hasTimingDelayConstraint()
950 return setConstraintSatisfied(CONSTRAINT_TIMING_DELAY, state); in setTimingDelayConstraintSatisfied()
1129 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY
1135 | CONSTRAINT_TIMING_DELAY | CONSTRAINT_IDLE;
1293 if ((constraints&CONSTRAINT_TIMING_DELAY) != 0) { in dumpConstraints()
1345 case CONSTRAINT_TIMING_DELAY: in getProtoConstraint()
1346 return JobServerProtoEnums.CONSTRAINT_TIMING_DELAY; in getProtoConstraint()
[all …]
/frameworks/base/core/proto/android/server/job/
Denums.proto35 CONSTRAINT_TIMING_DELAY = 4; enumerator