Lines Matching refs:wait_time
318 def WaitForDevicePm(self, wait_time=120):
322 wait_time: time in seconds to wait
325 WaitForResponseTimedOutError if wait_time elapses and pm still does not
334 wait_time)
337 "Package manager did not respond after %s seconds" % wait_time)
350 def WaitForProcess(self, name, wait_time=120):
355 wait_time: time in seconds to wait
358 WaitForResponseTimedOutError if wait_time elapses and the process is
363 self._WaitForShellCommandContents("ps", name, wait_time)
365 def WaitForProcessEnd(self, name, wait_time=120):
370 wait_time: time in seconds to wait
373 WaitForResponseTimedOutError if wait_time elapses and the process is
377 self._WaitForShellCommandContents("ps", name, wait_time, invert=True)
379 def _WaitForShellCommandContents(self, command, expected, wait_time,
390 wait_time: time in seconds to wait
397 WaitForResponseTimedOutError: If wait_time elapses and the command has not
404 while not success and (attempts*wait_period) < wait_time:
423 def WaitForBootComplete(self, wait_time=120):
427 wait_time: time in seconds to wait
430 WaitForResponseTimedOutError if wait_time elapses and pm still does not
440 while not boot_complete and (attempts*wait_period) < wait_time:
450 "dev.bootcomplete flag was not set after %s seconds" % wait_time)