Searched refs:CONSTRAINT_DEADLINE (Results 1 – 5 of 5) sorted by relevance
27 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEADLINE;132 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()142 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()262 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()264 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()268 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()270 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()426 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()433 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()443 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()[all …]
681 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()682 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()683 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()691 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()692 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()693 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()701 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()702 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()703 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()740 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in testCheckExpiredDeadlinesAndResetAlarm_WithSkipping_SomeNotReady()[all …]
144 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in maybeStartTrackingJobLocked()180 && !job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE) in evaluateStateLocked()189 job, JobStatus.CONSTRAINT_DEADLINE); in evaluateStateLocked()228 || job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in canStopTrackingJobLocked()266 job, JobStatus.CONSTRAINT_DEADLINE)) { in checkExpiredDeadlinesAndResetAlarm()
78 static final int CONSTRAINT_DEADLINE = 1<<30; field in JobStatus101 | CONSTRAINT_DEADLINE414 requiredConstraints |= CONSTRAINT_DEADLINE; in JobStatus()847 return (requiredConstraints&CONSTRAINT_DEADLINE) != 0; in hasDeadlineConstraint()955 if (setConstraintSatisfied(CONSTRAINT_DEADLINE, state)) { in setDeadlineConstraintSatisfied()1078 case CONSTRAINT_DEADLINE: in wouldBeReadyWithConstraint()1101 case CONSTRAINT_DEADLINE: in wouldBeReadyWithConstraint()1296 if ((constraints&CONSTRAINT_DEADLINE) != 0) { in dumpConstraints()1337 case CONSTRAINT_DEADLINE: in getProtoConstraint()1338 return JobServerProtoEnums.CONSTRAINT_DEADLINE; in getProtoConstraint()[all …]
36 CONSTRAINT_DEADLINE = 5; enumerator