Home
last modified time | relevance | path

Searched refs:advanceTime (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAnomalyWatchdogTest.java319 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 …]
DTestScheduledExecutorService.java235 public void advanceTime(long duration) { in advanceTime() method in TestScheduledExecutorService
DCallsManagerTest.java3274 scheduledExecutorService.advanceTime(15000L); in testConnectionServiceCreateConnectionTimeout()
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dacl_manager_fuzz_test.cc60 …uint64_t advanceTime = dataProvider.ConsumeIntegralInRange<uint64_t>(kMinTimeAdvanced, kMaxTotalTi… in LLVMFuzzerTestOneInput() local
61 totalAdvanceTime += advanceTime; in LLVMFuzzerTestOneInput()
63 fake_timerfd_advance(advanceTime); in LLVMFuzzerTestOneInput()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DScreenOffHandlerUnitTest.java267 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
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java352 long advanceTime = now + (ADVANCE_INTERVAL - (now % ADVANCE_INTERVAL)) + in scheduleNextAdvance() local
356 handler.postAtTime(mAutoAdvanceRunnable, advanceTime); in scheduleNextAdvance()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewControllerTest.java277 mClock.advanceTime(mCarUserSwitchingDialogController.getWindowShownTimeoutMs() + 10); in onWindowShownTimeoutPassed_viewNotHidden_hidesUserSwitchTransitionView()
293 mClock.advanceTime(mCarUserSwitchingDialogController.getWindowShownTimeoutMs() + 10); in onWindowShownTimeoutPassed_viewHidden_doesNotHideUserSwitchTransitionViewAgain()
/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp1283 void advanceTime(int durationMillis) { in advanceTime() function in android::automotive::watchdog::PerformanceProfilerTest
1312 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()