Searched refs:CONSTRAINT_IDLE (Results 1 – 3 of 3) sorted by relevance
29 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()
74 static final int CONSTRAINT_IDLE = JobInfo.CONSTRAINT_FLAG_DEVICE_IDLE; // 1 << 2 field in JobStatus102 | CONSTRAINT_IDLE851 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 …]
37 CONSTRAINT_IDLE = 6; enumerator