Lines Matching refs:timeout
36 def _SshCallWait(cmd, timeout=None): argument
53 if timeout:
55 timer = threading.Timer(timeout, process.kill)
58 if timeout:
63 def _SshCall(cmd, timeout=None): argument
80 if timeout:
82 timer = threading.Timer(timeout, process.kill)
85 if timeout:
90 def _SshLogOutput(cmd, timeout=None, show_output=False): argument
113 if timeout:
115 timer = threading.Timer(timeout, process.kill)
124 if timeout:
133 def ShellCmdWithRetry(cmd, timeout=None, show_output=False): argument
157 timeout=timeout,
191 def Run(self, target_command, timeout=None, show_output=False): argument
208 timeout,
243 def CheckSshConnection(self, timeout): argument
255 if _SshCallWait(" ".join(remote_cmd), timeout) == 0:
261 def WaitForSsh(self, timeout=None, sleep_for_retry=_SSH_CMD_RETRY_SLEEP, argument
274 timeout_one_round = timeout / max_retry if timeout else None
281 timeout=timeout_one_round or _WAIT_FOR_SSH_MAX_TIMEOUT)