Searched refs:Buttons (Results 1 – 14 of 14) sorted by relevance
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/ |
D | jaybird_x3.py | 30 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 …]
|
D | earstudio_receiver.py | 28 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 …]
|
D | i6s_headset.py | 27 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 …]
|
D | dongles.py | 30 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 …]
|
D | fugu_remote.py | 25 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)
|
D | tao_tronics_headset.py | 25 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)
|
D | sony_xb2_speaker.py | 26 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)
|
D | sony_xb20_speaker.py | 25 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)
|
D | ak_xb10_speaker.py | 26 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)
|
D | logitech_headset.py | 28 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()
|
D | headset.py | 25 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)
|
D | skullcandy.py | 25 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)
|
D | power_supply.py | 23 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/ |
D | acts_relay_controller_test.py | 718 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]
|