Home
last modified time | relevance | path

Searched refs:actionTimer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DDeviceSelectActionFromPlaybackTest.java256 TestActionTimer actionTimer, in createDeviceSelectActionFromPlayback() argument
264 action.setActionTimer(actionTimer); in createDeviceSelectActionFromPlayback()
272 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() local
274 DeviceSelectActionFromPlayback action = createDeviceSelectActionFromPlayback(actionTimer, in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
282 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
294 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() local
296 DeviceSelectActionFromPlayback action = createDeviceSelectActionFromPlayback(actionTimer, in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
302 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
307 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
320 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() local
[all …]
DDeviceSelectActionFromTvTest.java210 private DeviceSelectActionFromTv createDeviceSelectAction(TestActionTimer actionTimer, in createDeviceSelectAction() argument
217 action.setActionTimer(actionTimer); in createDeviceSelectAction()
225 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() local
227 DeviceSelectActionFromTv action = createDeviceSelectAction(actionTimer, callback, in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
235 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
246 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() local
248 DeviceSelectActionFromTv action = createDeviceSelectAction(actionTimer, callback, in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
253 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
260 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
272 TestActionTimer actionTimer = new TestActionTimer(); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() local
[all …]
DOneTouchPlayActionTest.java137 TestActionTimer actionTimer, TestCallback callback, boolean isCec20) { in createOneTouchPlayAction() argument
139 action.setActionTimer(actionTimer); in createOneTouchPlayAction()
151 TestActionTimer actionTimer = new TestActionTimer(); in succeedWithUnknownTvDevice() local
153 OneTouchPlayAction action = createOneTouchPlayAction(playbackDevice, actionTimer, callback, in succeedWithUnknownTvDevice()
172 assertThat(actionTimer.getState()).isEqualTo(STATE_WAITING_FOR_REPORT_POWER_STATUS); in succeedWithUnknownTvDevice()
200 TestActionTimer actionTimer = new TestActionTimer(); in succeedAfterGettingPowerStatusOn_Cec14b() local
202 OneTouchPlayAction action = createOneTouchPlayAction(playbackDevice, actionTimer, callback, in succeedAfterGettingPowerStatusOn_Cec14b()
221 assertThat(actionTimer.getState()).isEqualTo(STATE_WAITING_FOR_REPORT_POWER_STATUS); in succeedAfterGettingPowerStatusOn_Cec14b()
249 TestActionTimer actionTimer = new TestActionTimer(); in succeedAfterGettingTransientPowerStatus_Cec14b() local
251 OneTouchPlayAction action = createOneTouchPlayAction(playbackDevice, actionTimer, callback, in succeedAfterGettingTransientPowerStatus_Cec14b()
[all …]
DRoutingControlActionTest.java221 TestActionTimer actionTimer = new TestActionTimer(); in testRoutingControl_succeedForDirectlyConnectedDevice() local
225 action.setActionTimer(actionTimer); in testRoutingControl_succeedForDirectlyConnectedDevice()
227 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_ROUTING_INFORMATION); in testRoutingControl_succeedForDirectlyConnectedDevice()
229 action.handleTimerEvent(actionTimer.getState()); in testRoutingControl_succeedForDirectlyConnectedDevice()
241 TestActionTimer actionTimer = new TestActionTimer(); in testRoutingControl_succeedForDeviceBehindSwitch() local
244 action.setActionTimer(actionTimer); in testRoutingControl_succeedForDeviceBehindSwitch()
247 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_ROUTING_INFORMATION); in testRoutingControl_succeedForDeviceBehindSwitch()
252 action.handleTimerEvent(actionTimer.getState()); in testRoutingControl_succeedForDeviceBehindSwitch()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecFeatureAction.java87 void setActionTimer(ActionTimer actionTimer) { in setActionTimer() argument
88 mActionTimer = actionTimer; in setActionTimer()