Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/firmware_PDPowerSwap/
Dfirmware_PDPowerSwap.py73 dut_pr = self.dut_port.get_pd_state()
77 port = self.dut_port
84 if self.dut_port.is_src(dut_pr) and self.pdtester_port.is_src(
87 elif self.dut_port.is_snk(dut_pr) and self.pdtester_port.is_snk(
103 dut_power_role = self.dut_port.get_pd_state()
106 if ctrl_msg != self.dut_port.utils.PD_CONTROL_MSG_DICT['Reject']:
110 pd_state = self.dut_port.get_pd_state()
130 if not self.dut_port.is_src():
131 if self._attempt_power_swap('rx') == False or not self.dut_port.is_src():
136 new_state = self.dut_port.get_pd_state()
[all …]
/external/autotest/server/site_tests/firmware_PDDataSwap/
Dfirmware_PDDataSwap.py77 pd_state = self.dut_port.get_pd_state()
78 if self.dut_port.is_src():
131 dut_dr = self._get_data_role(self.dut_port)
135 cmd = 'pd %d swap data' % self.dut_port.port
137 self.dut_port.utils.send_pd_command(cmd)
146 swap_dr = self._get_data_role(self.dut_port)
150 ctrl != self.dut_port.utils.PD_CONTROL_MSG_DICT['Reject']):
176 self.dut_port.utils.PD_CONTROL_MSG_DICT['Reject']):
190 dut_data_role = self._get_data_role(self.dut_port)
191 dut_connect_state = self.dut_port.get_pd_state()
[all …]
/external/autotest/server/site_tests/firmware_PDVbusRequest/
Dfirmware_PDVbusRequest.py134 self.dut_port = port
136 dut_connect_state = self.dut_port.get_pd_state()
139 if not self.dut_port.is_connected(dut_connect_state):
261 if not self.dut_port.is_snk():
263 self.dut_port.drp_set('snk')
265 if not self.dut_port.is_snk():
282 cmd = 'pd %d dev %d' % (self.dut_port.port, v)
283 self.dut_port.utils.send_pd_command(cmd)
293 cmd = 'pd %d dev %d' % (self.dut_port.port, dut_voltage_limit)
294 self.dut_port.utils.send_pd_command(cmd)
[all …]
/external/autotest/server/cros/servo/
Dpd_device.py807 def _verify_pdtester_connection(self, tester_port, dut_port): argument
825 logging.info("Check: %s <--> %s", tester_port, dut_port)
827 if not self._check_port_pair(tester_port, dut_port):
837 dut_state = dut_port.get_pd_state()
839 tester_port, tester_state, dut_state, dut_port)
842 dut_port.is_disconnected(dut_state)):
853 if self._check_port_pair(tester_port, dut_port):
/external/openthread/tools/harness-automation/autothreadharness/
Dharness_case.py279 dut_port = settings.DUT_DEVICE[0]
280 dut = OpenThreadController(dut_port)