Home
last modified time | relevance | path

Searched refs:moveTimeForward (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java67 mTestLooper.moveTimeForward(500); in testMultipleCommands_longTimeBetweenCalls()
78 mTestLooper.moveTimeForward(100); // current time: 100ms in testMultipleCommands_shortTimeBetweenCalls()
83 mTestLooper.moveTimeForward(100); // current time: 200ms in testMultipleCommands_shortTimeBetweenCalls()
88 mTestLooper.moveTimeForward(300); // current time: 500ms in testMultipleCommands_shortTimeBetweenCalls()
92 mTestLooper.moveTimeForward(100); // current time: 600ms in testMultipleCommands_shortTimeBetweenCalls()
97 mTestLooper.moveTimeForward(200); // current time: 800ms in testMultipleCommands_shortTimeBetweenCalls()
102 mTestLooper.moveTimeForward(200); // current time: 1000ms in testMultipleCommands_shortTimeBetweenCalls()
112 mTestLooper.moveTimeForward(100); // current time: 100ms in testMultipleCommands_shortTimeAndReturn()
117 mTestLooper.moveTimeForward(100); // current time: 200ms in testMultipleCommands_shortTimeAndReturn()
122 mTestLooper.moveTimeForward(300); // current time: 500ms in testMultipleCommands_shortTimeAndReturn()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java372 moveTimeForward(10 * 1000); in testPrimaryTimerExpire()
406 moveTimeForward(10 * 1000); in testPrimaryTimerReset()
439 moveTimeForward(10 * 1000); in testPrimaryTimerExpireMmwave()
474 moveTimeForward(10 * 1000); in testPrimaryTimerResetMmwave()
507 moveTimeForward(10 * 1000); in testSecondaryTimerExpire()
516 moveTimeForward(30 * 1000); in testSecondaryTimerExpire()
548 moveTimeForward(10 * 1000); in testSecondaryTimerReset()
561 moveTimeForward(30 * 1000); in testSecondaryTimerReset()
595 moveTimeForward(10 * 1000); in testSecondaryTimerExpireMmwave()
604 moveTimeForward(30 * 1000); in testSecondaryTimerExpireMmwave()
[all …]
DCellularNetworkValidatorTest.java126 moveTimeForward(timeout); in testValidateTimeout()
154 moveTimeForward(timeout); in testNetworkAvailableNotValidated()
382 moveTimeForward(1000); in testDoNotReleaseRequestAfterValidation_shouldReleaseLater()
404 moveTimeForward(timeout); in testDoNotReleaseRequestAfterValidation_timeout_shouldReleaseImmediately()
428 moveTimeForward(1000); in testDoNotReleaseRequestAfterValidation_BackToBackRequest()
DGsmCdmaConnectionTest.java161 moveTimeForward(GsmCdmaConnection.PAUSE_DELAY_MILLIS_CDMA); in testCDMAPostDialPause()
179 moveTimeForward(GsmCdmaConnection.PAUSE_DELAY_MILLIS_GSM); in testGSMPostDialPause()
DPhoneSwitcherTest.java667 moveTimeForward(ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_MS + 1000); in testEmergencyOverrideEndSuccess()
703 moveTimeForward(ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_MS + 2000); in testEmergencyOverrideEcbmStartEnd()
714 moveTimeForward(1000); in testEmergencyOverrideEcbmStartEnd()
742 moveTimeForward(PhoneSwitcher.DEFAULT_DATA_OVERRIDE_TIMEOUT_MS); in testEmergencyOverrideNoCallStart()
789 moveTimeForward(ECBM_DEFAULT_DATA_SWITCH_BASE_TIME_MS + 1000); in testEmergencyOverrideMultipleOverrideRequests()
DGsmCdmaPhoneTest.java1291 moveTimeForward(5000); in testReapplyUiccApplicationEnablementSuccess()
1331 moveTimeForward(5000); in testReapplyUiccApplicationEnablementRetry()
1343 moveTimeForward(5000); in testReapplyUiccApplicationEnablementRetry()
DRILTest.java331 moveTimeForward(DEFAULT_WAKE_LOCK_TIMEOUT_MS); in testRadioErrorWithWakelockTimeout()
1146 moveTimeForward(DEFAULT_BLOCKING_MESSAGE_RESPONSE_TIMEOUT_MS); in testGetModemActivityInfoTimeout()
1220 moveTimeForward(DEFAULT_WAKE_LOCK_TIMEOUT_MS); in testWakeLockTimeout()
DTelephonyTest.java901 public void moveTimeForward(long milliSeconds) { in moveTimeForward() method in TelephonyTest
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java119 mLooper.moveTimeForward(RedirectListener.USER_TIMEOUT_MILLIS); in timeOutForKnownGetRequest()
141 mLooper.moveTimeForward(RedirectListener.USER_TIMEOUT_MILLIS); in receiveUnknownGetRequest()
162 mLooper.moveTimeForward(RedirectListener.USER_TIMEOUT_MILLIS); in receiveKnownGetRequest()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java172 mTestLooper.moveTimeForward(5000); in testDelayedDispatchAdvanceTimeOnce()
203 mTestLooper.moveTimeForward(4000); in testDelayedDispatchAdvanceTimeTwice()
206 mTestLooper.moveTimeForward(1000); in testDelayedDispatchAdvanceTimeTwice()
239 mTestLooper.moveTimeForward(4000); in testDelayedDispatchReverseOrder()
242 mTestLooper.moveTimeForward(3000); in testDelayedDispatchReverseOrder()
275 mTestLooper.moveTimeForward(4000); in testDelayedDispatchAllMultipleTimes()
285 mTestLooper.moveTimeForward(3000); in testDelayedDispatchAllMultipleTimes()
DTestLooper.java103 public void moveTimeForward(long milliSeconds) { in moveTimeForward() method in TestLooper
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java184 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setTetherOffloadStatsList()
253 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testGetForwardedStats()
278 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
285 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
291 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
511 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testTetheringConfigDisable()
591 mTestLooper.moveTimeForward(pollingInterval); in testTetheringConfigSetPollingInterval()
597 mTestLooper.moveTimeForward((long) (pollingInterval * 0.9)); in testTetheringConfigSetPollingInterval()
603 mTestLooper.moveTimeForward((long) (pollingInterval * 0.1)); in testTetheringConfigSetPollingInterval()
DOffloadControllerTest.java807 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
814 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
822 mTestLooper.moveTimeForward(DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in testOnSetAlert()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java301 mLooper.moveTimeForward(EuiccConnector.LINGER_TIMEOUT_MILLIS); in testLinger()
309 mLooper.moveTimeForward(EuiccConnector.LINGER_TIMEOUT_MILLIS); in testLinger()
333 mLooper.moveTimeForward(EuiccConnector.LINGER_TIMEOUT_MILLIS); in testLinger_twoCommands()
341 mLooper.moveTimeForward(EuiccConnector.LINGER_TIMEOUT_MILLIS); in testLinger_twoCommands()
349 mLooper.moveTimeForward(EuiccConnector.LINGER_TIMEOUT_MILLIS); in testLinger_twoCommands()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DArcTerminationActionFromAvrTest.java132 mTestLooper.moveTimeForward(1000); in testReportArcTerminated_notReceived()
143 mTestLooper.moveTimeForward(1000); in testReportArcTerminated_received()
DDetectTvSystemAudioModeSupportActionTest.java139 mTestLooper.moveTimeForward(2000); in testSupported()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java1050 mLooper.moveTimeForward(TEST_WIFI_RECOVERY_DELAY_MS); in testRestartWifiStackInStaDisabledWithScanState()
1074 mLooper.moveTimeForward(TEST_WIFI_RECOVERY_DELAY_MS); in testRestartWifiStackInStaEnabledState()
DClientModeImplTest.java2912 mLooper.moveTimeForward(ClientModeImpl.DIAGS_CONNECT_TIMEOUT_MILLIS); in testCmdDiagsConnectTimeoutIsGeneratedAfterCmdStartConnect()
2928 mLooper.moveTimeForward(ClientModeImpl.DIAGS_CONNECT_TIMEOUT_MILLIS - 1000); in testCmdDiagsConnectTimeoutIsNotProcessedBeforeTimerExpires()
2935 mLooper.moveTimeForward(ClientModeImpl.DIAGS_CONNECT_TIMEOUT_MILLIS); in verifyConnectionEventTimeoutDoesNotOccur()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java256 moveTimeForward((Integer) field.get(null)); in testPostDialPause()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java1398 mMockLooper.moveTimeForward( in testDataPathInitiatorUtilityMore()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java2028 mLooper.moveTimeForward(120 * 1000 * 2); in testEndConnectionEventWhenTimeout()