Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java28 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEVICE_NOT_DOZING;
517 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
519 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
523 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
525 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_DEVICE_NOT_DOZING)); in testWouldBeReadyWithConstraint_ImplicitDeviceNotDozing()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java81 static final int CONSTRAINT_DEVICE_NOT_DOZING = 1 << 25; // Implicit constraint field in JobStatus
981 if (setConstraintSatisfied(CONSTRAINT_DEVICE_NOT_DOZING, state)) { in setDeviceNotDozingConstraintSatisfied()
1082 case CONSTRAINT_DEVICE_NOT_DOZING: in wouldBeReadyWithConstraint()
1104 case CONSTRAINT_DEVICE_NOT_DOZING: in wouldBeReadyWithConstraint()
1207 if ((satisfiedConstraints&CONSTRAINT_DEVICE_NOT_DOZING) == 0) { in toString()
1308 if ((constraints&CONSTRAINT_DEVICE_NOT_DOZING) != 0) { in dumpConstraints()
1339 case CONSTRAINT_DEVICE_NOT_DOZING: in getProtoConstraint()
1340 return JobServerProtoEnums.CONSTRAINT_DEVICE_NOT_DOZING; in getProtoConstraint()
1380 if ((constraints & CONSTRAINT_DEVICE_NOT_DOZING) != 0) { in dumpConstraints()
1381 proto.write(fieldId, JobServerProtoEnums.CONSTRAINT_DEVICE_NOT_DOZING); in dumpConstraints()
DDeviceIdleJobsController.java244 & JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0 in dumpControllerStateLocked()
273 JobStatus.CONSTRAINT_DEVICE_NOT_DOZING) != 0); in dumpControllerStateLocked()
/frameworks/base/core/proto/android/server/job/
Denums.proto40 CONSTRAINT_DEVICE_NOT_DOZING = 9; enumerator