Searched refs:CONSTRAINT_DEADLINE (Results 1 – 6 of 6) sorted by relevance
38 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEADLINE;830 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()840 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()960 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()962 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()966 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()968 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()1124 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()1131 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()1141 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()[all …]
568 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()569 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()570 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()578 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()579 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()580 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()588 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()589 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()590 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()626 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in testCheckExpiredDeadlinesAndResetAlarm_SomeNotReady()[all …]
126 && wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in maybeStartTrackingJobLocked()153 && !job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE) in evaluateStateLocked()164 } else if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in evaluateStateLocked()203 || job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in canStopTrackingJobLocked()241 if (!wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in checkExpiredDeadlinesAndResetAlarm()
117 public static final int CONSTRAINT_DEADLINE = 1 << 30; field in JobStatus195 | CONSTRAINT_DEADLINE675 requiredConstraints |= CONSTRAINT_DEADLINE; in JobStatus()1586 return hasConstraint(CONSTRAINT_DEADLINE); in hasDeadlineConstraint()1833 if (setConstraintSatisfied(CONSTRAINT_DEADLINE, nowElapsed, state)) { in setDeadlineConstraintSatisfied()2042 case CONSTRAINT_DEADLINE: in constraintToStopReason()2254 case CONSTRAINT_DEADLINE: in readinessStatusWithConstraint()2293 case CONSTRAINT_DEADLINE: in readinessStatusWithConstraint()2528 if ((constraints & CONSTRAINT_DEADLINE) != 0) { in dumpConstraints()2575 case CONSTRAINT_DEADLINE: in getProtoConstraint()[all …]
36 CONSTRAINT_DEADLINE = 5; enumerator
2373 cancelled.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE),