Home
last modified time | relevance | path

Searched refs:device_port (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dgd_device.py708 def tcp_forward_or_die(self, host_port, device_port, num_retry=1): argument
716 error_or_port = self.adb.tcp_forward(host_port, device_port)
726 (self.label, host_port, device_port, num_retry))
729 return self.tcp_forward_or_die(host_port, device_port, num_retry=num_retry)
731 (host_port, device_port, error_or_port))
734 def tcp_reverse_or_die(self, device_port, host_port, num_retry=1): argument
742 error_or_port = self.adb.reverse(["tcp:%d" % device_port, "tcp:%d" % host_port])
744 logging.debug("device port %d was already reversed" % device_port)
745 return device_port
754 (self.label, device_port, host_port, num_retry))
[all …]
Dadb.py114 def tcp_forward(self, host_port, device_port): argument
132 output = self.forward(["tcp:%d" % host_port, "tcp:%d" % device_port])