Searched refs:wouldBeReadyWithConstraintLocked (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | TimeControllerTest.java | 174 doReturn(true).when(mTimeController).wouldBeReadyWithConstraintLocked(any(), anyInt()); in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_AllReady() 217 .wouldBeReadyWithConstraintLocked(eq(jobLatest), anyInt()); in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() 219 .wouldBeReadyWithConstraintLocked(eq(jobMiddle), anyInt()); in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() 221 .wouldBeReadyWithConstraintLocked(eq(jobEarliest), anyInt()); in testMaybeStartTrackingJobLocked_DelayInOrder_WithSkipping_SomeNotReady() 250 doReturn(true).when(mTimeController).wouldBeReadyWithConstraintLocked(any(), anyInt()); in testMaybeStartTrackingJobLocked_DelayReverseOrder_WithSkipping_AllReady() 295 .wouldBeReadyWithConstraintLocked(eq(jobLatest), anyInt()); in testMaybeStartTrackingJobLocked_DelayReverseOrder_WithSkipping_SomeNotReady() 297 .wouldBeReadyWithConstraintLocked(eq(jobMiddle), anyInt()); in testMaybeStartTrackingJobLocked_DelayReverseOrder_WithSkipping_SomeNotReady() 299 .wouldBeReadyWithConstraintLocked(eq(jobEarliest), anyInt()); in testMaybeStartTrackingJobLocked_DelayReverseOrder_WithSkipping_SomeNotReady() 330 doReturn(true).when(mTimeController).wouldBeReadyWithConstraintLocked(any(), anyInt()); in testMaybeStartTrackingJobLocked_DeadlineInOrder_WithSkipping_AllReady() 373 .wouldBeReadyWithConstraintLocked(eq(jobLatest), anyInt()); in testMaybeStartTrackingJobLocked_DeadlineInOrder_WithSkipping_SomeNotReady() [all …]
|
D | StateControllerTest.java | 149 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked() 153 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked() 157 assertTrue(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
|
D | ConnectivityControllerTest.java | 345 doReturn(false).when(controller).wouldBeReadyWithConstraintLocked(any(), in testWouldBeReadyWithConnectivityLocked() 350 doReturn(true).when(controller).wouldBeReadyWithConstraintLocked(any(), in testWouldBeReadyWithConnectivityLocked()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | TimeController.java | 141 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_TIMING_DELAY)) { in maybeStartTrackingJobLocked() 144 if (wouldBeReadyWithConstraintLocked(job, JobStatus.CONSTRAINT_DEADLINE)) { in maybeStartTrackingJobLocked() 188 final boolean wouldBeReady = wouldBeReadyWithConstraintLocked( in evaluateStateLocked() 203 final boolean wouldBeReady = wouldBeReadyWithConstraintLocked( in evaluateStateLocked() 265 && !wouldBeReadyWithConstraintLocked( in checkExpiredDeadlinesAndResetAlarm() 325 && !wouldBeReadyWithConstraintLocked( in checkExpiredDelaysAndResetAlarm()
|
D | StateController.java | 115 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked() method in StateController
|
D | ConnectivityController.java | 220 return networkAvailable && wouldBeReadyWithConstraintLocked(jobStatus, in wouldBeReadyWithConnectivityLocked()
|
/frameworks/base/services/ |
D | art-profile | 7806 HSPLcom/android/server/job/controllers/StateController;->wouldBeReadyWithConstraintLocked(Lcom/andr…
|