Home | History | Annotate | Download | only in cros

Lines Matching full:condition

14     a condition.
36 def wait_for_condition(condition, timeout_msg, timeout, process, crash_msg):
37 """Wait for callable |condition| to return true, while checking for crashes.
39 Poll for |condition| to become true, for |timeout| seconds. If the timeout
43 @param condition: a callable to poll on.
45 @param timeout: float number of seconds to poll on |condition|.
51 @raise: CrashError if process crashed and the condition never fired.
59 condition,
117 condition=lambda: cryptohome.is_vault_mounted(user),
134 condition=lambda: os.access(constants.OWNER_KEY_FILE, os.F_OK),