Home | History | Annotate | Download | only in testrunner

Lines Matching refs:wait_time

326   def WaitForDevicePm(self, wait_time=120):
330 wait_time: time in seconds to wait
333 WaitForResponseTimedOutError if wait_time elapses and pm still does not
342 wait_time)
345 "Package manager did not respond after %s seconds" % wait_time)
358 def WaitForProcess(self, name, wait_time=120):
363 wait_time: time in seconds to wait
366 WaitForResponseTimedOutError if wait_time elapses and the process is
371 self._WaitForShellCommandContents("ps", name, wait_time)
373 def WaitForProcessEnd(self, name, wait_time=120):
378 wait_time: time in seconds to wait
381 WaitForResponseTimedOutError if wait_time elapses and the process is
385 self._WaitForShellCommandContents("ps", name, wait_time, invert=True)
387 def _WaitForShellCommandContents(self, command, expected, wait_time,
398 wait_time: time in seconds to wait
405 WaitForResponseTimedOutError: If wait_time elapses and the command has not
412 while not success and (attempts*wait_period) < wait_time:
431 def WaitForBootComplete(self, wait_time=120):
435 wait_time: time in seconds to wait
438 WaitForResponseTimedOutError if wait_time elapses and pm still does not
448 while not boot_complete and (attempts*wait_period) < wait_time:
458 "dev.bootcomplete flag was not set after %s seconds" % wait_time)