Lines Matching refs:timeout
46 def execute_command(self, cmd: str, timeout: float) -> List[str]:
55 def execute_platform_command(self, cmd: str, timeout: float) -> List[str]:
84 def shell(self, cmd: str, timeout: float) -> List[str]:
122 def execute_command(self, cmd, timeout=10) -> List[str]: argument
133 self.__expect_line(timeout, cmd)
135 output = self.__expect_line(timeout,
140 def execute_platform_command(self, cmd, timeout=10) -> List[str]: argument
169 …def __expect_line(self, timeout: float, expect_line: Union[str, Pattern], asynchronous=False) -> L…
175 line = self.__pending_lines.get(timeout=timeout)
185 while not done and timeout > 0:
187 timeout -= 1
259 def execute_command(self, cmd: str, timeout: float) -> List[str]:
264 output = self.shell(sh_cmd, timeout=timeout)
275 def execute_platform_command(self, cmd, timeout=10) -> List[str]: argument
279 return self.shell(cmd, timeout=timeout)
281 def shell(self, cmd: str, timeout: float) -> List[str]:
282 cmd_in, cmd_out, cmd_err = self.__ssh.exec_command(cmd, timeout=int(timeout), bufsize=1024)
311 def execute_command(self, cmd: str, timeout: float) -> List[str]:
314 output = self.shell(sh_cmd, timeout=timeout)
325 def execute_platform_command(self, cmd: str, timeout: float = 10) -> List[str]:
326 return self.shell(cmd, timeout=timeout)
328 def shell(self, cmd: str, timeout: float) -> List[str]:
329 return self.__adb.shell(cmd, transport_timeout_s=timeout, read_timeout_s=timeout,
330 timeout_s=timeout).splitlines()