Home
last modified time | relevance | path

Searched refs:port_pair (Results 1 – 4 of 4) sorted by relevance

/external/autotest/server/site_tests/firmware_PDTrySrc/
Dfirmware_PDTrySrc.py100 port_pair = port_partner.identify_pd_devices()
101 if not port_pair:
111 for side in xrange(len(port_pair)):
113 if not port_pair[side].drp_set('on'):
117 if port_pair[side].is_plankton:
123 if not port_pair[d_idx].try_src(True):
126 stats_on = self._execute_connect_sequence(port_pair[p_idx])
128 port_pair[d_idx].try_src(False)
130 stats_off = self._execute_connect_sequence(port_pair[p_idx])
132 port_pair[d_idx].try_src(True)
/external/autotest/server/site_tests/firmware_PDResetSoft/
Dfirmware_PDResetSoft.py26 def _test_soft_reset(self, port_pair): argument
31 for dev in port_pair:
67 port_pair = port_partner.identify_pd_devices()
68 if not port_pair:
72 self._test_soft_reset(port_pair)
75 if port_pair[0].pr_swap() == False:
82 self._test_soft_reset(port_pair)
/external/autotest/server/site_tests/firmware_PDResetHard/
Dfirmware_PDResetHard.py25 def _test_hard_reset(self, port_pair): argument
30 for dev in port_pair:
66 port_pair = port_partner.identify_pd_devices()
67 if not port_pair:
71 self._test_hard_reset(port_pair)
74 if port_pair[0].pr_swap() == False:
81 self._test_hard_reset(port_pair)
/external/autotest/server/site_tests/firmware_PDConnect/
Dfirmware_PDConnect.py24 def _test_connect(self, port_pair): argument
31 for dev in port_pair:
62 port_pair = port_partner.identify_pd_devices()
63 if not port_pair:
67 self._test_connect(port_pair)
73 for dev in port_pair:
82 self._test_connect(port_pair)