Home
last modified time | relevance | path

Searched refs:wouldBeReadyWithConstraintLocked (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DTimeControllerTest.java174 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 …]
DStateControllerTest.java149 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
153 assertFalse(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
157 assertTrue(mStateController.wouldBeReadyWithConstraintLocked(job, 1)); in testWouldBeReadyWithConstraintLocked()
DConnectivityControllerTest.java345 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/
DTimeController.java141 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()
DStateController.java115 protected boolean wouldBeReadyWithConstraintLocked(JobStatus jobStatus, int constraint) { in wouldBeReadyWithConstraintLocked() method in StateController
DConnectivityController.java220 return networkAvailable && wouldBeReadyWithConstraintLocked(jobStatus, in wouldBeReadyWithConnectivityLocked()
/frameworks/base/services/
Dart-profile7806 HSPLcom/android/server/job/controllers/StateController;->wouldBeReadyWithConstraintLocked(Lcom/andr…