Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java29 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_IDLE;
128 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
138 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
178 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle()
180 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle()
184 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle()
186 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_IDLE)); in testWouldBeReadyWithConstraint_RequestedDeviceIdle()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java74 static final int CONSTRAINT_IDLE = JobInfo.CONSTRAINT_FLAG_DEVICE_IDLE; // 1 << 2 field in JobStatus
102 | CONSTRAINT_IDLE
851 return (requiredConstraints&CONSTRAINT_IDLE) != 0; in hasIdleConstraint()
965 return setConstraintSatisfied(CONSTRAINT_IDLE, state); in setIdleConstraintSatisfied()
1130 | CONSTRAINT_IDLE | CONSTRAINT_CONTENT_TRIGGER;
1135 | CONSTRAINT_TIMING_DELAY | CONSTRAINT_IDLE;
1299 if ((constraints&CONSTRAINT_IDLE) != 0) { in dumpConstraints()
1341 case CONSTRAINT_IDLE: in getProtoConstraint()
1342 return JobServerProtoEnums.CONSTRAINT_IDLE; in getProtoConstraint()
1371 if ((constraints & CONSTRAINT_IDLE) != 0) { in dumpConstraints()
[all …]
/frameworks/base/core/proto/android/server/job/
Denums.proto37 CONSTRAINT_IDLE = 6; enumerator