Home
last modified time | relevance | path

Searched refs:CONSTRAINT_DEADLINE (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DTimeControllerTest.java560 assertTrue(jobEarliest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
561 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
562 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
571 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
572 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
581 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
582 assertTrue(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in runTestCheckExpiredDeadlinesAndResetAlarm()
618 assertFalse(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in testCheckExpiredDeadlinesAndResetAlarm_SomeNotReady()
619 assertFalse(jobLatest.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in testCheckExpiredDeadlinesAndResetAlarm_SomeNotReady()
629 assertTrue(jobMiddle.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in testCheckExpiredDeadlinesAndResetAlarm_SomeNotReady()
[all …]
H A DJobStatusTest.java36 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEADLINE;
758 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
878 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()
880 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedOverrideDeadline()
1059 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
1070 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
1078 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
1088 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
1098 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
1106 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEADLINE)); in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DTimeController.java130 && wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in maybeStartTrackingJobLocked()
157 && !job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE) in evaluateStateLocked()
168 } else if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in evaluateStateLocked()
207 || job.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE)); in canStopTrackingJobLocked()
245 if (!wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in checkExpiredDeadlinesAndResetAlarm()
H A DJobStatus.java119 public static final int CONSTRAINT_DEADLINE = 1 << 30; field in JobStatus
201 | CONSTRAINT_DEADLINE
641 requiredConstraints |= CONSTRAINT_DEADLINE; in JobStatus()
1475 return hasConstraint(CONSTRAINT_DEADLINE); in hasDeadlineConstraint()
1950 case CONSTRAINT_DEADLINE: in constraintToStopReason()
2165 case CONSTRAINT_DEADLINE: in readinessStatusWithConstraint()
2208 case CONSTRAINT_DEADLINE: in readinessStatusWithConstraint()
2446 if ((constraints & CONSTRAINT_DEADLINE) != 0) { in dumpConstraints()
2496 case CONSTRAINT_DEADLINE: in getProtoConstraint()
2497 return JobServerProtoEnums.CONSTRAINT_DEADLINE; in getProtoConstraint()
[all …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java2212 cancelled.isConstraintSatisfied(JobStatus.CONSTRAINT_DEADLINE),