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.java564 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
565 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
566 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
574 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
575 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
576 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
584 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
585 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
586 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()
623 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