Lines Matching refs:timeout
36 def wait_for_condition(condition, timeout_msg, timeout, process, crash_msg):
39 Poll for |condition| to become true, for |timeout| seconds. If the timeout
45 @param timeout: float number of seconds to poll on |condition|.
50 @raise: TimeoutError if timeout is reached.
61 timeout=timeout)
71 def wait_for_browser(timeout=cros_ui.RESTART_UI_TIMEOUT):
74 @param timeout: float number of seconds to wait.
76 @raise: TimeoutError: Chrome didn't start before timeout.
81 timeout=timeout,
86 def wait_for_browser_exit(crash_msg, timeout=cros_ui.RESTART_UI_TIMEOUT):
90 @param timeout: float number of seconds to wait.
100 timeout=timeout,
108 def wait_for_cryptohome(user, timeout=cros_ui.RESTART_UI_TIMEOUT):
112 @param timeout: float number of seconds to wait.
114 @raise: TimeoutError: cryptohome wasn't mounted before timeout
119 timeout=timeout,
124 def wait_for_ownership(timeout=constants.DEFAULT_OWNERSHIP_TIMEOUT):
127 @param timeout: float number of seconds to wait.
129 @raise: TimeoutError: file didn't appear before timeout.
136 timeout=timeout,