Searched refs:CONSTRAINT_BACKGROUND_NOT_RESTRICTED (Results 1 – 5 of 5) sorted by relevance
24 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED;233 assertTrue(directJob1.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()235 assertTrue(directJob2.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()237 assertTrue(proxyJob1.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()239 assertTrue(proxyJob2.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()243 assertTrue(directJob1.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()245 assertTrue(directJob2.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()247 assertTrue(proxyJob1.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()249 assertTrue(proxyJob2.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testRestartedBroadcastWithoutStopping()274 assertTrue(directJob1.isConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testStopped_disabled()[all …]
33 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED;1254 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()1257 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()1262 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()1265 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
123 static final int CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 1 << 22; // Implicit constraint field in JobStatus127 | CONSTRAINT_BACKGROUND_NOT_RESTRICTED167 CONSTRAINT_DEVICE_NOT_DOZING | CONSTRAINT_BACKGROUND_NOT_RESTRICTED;1798 && (mDynamicConstraints & CONSTRAINT_BACKGROUND_NOT_RESTRICTED) == 0); in canRunInBatterySaver()1872 if (setConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED, nowElapsed, state)) { in setBackgroundNotRestrictedConstraintSatisfied()2014 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in constraintToStopReason()2059 if ((CONSTRAINT_BACKGROUND_NOT_RESTRICTED & unsatisfiedConstraints) != 0) { in getPendingJobReason()2250 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in readinessStatusWithConstraint()2290 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in readinessStatusWithConstraint()2546 if ((constraints & CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpConstraints()[all …]
228 & JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpControllerStateLocked()266 JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0); in dumpControllerStateLocked()
42 CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 11; enumerator