Searched refs:CONSTRAINT_TIMING_DELAY (Results 1 – 5 of 5) sorted by relevance
604 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 …]
31 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()
141 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()
77 static final int CONSTRAINT_TIMING_DELAY = 1<<31; field in JobStatus104 | CONSTRAINT_TIMING_DELAY411 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_CONNECTIVITY1135 | 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 …]
35 CONSTRAINT_TIMING_DELAY = 4; enumerator