Home
last modified time | relevance | path

Searched refs:CONSTRAINT_BACKGROUND_NOT_RESTRICTED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DBackgroundJobsControllerTest.java24 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 …]
DJobStatusTest.java33 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()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java123 static final int CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 1 << 22; // Implicit constraint field in JobStatus
127 | CONSTRAINT_BACKGROUND_NOT_RESTRICTED
167 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 …]
DBackgroundJobsController.java228 & JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpControllerStateLocked()
266 JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0); in dumpControllerStateLocked()
/frameworks/proto_logging/stats/enums/server/job/
Denums.proto42 CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 11; enumerator