Searched refs:CONSTRAINT_STORAGE_NOT_LOW (Results 1 – 4 of 4) sorted by relevance
42 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_STORAGE_NOT_LOW;828 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()838 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()918 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()920 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()924 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()926 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()1278 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1290 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1302 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()[all …]
34 CONSTRAINT_STORAGE_NOT_LOW = 3; enumerator
114 public static final int CONSTRAINT_STORAGE_NOT_LOW = field in JobStatus1578 return hasConstraint(CONSTRAINT_STORAGE_NOT_LOW); in hasStorageNotLowConstraint()1818 return setConstraintSatisfied(CONSTRAINT_STORAGE_NOT_LOW, nowElapsed, state); in setStorageNotLowConstraintSatisfied()2011 case CONSTRAINT_STORAGE_NOT_LOW: in constraintToStopReason()2117 if ((CONSTRAINT_STORAGE_NOT_LOW & unsatisfiedConstraints) != 0) { in getPendingJobReason()2332 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY2338 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW2522 if ((constraints & CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()2585 case CONSTRAINT_STORAGE_NOT_LOW: in getProtoConstraint()2586 return JobServerProtoEnums.CONSTRAINT_STORAGE_NOT_LOW; in getProtoConstraint()[all …]
263 | JobStatus.CONSTRAINT_STORAGE_NOT_LOW); in testDynamicConstraintsNotPersisted()