Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/firmware_PDPowerSwap/
Dfirmware_PDPowerSwap.py87 elif self.dut_port.is_snk(dut_pr) and self.pdtester_port.is_snk(
160 if not self.dut_port.is_snk():
161 if self._attempt_power_swap('rx') == False or not self.dut_port.is_snk():
167 if not self.dut_port.is_snk(new_state):
/external/autotest/server/cros/servo/
Dpd_device.py35 def is_snk(self, state=None): member in PDDevice
48 return self.is_src(state) or self.is_snk(state)
215 def is_snk(self, state=None): member in PDConsoleDevice
235 return self.is_snk(state) or self.is_src(state)
642 elif self.is_snk():
679 elif self.is_snk():
790 port1_is_snk = port1.is_snk(state1)
794 port2_is_snk = port2.is_snk(state2)
/external/autotest/server/site_tests/firmware_PDVbusRequest/
Dfirmware_PDVbusRequest.py223 if self.pdtester_port.is_snk(pdtester_state):
261 if not self.dut_port.is_snk():
265 if not self.dut_port.is_snk():
/external/autotest/server/site_tests/firmware_PDTrySrc/
Dfirmware_PDTrySrc.py65 if pdtester_dev.is_snk(state):