Home
last modified time | relevance | path

Searched refs:CONSTRAINT_STORAGE_NOT_LOW (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java40 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 …]
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DJobStatus.java116 public static final int CONSTRAINT_STORAGE_NOT_LOW = field in JobStatus
1467 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_LOW
2440 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 …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java222 | JobStatus.CONSTRAINT_STORAGE_NOT_LOW); in testDynamicConstraintsNotPersisted()