Searched refs:advanceTime (Results 1 – 8 of 8) sorted by relevance
319 mTestScheduledExecutorService.advanceTime(TEST_VOIP_INTERMEDIATE_MILLIS + 1); in testAddVoipRingingCall()354 mTestScheduledExecutorService.advanceTime(TEST_VOIP_EMERGENCY_INTERMEDIATE_MILLIS + 1); in testAddVoipEmergencyRingingCall()389 mTestScheduledExecutorService.advanceTime(TEST_NON_VOIP_INTERMEDIATE_MILLIS + 1); in testAddNonVoipRingingCall()424 mTestScheduledExecutorService.advanceTime(TEST_NON_VOIP_EMERGENCY_INTERMEDIATE_MILLIS + 1); in testAddNonVoipEmergencyRingingCall()445 mTestScheduledExecutorService.advanceTime(TEST_VOIP_TRANSITORY_MILLIS + 1); in testAddVoipRingingCallTimeoutWithoutConnection()469 mTestScheduledExecutorService.advanceTime(TEST_VOIP_EMERGENCY_TRANSITORY_MILLIS + 1); in testAddVoipEmergencyRingingCallTimeoutWithoutConnection()492 mTestScheduledExecutorService.advanceTime(TEST_NON_VOIP_TRANSITORY_MILLIS + 1); in testAddNonVoipRingingCallTimeoutWithoutConnection()516 mTestScheduledExecutorService.advanceTime(TEST_NON_VOIP_EMERGENCY_TRANSITORY_MILLIS + 1); in testAddNonVoipEmergencyRingingCallTimeoutWithoutConnection()539 mTestScheduledExecutorService.advanceTime(TEST_VOIP_INTERMEDIATE_MILLIS + 1); in testAddVoipRingingCallTimeoutWithConnection()563 mTestScheduledExecutorService.advanceTime(TEST_VOIP_EMERGENCY_INTERMEDIATE_MILLIS + 1); in testAddVoipEmergencyRingingCallTimeoutWithConnection()[all …]
235 public void advanceTime(long duration) { in advanceTime() method in TestScheduledExecutorService
3274 scheduledExecutorService.advanceTime(15000L); in testConnectionServiceCreateConnectionTimeout()
60 …uint64_t advanceTime = dataProvider.ConsumeIntegralInRange<uint64_t>(kMinTimeAdvanced, kMaxTotalTi… in LLVMFuzzerTestOneInput() local61 totalAdvanceTime += advanceTime; in LLVMFuzzerTestOneInput()63 fake_timerfd_advance(advanceTime); in LLVMFuzzerTestOneInput()
267 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testUpdateUserActivity_noUserAssignedInModeOn_shouldTurnOffDisplay()295 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testUpdateUserActivity_userAssignedInModeOn_shouldKeepScreenOn()317 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testUserActivity_bootIncomplete()363 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testHandleDisplayStateChange_modeOn()385 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testHandleDisplayStateChange_modeAlwaysOn()408 advanceTime(SCREEN_OFF_TIMEOUT + 1); in testHandleDisplayStateChange_modeOff()489 private void advanceTime(long timeMs) { in advanceTime() method in ScreenOffHandlerUnitTest
352 long advanceTime = now + (ADVANCE_INTERVAL - (now % ADVANCE_INTERVAL)) + in scheduleNextAdvance() local356 handler.postAtTime(mAutoAdvanceRunnable, advanceTime); in scheduleNextAdvance()
277 mClock.advanceTime(mCarUserSwitchingDialogController.getWindowShownTimeoutMs() + 10); in onWindowShownTimeoutPassed_viewNotHidden_hidesUserSwitchTransitionView()293 mClock.advanceTime(mCarUserSwitchingDialogController.getWindowShownTimeoutMs() + 10); in onWindowShownTimeoutPassed_viewHidden_doesNotHideUserSwitchTransitionViewAgain()
1283 void advanceTime(int durationMillis) { in advanceTime() function in android::automotive::watchdog::PerformanceProfilerTest1312 advanceTime(/*durationMillis=*/1000); in setupNextCollection()1508 advanceTime(/*durationMillis=*/2000); in TEST_F()1895 advanceTime(/*durationMillis=*/kTestSystemEventDataCacheDurationSec.count() * 1000); in TEST_F()1920 advanceTime(/*durationMillis=*/kTestSystemEventDataCacheDurationSec.count() * 1000); in TEST_F()1941 advanceTime(/*advanceUptimeMillis=*/kTestSystemEventDataCacheDurationSec.count() * 1000); in TEST_F()1960 advanceTime(/*durationMillis=*/kTestSystemEventDataCacheDurationSec.count() * 1000); in TEST_F()