Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Di6s_headset.py28 class Buttons(enum.Enum): class
46 for button in Buttons:
54 self.relays[Buttons.Pair.value].set_no_for(PAIRING_MODE_WAIT_TIME)
68 self.relays[Buttons.Pair.value].set_no_for(PAIRING_MODE_WAIT_TIME)
72 self.relays[Buttons.Power.value].set_no_for(WAIT_TIME)
80 self.relays[Buttons.Play_pause.value].set_no_for(WAIT_TIME)
84 self.relays[Buttons.Next.value].set_no_for(WAIT_TIME)
88 self.relays[Buttons.Previous.value].set_no_for(WAIT_TIME)
92 self.relays[Buttons.Volume_up.value].set_no_for(WAIT_TIME)
96 self.relays[Buttons.Volume_down.value].set_no_for(WAIT_TIME)
[all …]
Dfugu_remote.py27 class Buttons(enum.Enum): class
45 for button in Buttons:
71 self.hold_down(Buttons.HOME.value)
72 self.hold_down(Buttons.BACK.value)
77 self.release(Buttons.HOME.value)
78 self.release(Buttons.BACK.value)
82 self.press(Buttons.PLAY_PAUSE.value)
86 self.press(Buttons.HOME.value)
90 self.press(Buttons.BACK.value)
Ddongles.py32 class Buttons(enum.Enum): class
50 self.ensure_config_contains_relay(Buttons.ACTION.value)
70 self.relays[Buttons.ACTION.value].set_nc_for(
75 self.relays[Buttons.ACTION.value].set_nc_for(
80 self.relays[Buttons.ACTION.value].set_nc_for(
97 for button in Buttons:
118 self.relays[Buttons.ACTION.value].set_nc_for(
123 self.relays[Buttons.ACTION.value].set_nc_for(
129 self.relays[Buttons.ACTION.value].set_nc_for(
135 self.relays[Buttons.NEXT.value].set_nc_for(
[all …]
Dsony_xb20_speaker.py29 class Buttons(enum.Enum): class
43 for button in Buttons:
57 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
60 self._hold_button(Buttons.POWER, POWER_TOGGLE_WAIT_TIME)
63 self._hold_button(Buttons.POWER, PAIRING_MODE_WAIT_TIME)
Dak_xb10_speaker.py32 class Buttons(enum.Enum): class
48 for button in Buttons:
62 self._hold_button(Buttons.POWER, POWER_ON_WAIT_TIME)
65 self._hold_button(Buttons.POWER, POWER_OFF_WAIT_TIME)
68 self._hold_button(Buttons.PAIR, PAIRING_MODE_WAIT_TIME)
Dsony_xb2_speaker.py32 class Buttons(enum.Enum): class
48 for button in Buttons:
62 self._hold_button(Buttons.POWER, POWER_ON_WAIT_TIME)
65 self._hold_button(Buttons.POWER, POWER_OFF_WAIT_TIME)
68 self._hold_button(Buttons.PAIR, PAIRING_MODE_WAIT_TIME)
Dlogitech_headset.py30 class Buttons(enum.Enum): class
40 for button in Buttons:
62 self.relays[Buttons.Power.value].set_nc()
66 self.relays[Buttons.Pair.value].set_nc()
/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py721 fugu_remote.Buttons.BACK.value: 'MockBoard/1',
722 fugu_remote.Buttons.HOME.value: 'MockBoard/2',
723 fugu_remote.Buttons.PLAY_PAUSE.value: 'MockBoard/3'
736 del flawed_config['relays'][fugu_remote.Buttons.BACK.value]