Searched refs:CONSTRAINT_WITHIN_QUOTA (Results 1 – 6 of 6) sorted by relevance
121 static final int CONSTRAINT_WITHIN_QUOTA = 1 << 24; // Implicit constraint field in JobStatus130 | CONSTRAINT_WITHIN_QUOTA;198 | CONSTRAINT_WITHIN_QUOTA;1882 if (setConstraintSatisfied(CONSTRAINT_WITHIN_QUOTA, nowElapsed, state)) { in setQuotaConstraintSatisfied()2032 case CONSTRAINT_WITHIN_QUOTA: in constraintToStopReason()2123 if ((CONSTRAINT_WITHIN_QUOTA & unsatisfiedConstraints) != 0) { in getPendingJobReason()2189 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in addDynamicConstraints()2192 constraints &= ~CONSTRAINT_WITHIN_QUOTA; in addDynamicConstraints()2262 case CONSTRAINT_WITHIN_QUOTA: in readinessStatusWithConstraint()2299 case CONSTRAINT_WITHIN_QUOTA: in readinessStatusWithConstraint()[all …]
1007 && (!jobStatus.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA))) { in isStrictSatisfied()
4581 } else if (js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)) { in dumpControllerStateLocked()4728 js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in dumpControllerStateLocked()
41 CONSTRAINT_WITHIN_QUOTA = 10; enumerator
44 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_WITHIN_QUOTA;1234 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1236 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1240 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1242 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()
2226 assertTrue(jobRunning.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testIsWithinQuotaLocked_UnderDuration_OverJobCountInWindow()2229 assertFalse(jobPending.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testIsWithinQuotaLocked_UnderDuration_OverJobCountInWindow()4605 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4606 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4622 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4623 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4624 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4629 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4630 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4631 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()[all …]