Home
last modified time | relevance | path

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

/system/bt/gd/cert/
Dgd_device.py566 def tcp_forward_or_die(self, host_port, device_port, num_retry=1): argument
579 if num_retry > 0:
581 num_retry -= 1
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)
591 def tcp_reverse_or_die(self, device_port, host_port, num_retry=1): argument
606 if num_retry > 0:
608 num_retry -= 1
611 … "host port %d, num_retries left is %d" % (self.label, device_port, host_port, num_retry))
613 return self.tcp_reverse_or_die(device_port, host_port, num_retry=num_retry)