Searched refs:CONSTRAINT_TIMING_DELAY (Results 1 – 6 of 6) sorted by relevance
456 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()457 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()458 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()467 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()468 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()477 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()478 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in runTestCheckExpiredDelaysAndResetAlarm()514 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in testCheckExpiredDelaysAndResetAlarm_SomeNotReady()515 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in testCheckExpiredDelaysAndResetAlarm_SomeNotReady()525 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)); in testCheckExpiredDelaysAndResetAlarm_SomeNotReady()[all …]
41 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_TIMING_DELAY;747 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()757 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()857 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()859 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()863 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()865 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_RequestedTimingDelay()1197 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1209 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1221 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_TIMING_DELAY)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()[all …]
126 && wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in maybeStartTrackingJobLocked()175 && !job.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY) in evaluateStateLocked()183 } else if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in evaluateStateLocked()205 || job.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY)) in canStopTrackingJobLocked()301 if (!wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in checkExpiredDelaysAndResetAlarm()
118 public static final int CONSTRAINT_TIMING_DELAY = 1 << 31; field in JobStatus204 | CONSTRAINT_TIMING_DELAY638 requiredConstraints |= CONSTRAINT_TIMING_DELAY; in JobStatus()1471 return hasConstraint(CONSTRAINT_TIMING_DELAY); in hasTimingDelayConstraint()1951 case CONSTRAINT_TIMING_DELAY: in constraintToStopReason()2031 if ((CONSTRAINT_TIMING_DELAY & unsatisfiedConstraints) != 0) { in getPendingJobReason()2443 if ((constraints & CONSTRAINT_TIMING_DELAY) != 0) { in dumpConstraints()2510 case CONSTRAINT_TIMING_DELAY: in getProtoConstraint()2511 return JobServerProtoEnums.CONSTRAINT_TIMING_DELAY; in getProtoConstraint()2530 if ((constraints & CONSTRAINT_TIMING_DELAY) != 0) { in dumpConstraints()[all …]
496 job.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY), in executeRunnableJob()1557 completedJob.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY), in closeAndCleanupJobLocked()
2216 cancelled.isConstraintSatisfied(JobStatus.CONSTRAINT_TIMING_DELAY),