Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java42 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 …]
/frameworks/proto_logging/stats/enums/server/job/
Denums.proto34 CONSTRAINT_STORAGE_NOT_LOW = 3; enumerator
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java114 public static final int CONSTRAINT_STORAGE_NOT_LOW = field in JobStatus
1578 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_CONNECTIVITY
2338 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW
2522 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 …]
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java263 | JobStatus.CONSTRAINT_STORAGE_NOT_LOW); in testDynamicConstraintsNotPersisted()