Searched refs:setConstraintSatisfied (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | JobStatus.java | 1039 return setConstraintSatisfied(CONSTRAINT_CHARGING, state); in setChargingConstraintSatisfied() 1044 return setConstraintSatisfied(CONSTRAINT_BATTERY_NOT_LOW, state); in setBatteryNotLowConstraintSatisfied() 1049 return setConstraintSatisfied(CONSTRAINT_STORAGE_NOT_LOW, state); in setStorageNotLowConstraintSatisfied() 1054 return setConstraintSatisfied(CONSTRAINT_TIMING_DELAY, state); in setTimingDelayConstraintSatisfied() 1059 if (setConstraintSatisfied(CONSTRAINT_DEADLINE, state)) { in setDeadlineConstraintSatisfied() 1069 return setConstraintSatisfied(CONSTRAINT_IDLE, state); in setIdleConstraintSatisfied() 1074 return setConstraintSatisfied(CONSTRAINT_CONNECTIVITY, state); in setConnectivityConstraintSatisfied() 1079 return setConstraintSatisfied(CONSTRAINT_CONTENT_TRIGGER, state); in setContentTriggerConstraintSatisfied() 1085 if (setConstraintSatisfied(CONSTRAINT_DEVICE_NOT_DOZING, state)) { in setDeviceNotDozingConstraintSatisfied() 1095 if (setConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED, state)) { in setBackgroundNotRestrictedConstraintSatisfied() [all …]
|
D | QuotaController.java | 530 setConstraintSatisfied(jobStatus, isWithinQuota); in maybeStartTrackingJobLocked() 1210 changed |= setConstraintSatisfied(js, realInQuota); in maybeUpdateConstraintForPkgLocked() 1213 changed |= setConstraintSatisfied(js, isWithinQuotaLocked(js)); in maybeUpdateConstraintForPkgLocked() 1233 wasJobChanged |= setConstraintSatisfied(jobStatus, isWithinQuotaLocked(jobStatus)); in accept() 1328 private boolean setConstraintSatisfied(@NonNull JobStatus jobStatus, boolean isWithinQuota) { in setConstraintSatisfied() method in QuotaController
|