Home
last modified time | relevance | path

Searched refs:CONSTRAINT_DEVICE_NOT_DOZING (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java157 logDeviceWideConstraintStateToStatsd(JobStatus.CONSTRAINT_DEVICE_NOT_DOZING, in updateIdleMode()
249 & JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0 in dumpControllerStateLocked()
277 (jobStatus.satisfiedConstraints & JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0); in dumpControllerStateLocked()
DJobStatus.java120 static final int CONSTRAINT_DEVICE_NOT_DOZING = 1 << 25; // Implicit constraint field in JobStatus
128 | CONSTRAINT_DEVICE_NOT_DOZING
167 CONSTRAINT_DEVICE_NOT_DOZING | CONSTRAINT_BACKGROUND_NOT_RESTRICTED;
1790 && (mDynamicConstraints & CONSTRAINT_DEVICE_NOT_DOZING) == 0); in canRunInDoze()
1860 if (setConstraintSatisfied(CONSTRAINT_DEVICE_NOT_DOZING, nowElapsed, state)) { in setDeviceNotDozingConstraintSatisfied()
1922 mReadyNotDozing = isConstraintSatisfied(CONSTRAINT_DEVICE_NOT_DOZING) || canRunInDoze(); in updateExpeditedDependencies()
2026 case CONSTRAINT_DEVICE_NOT_DOZING: in constraintToStopReason()
2098 if ((CONSTRAINT_DEVICE_NOT_DOZING & unsatisfiedConstraints) != 0) { in getPendingJobReason()
2258 case CONSTRAINT_DEVICE_NOT_DOZING: in readinessStatusWithConstraint()
2296 case CONSTRAINT_DEVICE_NOT_DOZING: in readinessStatusWithConstraint()
[all …]
/frameworks/proto_logging/stats/enums/server/job/
Denums.proto40 CONSTRAINT_DEVICE_NOT_DOZING = 9; enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java39 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEVICE_NOT_DOZING;
1215 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1217 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1221 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1223 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()