Searched refs:CONSTRAINT_WITHIN_QUOTA (Results 1 – 5 of 5) sorted by relevance
133 | CONSTRAINT_WITHIN_QUOTA;205 | CONSTRAINT_WITHIN_QUOTA;1945 case CONSTRAINT_WITHIN_QUOTA: in constraintToStopReason()2095 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in addDynamicConstraints()2098 constraints &= ~CONSTRAINT_WITHIN_QUOTA; in addDynamicConstraints()2177 case CONSTRAINT_WITHIN_QUOTA: in readinessStatusWithConstraint()2217 case CONSTRAINT_WITHIN_QUOTA: in readinessStatusWithConstraint()2473 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in dumpConstraints()2512 case CONSTRAINT_WITHIN_QUOTA: in getProtoConstraint()2513 return JobServerProtoEnums.CONSTRAINT_WITHIN_QUOTA; in getProtoConstraint()[all …]
910 && (!jobStatus.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA) in isStrictSatisfied()
4489 } else if (js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)) {4636 js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA));
42 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_WITHIN_QUOTA;1152 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1154 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1158 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()1160 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()
4491 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4492 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4508 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4509 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4510 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4515 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4516 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4517 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4525 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4526 assertFalse(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()[all …]