Searched refs:CONSTRAINT_WITHIN_QUOTA (Results 1 – 5 of 5) sorted by relevance
82 static final int CONSTRAINT_WITHIN_QUOTA = 1 << 24; // Implicit constraint field in JobStatus105 | CONSTRAINT_WITHIN_QUOTA;1001 if (setConstraintSatisfied(CONSTRAINT_WITHIN_QUOTA, state)) { in setQuotaConstraintSatisfied()1086 case CONSTRAINT_WITHIN_QUOTA: in wouldBeReadyWithConstraint()1107 case CONSTRAINT_WITHIN_QUOTA: in wouldBeReadyWithConstraint()1314 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in dumpConstraints()1347 case CONSTRAINT_WITHIN_QUOTA: in getProtoConstraint()1348 return JobServerProtoEnums.CONSTRAINT_WITHIN_QUOTA; in getProtoConstraint()1383 if ((constraints & CONSTRAINT_WITHIN_QUOTA) != 0) { in dumpConstraints()1384 proto.write(fieldId, JobServerProtoEnums.CONSTRAINT_WITHIN_QUOTA); in dumpConstraints()[all …]
2588 if (js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)) { in dumpControllerStateLocked()2702 js.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in dumpControllerStateLocked()
1790 assertFalse(jobStatus.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testThrottleToggling()1795 assertTrue(jobStatus.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testThrottleToggling()1800 assertFalse(jobStatus.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testThrottleToggling()2388 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2389 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2403 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2404 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2405 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2410 assertTrue(jobTop.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()2411 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()[all …]
32 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_WITHIN_QUOTA;536 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()538 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()542 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()544 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_WITHIN_QUOTA)); in testWouldBeReadyWithConstraint_ImplicitQuota()
41 CONSTRAINT_WITHIN_QUOTA = 10; enumerator