Lines Matching refs:timeout
98 def bash(self, cmd, timeout): argument
103 stdin, stdout, stderr = self.__handle.exec_command(cmd, timeout=timeout)
129 self.__handle = serial.Serial(port, baudrate, timeout=0)
143 line = self.__bashReadLine(timeout=1)
180 def bash(self, cmd, timeout=10): argument
186 self.__bashExpect(cmd, timeout=timeout, endswith=True)
190 deadline = time.time() + timeout
206 def __bashExpect(self, expected, timeout=20, endswith=False): argument
209 deadline = time.time() + timeout
232 def __bashRead(self, timeout=1): argument
233 deadline = time.time() + timeout
249 def __bashReadLine(self, timeout=1): argument
258 tail += self.__bashRead(timeout=timeout)
287 while self.__bashReadLine(timeout=0) is not None:
344 def _beforeRegisterMulticast(self, sAddr='ff04::1234:777a:1', timeout=300): argument
352 self.externalCommissioner.MLR([sAddr], timeout)
382 def bash(self, cmd, timeout=DEFAULT_COMMAND_TIMEOUT, sudo=True): argument
383 return self.bash_unwatched(cmd, timeout=timeout, sudo=sudo)
385 def bash_unwatched(self, cmd, timeout=DEFAULT_COMMAND_TIMEOUT, sudo=True): argument
389 return self.__handle.bash(cmd, timeout=timeout)
438 def ping(self, strDestination, ilength=0, hop_limit=5, timeout=5): argument
460 int(timeout),
465 time.sleep(timeout)