Searched refs:device_port (Results 1 – 1 of 1) sorted by relevance
/system/bt/gd/cert/ |
D | gd_device.py | 566 def tcp_forward_or_die(self, host_port, device_port, num_retry=1): argument 574 error_or_port = self.adb.tcp_forward(host_port, device_port) 584 … "device port %d, num_retries left is %d" % (self.label, host_port, device_port, num_retry)) 586 return self.tcp_forward_or_die(host_port, device_port, num_retry=num_retry) 588 …ble to forward host port %d to device port %d, error %s' % (host_port, device_port, error_or_port)) 591 def tcp_reverse_or_die(self, device_port, host_port, num_retry=1): argument 599 error_or_port = self.adb.reverse("tcp:%d tcp:%d" % (device_port, host_port)) 601 logging.debug("device port %d was already reversed" % device_port) 602 return device_port 611 … "host port %d, num_retries left is %d" % (self.label, device_port, host_port, num_retry)) [all …]
|