Searched refs:CONSTRAINT_CONNECTIVITY (Results 1 – 5 of 5) sorted by relevance
31 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONNECTIVITY;240 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()250 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()390 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()392 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()396 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()398 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedConnectivity()442 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()449 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()458 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONNECTIVITY)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()[all …]
295 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()296 assertFalse(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()307 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()308 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()319 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()320 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()331 assertTrue(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()332 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()343 assertFalse(red.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()344 assertTrue(blue.isConstraintSatisfied(JobStatus.CONSTRAINT_CONNECTIVITY)); in testUpdates()[all …]
83 static final int CONSTRAINT_CONNECTIVITY = 1 << 28; field in JobStatus97 | CONSTRAINT_CONNECTIVITY449 requiredConstraints |= CONSTRAINT_CONNECTIVITY; in JobStatus()916 return (requiredConstraints&CONSTRAINT_CONNECTIVITY) != 0; in hasConnectivityConstraint()1074 return setConstraintSatisfied(CONSTRAINT_CONNECTIVITY, state); in setConnectivityConstraintSatisfied()1180 constraints &= ~CONSTRAINT_CONNECTIVITY; in addDynamicConstraints()1293 | CONSTRAINT_STORAGE_NOT_LOW | CONSTRAINT_TIMING_DELAY | CONSTRAINT_CONNECTIVITY1471 if ((constraints&CONSTRAINT_CONNECTIVITY) != 0) { in dumpConstraints()1502 case CONSTRAINT_CONNECTIVITY: in getProtoConstraint()1503 return JobServerProtoEnums.CONSTRAINT_CONNECTIVITY; in getProtoConstraint()[all …]
228 JobStatus.CONSTRAINT_CONNECTIVITY); in wouldBeReadyWithConnectivityLocked()
38 CONSTRAINT_CONNECTIVITY = 7; enumerator