Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DPrefetchControllerTest.java247 assertEquals(5 * HOUR_IN_MILLIS, mPrefetchController.getLaunchTimeThresholdMs()); in testConstantsUpdating_ValidValues()
257 assertEquals(HOUR_IN_MILLIS, mPrefetchController.getLaunchTimeThresholdMs()); in testConstantsUpdating_InvalidValues()
264 assertEquals(24 * HOUR_IN_MILLIS, mPrefetchController.getLaunchTimeThresholdMs()); in testConstantsUpdating_InvalidValues()
H A DFlexibilityControllerTest.java423 when(mPrefetchController.getLaunchTimeThresholdMs()).thenReturn(700L); in testGetLifeCycleBeginningElapsedLocked_Prefetch()
891 when(mPrefetchController.getLaunchTimeThresholdMs()).thenReturn(7 * HOUR_IN_MILLIS); in testOnPrefetchCacheUpdated()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DFlexibilityController.java164 mPrefetchController.getLaunchTimeThresholdMs();
310 estimatedLaunchTime - mPrefetchController.getLaunchTimeThresholdMs()); in getLifeCycleBeginningElapsedLocked()
H A DPrefetchController.java604 long getLaunchTimeThresholdMs() { in getLaunchTimeThresholdMs() method in PrefetchController