Home
last modified time | relevance | path

Searched refs:RelayState (Results 1 – 6 of 6) sorted by relevance

/tools/test/connectivity/acts/framework/tests/
Dacts_relay_controller_test.py28 from acts.controllers.relay_lib.relay import RelayState
48 self.relay_states[relay_position] = RelayState.NO
49 self.relay_previous_states[relay_position] = RelayState.NO
72 self.board.set(self.relay.position, RelayState.NO)
79 self.board.set(self.relay.position, RelayState.NO)
82 self.board.get_relay_status(self.relay.position), RelayState.NC)
85 self.board.set(self.relay.position, RelayState.NC)
88 self.board.get_relay_status(self.relay.position), RelayState.NC)
91 self.board.set(self.relay.position, RelayState.NC)
94 self.board.get_relay_status(self.relay.position), RelayState.NO)
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Drelay.py23 class RelayState(Enum): class
87 self.set(RelayState.NO)
95 self.set(RelayState.NC)
101 if self.get_status() == RelayState.NO:
102 self.set(RelayState.NC)
104 self.set(RelayState.NO)
122 if state is not RelayState.NO and state is not RelayState.NC:
125 (state, [state for state in RelayState]))
Dsain_smart_board.py22 from acts.controllers.relay_lib.relay import RelayState
107 RelayState.NC if char == '1' else RelayState.NO)
130 if no_or_nc == RelayState.NC:
Dsain_smart_8_channel_usb_relay_board.py17 from acts.controllers.relay_lib.relay import RelayState
79 if value == RelayState.NO:
Drdl_relay_board.py17 from acts.controllers.relay_lib.relay import RelayState
31 if value == RelayState.NO:
Dusb_relay_board_base.py17 from acts.controllers.relay_lib.relay import RelayState