/aosp14/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
H A D | HdmiAudioSystemClientTest.java | 70 mTestLooper.moveTimeForward(500); in testMultipleCommands_longTimeBetweenCalls() 81 mTestLooper.moveTimeForward(100); // current time: 100ms in testMultipleCommands_shortTimeBetweenCalls() 86 mTestLooper.moveTimeForward(100); // current time: 200ms in testMultipleCommands_shortTimeBetweenCalls() 91 mTestLooper.moveTimeForward(300); // current time: 500ms in testMultipleCommands_shortTimeBetweenCalls() 95 mTestLooper.moveTimeForward(100); // current time: 600ms in testMultipleCommands_shortTimeBetweenCalls() 100 mTestLooper.moveTimeForward(200); // current time: 800ms in testMultipleCommands_shortTimeBetweenCalls() 115 mTestLooper.moveTimeForward(100); // current time: 100ms in testMultipleCommands_shortTimeAndReturn() 120 mTestLooper.moveTimeForward(100); // current time: 200ms in testMultipleCommands_shortTimeAndReturn() 125 mTestLooper.moveTimeForward(300); // current time: 500ms in testMultipleCommands_shortTimeAndReturn() 135 mTestLooper.moveTimeForward(100); // current time: 100ms in testMultipleCommands_muteAdjust() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | RequestSadActionTest.java | 152 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 155 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 171 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 173 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 175 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 177 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 179 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 181 mTestLooper.moveTimeForward(TIMEOUT_MS); in noResponse_queryAgainOnce_emptyResult() 223 mTestLooper.moveTimeForward(TIMEOUT_MS); in unrecognizedOpcode_dontQueryAgain_emptyResult() 225 mTestLooper.moveTimeForward(TIMEOUT_MS); in unrecognizedOpcode_dontQueryAgain_emptyResult() [all …]
|
H A D | HdmiEarcLocalDeviceTxTest.java | 144 mTestLooper.moveTimeForward(HdmiEarcLocalDeviceTx.REPORT_CAPS_MAX_DELAY_MS - 200); in earcGetsConnected_capsReportedInTime_sad() 177 mTestLooper.moveTimeForward(HdmiEarcLocalDeviceTx.REPORT_CAPS_MAX_DELAY_MS - 200); in earcGetsConnected_capsReportedInTime_sad_sadb() 211 mTestLooper.moveTimeForward(HdmiEarcLocalDeviceTx.REPORT_CAPS_MAX_DELAY_MS - 200); in earcGetsConnected_capsReportedInTime_sad_sadb_vsadb() 272 mTestLooper.moveTimeForward(HdmiEarcLocalDeviceTx.REPORT_CAPS_MAX_DELAY_MS + 1); in earcGetsConnected_capsReportedTooLate()
|
H A D | HdmiCecLocalDeviceTvTest.java | 257 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in initiateArcAndValidate() 260 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in initiateArcAndValidate() 669 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in handleInitiateArc_portSupportsArc() 672 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in handleInitiateArc_portSupportsArc() 809 mTestLooper.moveTimeForward( in hotplugDetectionAction_discoversDeviceAfterMessageReceived() 1049 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in tvSendRequestArcTerminationOnSleep() 1052 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in tvSendRequestArcTerminationOnSleep() 1205 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in handleInitiateArc_earcDoesNotBlockArc() 1208 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in handleInitiateArc_earcDoesNotBlockArc() 1372 mTestLooper.moveTimeForward(TIMEOUT_MS); in startArcAction_initiation_timeout() [all …]
|
H A D | SystemAudioAutoInitiationActionTest.java | 296 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in testTimeout_systemAudioOn_retries() 324 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in testTimeout_systemAudioOn_allRetriesFail() 332 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in testTimeout_systemAudioOn_allRetriesFail()
|
H A D | DevicePowerStatusActionTest.java | 161 mTestLooper.moveTimeForward(TIMEOUT_MS); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully() 187 mTestLooper.moveTimeForward(TIMEOUT_MS); in queryDisplayStatus_sendsRequest_timeout_retriesFailure() 192 mTestLooper.moveTimeForward(TIMEOUT_MS); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
|
H A D | PowerStatusMonitorActionTest.java | 135 mTestLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(60)); in sourceDevice_1_4_updatesPowerState() 172 mTestLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(60)); in sourceDevice_2_0_doesNotUpdatePowerState()
|
H A D | HdmiCecLocalDevicePlaybackTest.java | 1746 mTestLooper.moveTimeForward(HOTPLUG_INTERVAL); in hotplugDetectionAction_addDevice() 1774 mTestLooper.moveTimeForward(HOTPLUG_INTERVAL); in hotplugDetectionAction_removeDevice() 1839 mTestLooper.moveTimeForward(TIMEOUT_MS); in queryDisplayStatus() 1986 mTestLooper.moveTimeForward(TIMEOUT_MS); in shouldHandleTvPowerKey_CecNotAvailable() 2045 mTestLooper.moveTimeForward(TimeUnit.SECONDS.toMillis(2)); in shouldHandleUserControlPressedAndReleased() 2067 mTestLooper.moveTimeForward( in onHotplugInAfterHotplugOut_noStandbyAfterDelay() 2074 mTestLooper.moveTimeForward(HdmiCecLocalDevicePlayback.STANDBY_AFTER_HOTPLUG_OUT_DELAY_MS); in onHotplugInAfterHotplugOut_noStandbyAfterDelay() 2087 mTestLooper.moveTimeForward(HdmiCecLocalDevicePlayback.STANDBY_AFTER_HOTPLUG_OUT_DELAY_MS); in onHotplugOut_standbyAfterDelay_onlyAfterDeviceIdle() 2159 mTestLooper.moveTimeForward(allocationDelay); in handleRoutingChange_addressNotAllocated_removeActiveSourceAction() 2192 mTestLooper.moveTimeForward(allocationDelay); in handleSetStreamPath_addressNotAllocated_removeActiveSourceAction() [all …]
|
H A D | DetectTvSystemAudioModeSupportActionTest.java | 153 mTestLooper.moveTimeForward(2000); in testSupported()
|
H A D | ArcInitiationActionFromAvrTest.java | 196 mTestLooper.moveTimeForward(1001); in arcInitiation_timeout()
|
H A D | ArcTerminationActionFromAvrTest.java | 163 mTestLooper.moveTimeForward(ArcTerminationActionFromAvr.TIMEOUT_MS); in testReportArcTerminated_timeout()
|
H A D | SetAudioVolumeLevelDiscoveryActionTest.java | 154 mTestLooper.moveTimeForward(HdmiConfig.TIMEOUT_MS); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | AuthBiometricFingerprintViewTest.kt | 81 TestableLooper.get(this).moveTimeForward(1000) 92 TestableLooper.get(this).moveTimeForward(1000) 114 TestableLooper.get(this).moveTimeForward(1000) 125 TestableLooper.get(this).moveTimeForward(1000) 138 TestableLooper.get(this).moveTimeForward(1000) 147 TestableLooper.get(this).moveTimeForward(1000) 158 TestableLooper.get(this).moveTimeForward(1000) 171 TestableLooper.get(this).moveTimeForward(1000)
|
H A D | AuthBiometricFingerprintAndFaceViewTest.kt | 78 TestableLooper.get(this).moveTimeForward(1000) 98 TestableLooper.get(this).moveTimeForward(1000) 115 TestableLooper.get(this).moveTimeForward(1000) 132 TestableLooper.get(this).moveTimeForward(1000) 156 TestableLooper.get(this).moveTimeForward(1000)
|
H A D | BiometricNotificationServiceTest.java | 154 mLooper.moveTimeForward(SHOW_NOTIFICATION_DELAY_MS); in testShowFingerprintReEnrollNotification_onAcquiredReEnroll() 176 mLooper.moveTimeForward(SHOW_NOTIFICATION_DELAY_MS); in testShowFaceReEnrollNotification_onErrorReEnroll() 199 mLooper.moveTimeForward(SHOW_NOTIFICATION_DELAY_MS); in testCancelReEnrollmentNotification_onFaceEnrollmentStateChange() 223 mLooper.moveTimeForward(SHOW_NOTIFICATION_DELAY_MS); in testCancelReEnrollmentNotification_onFingerprintEnrollmentStateChange() 249 mLooper.moveTimeForward(SHOW_NOTIFICATION_DELAY_MS); in testResetFaceUnlockReEnroll_onStart()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
H A D | VibratorFrameworkStatsLoggerTest.java | 83 mTestLooper.moveTimeForward(100); in writeVibrationReportedAsync_rightAfterLogging_schedulesToRunAfterRemainingDelay() 107 mTestLooper.moveTimeForward(100); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue() 113 mTestLooper.moveTimeForward(1_000); in writeVibrationReportedAsync_tooFast_logsUsingIntervalAndDropsMessagesFromQueue()
|
/aosp14/frameworks/base/tests/utils/testutils/java/android/os/test/ |
H A D | TestLooperTest.java | 172 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()
|
H A D | TestLooper.java | 124 public void moveTimeForward(long milliSeconds) { in moveTimeForward() method in TestLooper
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
H A D | BatteryControllerTests.kt | 392 testLooper.moveTimeForward(1) 398 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS - 1) 405 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS) 423 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS) 435 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS) 496 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS) 503 testLooper.moveTimeForward(POLLING_PERIOD_MILLIS) 543 testLooper.moveTimeForward(1) 549 testLooper.moveTimeForward(USI_BATTERY_VALIDITY_DURATION_MILLIS - 1) 577 testLooper.moveTimeForward(100) [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
H A D | BiometricSchedulerTest.java | 614 looper.moveTimeForward(10000); in testClearBiometricQueue_clearsHungAuthOperation() 616 looper.moveTimeForward(3000); in testClearBiometricQueue_clearsHungAuthOperation() 652 looper.moveTimeForward(10000); in testAuthWorks_afterClearBiometricQueue() 655 looper.moveTimeForward(3000); in testAuthWorks_afterClearBiometricQueue() 690 looper.moveTimeForward(10000); in testAuthWorks_afterClearBiometricQueue() 693 looper.moveTimeForward(3000); in testAuthWorks_afterClearBiometricQueue() 731 looper.moveTimeForward(10000); in testClearBiometricQueue_doesNotClearOperationsWhenQueueNotStuck() 734 looper.moveTimeForward(3000); in testClearBiometricQueue_doesNotClearOperationsWhenQueueNotStuck()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/gestural/ |
H A D | BackPanelControllerTest.kt | 122 testableLooper.moveTimeForward(100) 147 testableLooper.moveTimeForward(100)
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
H A D | SideFpsEventHandlerTest.java | 204 mLooper.moveTimeForward(AUTO_DISMISS_DIALOG); in dialogDismissesAfterTime() 221 mLooper.moveTimeForward(AUTO_DISMISS_DIALOG - 1); in dialogDoesNotDismissOnSensorTouch()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayRotationTests.java | 1057 moveTimeForward(900); in testSensorRotationAfterDisplayChangeBeforeTimeout_ignoresSensor() 1075 moveTimeForward(1100); in testSensorRotationAfterDisplayChangeAfterTimeout_usesSensor() 1094 moveTimeForward( 300); in testSensorRotationAfterHingeEventBeforeTimeout_ignoresSensor() 1114 moveTimeForward( 300); in testSensorRotationAfterHingeEventBeforeTimeoutFlagDisabled_usesSensorData() 1133 moveTimeForward(1010); in testSensorRotationAfterHingeEventAfterTimeout_usesSensorData() 1153 moveTimeForward(300); in testSensorRotationAfterLargeHingeEventBeforeTimeout_usesSensor() 1188 private void moveTimeForward(long timeMillis) { in moveTimeForward() method in DisplayRotationTests
|
/aosp14/frameworks/base/tests/vcn/java/com/android/server/ |
H A D | VcnManagementServiceTest.java | 522 mTestLooper.moveTimeForward(VcnManagementService.CARRIER_PRIVILEGES_LOST_TEARDOWN_DELAY_MS); in testTelephonyNetworkTrackerCallbackStopsInstances() 573 mTestLooper.moveTimeForward(VcnManagementService.CARRIER_PRIVILEGES_LOST_TEARDOWN_DELAY_MS); in testTelephonyNetworkTrackerCallbackLostCarrierPrivilegesBeforeActiveDataSubChanges() 595 mTestLooper.moveTimeForward( in testTelephonyNetworkTrackerCallbackSimSwitchesDoNotKillVcnInstances() 601 mTestLooper.moveTimeForward(VcnManagementService.CARRIER_PRIVILEGES_LOST_TEARDOWN_DELAY_MS); in testTelephonyNetworkTrackerCallbackSimSwitchesDoNotKillVcnInstances() 618 mTestLooper.moveTimeForward( in testTelephonyNetworkTrackerCallbackDoesNotKillNewVcnInstances() 630 mTestLooper.moveTimeForward(VcnManagementService.CARRIER_PRIVILEGES_LOST_TEARDOWN_DELAY_MS); in testTelephonyNetworkTrackerCallbackDoesNotKillNewVcnInstances() 1629 mTestLooper.moveTimeForward(VcnManagementService.CARRIER_PRIVILEGES_LOST_TEARDOWN_DELAY_MS); in testRegisterVcnStatusCallback_VcnInactive()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | AutomaticBrightnessControllerTest.java | 330 mTestLooper.moveTimeForward( in testShortTermModelTimesOut() 335 mTestLooper.moveTimeForward(4000); in testShortTermModelTimesOut() 416 mTestLooper.moveTimeForward( in testShortTermModelIsRestoredWhenSwitchingWithinTimeout() 421 mTestLooper.moveTimeForward(4000); in testShortTermModelIsRestoredWhenSwitchingWithinTimeout()
|