Searched refs:CONSTRAINT_CONNECTIVITY (Results 1 – 5 of 5) sorted by relevance
25 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONNECTIVITY;133 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()143 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()283 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()285 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()289 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()291 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()335 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()342 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()351 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()[all …]
244 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()245 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()256 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()257 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()268 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()269 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()280 assertTrue(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()281 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()292 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()293 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()[all …]
79 static final int CONSTRAINT_CONNECTIVITY = 1<<28; field in JobStatus408 requiredConstraints |= CONSTRAINT_CONNECTIVITY; in JobStatus()823 return (requiredConstraints&CONSTRAINT_CONNECTIVITY) != 0; in hasConnectivityConstraint()970 return setConstraintSatisfied(CONSTRAINT_CONNECTIVITY, state); in setConnectivityConstraintSatisfied()1129 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY1302 if ((constraints&CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()1333 case CONSTRAINT_CONNECTIVITY: in getProtoConstraint()1334 return JobServerProtoEnums.CONSTRAINT_CONNECTIVITY; in getProtoConstraint()1374 if ((constraints & CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()1375 proto.write(fieldId, JobServerProtoEnums.CONSTRAINT_CONNECTIVITY); in dumpConstraints()
221 JobStatus.CONSTRAINT_CONNECTIVITY); in wouldBeReadyWithConnectivityLocked()
38 CONSTRAINT_CONNECTIVITY = 7; enumerator