Searched refs:CONSTRAINT_STORAGE_NOT_LOW (Results 1 – 3 of 3) sorted by relevance
40 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_STORAGE_NOT_LOW;746 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()756 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()836 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()838 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()842 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()844 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()1196 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1208 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()1220 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_FlexibilityDoesNotAffectReadiness()[all …]
116 public static final int CONSTRAINT_STORAGE_NOT_LOW = field in JobStatus1467 return hasConstraint(CONSTRAINT_STORAGE_NOT_LOW); in hasStorageNotLowConstraint()1702 return setConstraintSatisfied(CONSTRAINT_STORAGE_NOT_LOW, nowElapsed, state); in setStorageNotLowConstraintSatisfied()1923 case CONSTRAINT_STORAGE_NOT_LOW: in constraintToStopReason()2025 if ((CONSTRAINT_STORAGE_NOT_LOW & unsatisfiedConstraints) != 0) { in getPendingJobReason()2256 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW2440 if ((constraints & CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()2506 case CONSTRAINT_STORAGE_NOT_LOW: in getProtoConstraint()2507 return JobServerProtoEnums.CONSTRAINT_STORAGE_NOT_LOW; in getProtoConstraint()2527 if ((constraints & CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()[all …]
222 | JobStatus.CONSTRAINT_STORAGE_NOT_LOW); in testDynamicConstraintsNotPersisted()