Searched refs:pd_port (Results 1 – 2 of 2) sorted by relevance
/external/autotest/server/site_tests/firmware_PDDataSwap/ |
D | firmware_PDDataSwap.py | 163 def _attempt_data_swap(self, pd_port, direction): argument 184 dut_dr = self._get_data_role(self.dut_pd_utils, pd_port) 189 cmd = 'pd %d swap data' % pd_port 201 swap_dr = self._get_data_role(self.dut_pd_utils, pd_port) 209 def _execute_data_role_swap_test(self, pd_port): argument 228 ctrl_msg = self._attempt_data_swap(pd_port, direction) 233 self._attempt_data_swap(pd_port, 'tx') 235 def _test_data_swap_reject(self, pd_port): argument 247 dut_data_role = self._get_data_role(self.dut_pd_utils, pd_port) 248 dut_connect_state = self.dut_pd_utils.get_pd_state(pd_port) [all …]
|
/external/autotest/server/site_tests/firmware_PDPowerSwap/ |
D | firmware_PDPowerSwap.py | 66 def _attempt_power_swap(self, pd_port, direction): argument 79 dut_pr = self.dut_pd_utils.get_pd_state(pd_port) 85 port = pd_port 93 def _test_power_swap_reject(self, pd_port): argument 105 dut_power_role = self.dut_pd_utils.get_pd_state(pd_port) 113 pd_state = self.dut_pd_utils.get_pd_state(pd_port) 152 pd_port = self.connect_utils.find_dut_to_plankton_connection() 153 if pd_port is None: 155 dut_connect_state = self.dut_pd_utils.get_pd_state(pd_port) 163 self._test_power_swap_reject(pd_port) [all …]
|