Home | History | Annotate | Download | only in testrunner

Lines Matching refs:wait_time

307   def WaitForDevicePm(self, wait_time=120):
311 wait_time: time in seconds to wait
314 WaitForResponseTimedOutError if wait_time elapses and pm still does not
323 wait_time)
326 "Package manager did not respond after %s seconds" % wait_time)
328 def WaitForInstrumentation(self, package_name, runner_name, wait_time=120):
332 wait_time: time in seconds to wait
335 WaitForResponseTimedOutError if wait_time elapses and instrumentation
343 self._WaitForShellCommandContents(command, "instrumentation:", wait_time,
352 def WaitForProcess(self, name, wait_time=120):
357 wait_time: time in seconds to wait
360 WaitForResponseTimedOutError if wait_time elapses and the process is
365 self._WaitForShellCommandContents("ps", name, wait_time)
367 def WaitForProcessEnd(self, name, wait_time=120):
372 wait_time: time in seconds to wait
375 WaitForResponseTimedOutError if wait_time elapses and the process is
379 self._WaitForShellCommandContents("ps", name, wait_time, invert=True)
381 def _WaitForShellCommandContents(self, command, expected, wait_time,
392 wait_time: time in seconds to wait
399 WaitForResponseTimedOutError: If wait_time elapses and the command has not
406 while not success and (attempts*wait_period) < wait_time:
425 def WaitForBootComplete(self, wait_time=120):
429 wait_time: time in seconds to wait
432 WaitForResponseTimedOutError if wait_time elapses and pm still does not
442 while not boot_complete and (attempts*wait_period) < wait_time:
452 "dev.bootcomplete flag was not set after %s seconds" % wait_time)