Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A 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()
H A DJobStatus.java131 | CONSTRAINT_DEVICE_NOT_DOZING
173 CONSTRAINT_DEVICE_NOT_DOZING | CONSTRAINT_BACKGROUND_NOT_RESTRICTED;
1938 case CONSTRAINT_DEVICE_NOT_DOZING: in constraintToStopReason()
2006 if ((CONSTRAINT_DEVICE_NOT_DOZING & unsatisfiedConstraints) != 0) { in getPendingJobReason()
2169 case CONSTRAINT_DEVICE_NOT_DOZING: in readinessStatusWithConstraint()
2211 case CONSTRAINT_DEVICE_NOT_DOZING: in readinessStatusWithConstraint()
2345 if ((satisfiedConstraints&CONSTRAINT_DEVICE_NOT_DOZING) == 0) { in toString()
2461 if ((constraints & CONSTRAINT_DEVICE_NOT_DOZING) != 0) { in dumpConstraints()
2498 case CONSTRAINT_DEVICE_NOT_DOZING: in getProtoConstraint()
2499 return JobServerProtoEnums.CONSTRAINT_DEVICE_NOT_DOZING; in getProtoConstraint()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java37 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEVICE_NOT_DOZING;
1133 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1135 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1139 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
1141 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()