Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java222 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
223 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
234 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
235 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
246 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
247 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
258 assertTrue(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
259 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
270 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
271 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java75 static final int CONSTRAINT_CONNECTIVITY = 1<<28; field in JobStatus
340 requiredConstraints |= CONSTRAINT_CONNECTIVITY; in JobStatus()
745 return (requiredConstraints&CONSTRAINT_CONNECTIVITY) != 0; in hasConnectivityConstraint()
872 return setConstraintSatisfied(CONSTRAINT_CONNECTIVITY, state); in setConnectivityConstraintSatisfied()
953 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY
1124 if ((constraints&CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()
1163 if ((constraints & CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()
1164 proto.write(fieldId, JobStatusDumpProto.CONSTRAINT_CONNECTIVITY); in dumpConstraints()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto603 CONSTRAINT_CONNECTIVITY = 7; enumerator