Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java30 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_STORAGE_NOT_LOW;
130 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
140 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
220 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()
222 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()
226 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()
228 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_STORAGE_NOT_LOW)); in testWouldBeReadyWithConstraint_RequestedStorageNotLow()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java76 static final int CONSTRAINT_STORAGE_NOT_LOW = JobInfo.CONSTRAINT_FLAG_STORAGE_NOT_LOW; // 1 << 3 field in JobStatus
103 | CONSTRAINT_STORAGE_NOT_LOW
839 return (requiredConstraints&CONSTRAINT_STORAGE_NOT_LOW) != 0; in hasStorageNotLowConstraint()
945 return setConstraintSatisfied(CONSTRAINT_STORAGE_NOT_LOW, state); in setStorageNotLowConstraintSatisfied()
1129 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY
1134 CONSTRAINT_CHARGING | CONSTRAINT_BATTERY_NOT_LOW | CONSTRAINT_STORAGE_NOT_LOW
1290 if ((constraints& CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()
1343 case CONSTRAINT_STORAGE_NOT_LOW: in getProtoConstraint()
1344 return JobServerProtoEnums.CONSTRAINT_STORAGE_NOT_LOW; in getProtoConstraint()
1362 if ((constraints & CONSTRAINT_STORAGE_NOT_LOW) != 0) { in dumpConstraints()
[all …]
/frameworks/base/core/proto/android/server/job/
Denums.proto34 CONSTRAINT_STORAGE_NOT_LOW = 3; enumerator