Home
last modified time | relevance | path

Searched refs:Buttons (Results 1 – 14 of 14) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Djaybird_x3.py30 class Buttons(enum.Enum): class
43 self._ensure_config_contains_relays(button.value for button in Buttons)
49 self.relays[Buttons.POWER.value].set_nc_for(LONG_PRESS_WAIT_TIME)
56 self.relays[Buttons.POWER.value].set_nc_for(POWER_ON_WAIT_TIME)
64 self.relays[Buttons.POWER.value].set_nc_for(LONG_PRESS_WAIT_TIME)
69 self.relays[Buttons.POWER.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
74 self.relays[Buttons.POWER.value].set_nc_for(MED_PRESS_WAIT_TIME)
79 self.relays[Buttons.POWER.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
84 self.relays[Buttons.POWER.value].set_nc_for(MED_PRESS_WAIT_TIME)
89 self.relays[Buttons.VOLUME_UP.value].set_nc_for(MED_PRESS_WAIT_TIME)
[all …]
Dearstudio_receiver.py28 class Buttons(enum.Enum): class
40 self._ensure_config_contains_relays(button.value for button in Buttons)
51 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME)
60 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(LONG_PRESS_WAIT_TIME)
69 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
78 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
86 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME)
94 self.relays[Buttons.PLAY_PAUSE.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
99 self.relays[Buttons.NEXT.value].set_nc_for(SHORT_PRESS_WAIT_TIME)
109 self.relays[Buttons.NEXT.value].set_nc_for(MEDIUM_PRESS_WAIT_TIME)
[all …]
Di6s_headset.py27 class Buttons(enum.Enum): class
41 self._ensure_config_contains_relays(button.value for button in Buttons)
49 self.relays[Buttons.PAIR.value].set_no_for(PAIRING_MODE_WAIT_TIME)
53 self.relays[Buttons.PAIR.value].set_no_for(PAIRING_MODE_WAIT_TIME)
57 self.relays[Buttons.POWER.value].set_no_for(WAIT_TIME)
65 self.relays[Buttons.PLAY_PAUSE.value].set_no_for(WAIT_TIME)
69 self.relays[Buttons.NEXT.value].set_no_for(WAIT_TIME)
73 self.relays[Buttons.PREVIOUS.value].set_no_for(WAIT_TIME)
77 self.relays[Buttons.VOLUME_UP.value].set_no_for(WAIT_TIME)
81 self.relays[Buttons.VOLUME_DOWN.value].set_no_for(WAIT_TIME)
[all …]
Ddongles.py30 class Buttons(enum.Enum): class
44 self._ensure_config_contains_relay(Buttons.ACTION.value)
51 self.relays[Buttons.ACTION.value].set_nc_for(
56 self.relays[Buttons.ACTION.value].set_nc_for(
61 self.relays[Buttons.ACTION.value].set_nc_for(
82 self._ensure_config_contains_relays(button.value for button in Buttons)
97 self.relays[Buttons.ACTION.value].set_nc_for(
102 self.relays[Buttons.ACTION.value].set_nc_for(
108 self.relays[Buttons.ACTION.value].set_nc_for(
114 self.relays[Buttons.NEXT.value].set_nc_for(
[all …]
Dfugu_remote.py25 class Buttons(enum.Enum): class
39 self._ensure_config_contains_relays(button.value for button in Buttons)
59 self.hold_down(Buttons.HOME.value)
60 self.hold_down(Buttons.BACK.value)
65 self.release(Buttons.HOME.value)
66 self.release(Buttons.BACK.value)
70 self.press(Buttons.PLAY_PAUSE.value)
74 self.press(Buttons.HOME.value)
78 self.press(Buttons.BACK.value)
Dtao_tronics_headset.py25 class Buttons(enum.Enum): class
37 self._ensure_config_contains_relays(button.value for button in Buttons)
49 self.relays[Buttons.PLAY_PAUSE.value].set_no_for(WAIT_TIME)
53 self.relays[Buttons.NEXT.value].set_no_for(WAIT_TIME)
57 self.relays[Buttons.PREVIOUS.value].set_no_for(WAIT_TIME)
61 self.relays[Buttons.VOLUME_UP.value].set_no_for(WAIT_TIME)
65 self.relays[Buttons.VOLUME_DOWN.value].set_no_for(WAIT_TIME)
70 self.press(Buttons.PLAY_PAUSE.value)
76 self.press(Buttons.PLAY_PAUSE.value)
Dsony_xb2_speaker.py26 class Buttons(enum.Enum): class
39 self._ensure_config_contains_relays(button.value for button in Buttons)
47 self._hold_button(Buttons.POWER, POWER_ON_WAIT_TIME)
50 self._hold_button(Buttons.POWER, POWER_OFF_WAIT_TIME)
53 self._hold_button(Buttons.PAIR, PAIRING_MODE_WAIT_TIME)
Dsony_xb20_speaker.py25 class Buttons(enum.Enum): class
37 self._ensure_config_contains_relays(button.value for button in Buttons)
45 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
48 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
51 self._hold_button(Buttons.POWER, PAIRING_MODE_WAIT_TIME)
Dak_xb10_speaker.py26 class Buttons(enum.Enum): class
39 self._ensure_config_contains_relays(button.value for button in Buttons)
47 self._hold_button(Buttons.POWER, POWER_ON_WAIT_TIME)
50 self._hold_button(Buttons.POWER, POWER_OFF_WAIT_TIME)
53 self._hold_button(Buttons.PAIR, PAIRING_MODE_WAIT_TIME)
Dlogitech_headset.py28 class Buttons(enum.Enum): class
36 self._ensure_config_contains_relays(button.value for button in Buttons)
48 self.relays[Buttons.POWER.value].set_nc()
52 self.relays[Buttons.PAIR.value].set_nc()
Dheadset.py25 class Buttons(enum.Enum): class
36 self._ensure_config_contains_relays(button.value for button in Buttons)
44 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
47 self._hold_button(Buttons.POWER, PAIRING_MODE_WAIT_TIME)
Dskullcandy.py25 class Buttons(enum.Enum): class
37 self._ensure_config_contains_relays(button.value for button in Buttons)
45 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
48 self._hold_button(Buttons.POWER, PAIRING_MODE_WAIT_TIME)
Dpower_supply.py23 class Buttons(enum.Enum): class
34 self._ensure_config_contains_relays(button.value for button in Buttons)
42 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py718 fugu_remote.Buttons.BACK.value: 'MockBoard/1',
719 fugu_remote.Buttons.HOME.value: 'MockBoard/2',
720 fugu_remote.Buttons.PLAY_PAUSE.value: 'MockBoard/3'
733 del flawed_config['relays'][fugu_remote.Buttons.BACK.value]