Home
last modified time | relevance | path

Searched refs:next_timeout (Results 1 – 1 of 1) sorted by relevance

/system/security/keystore2/src/
Dwatchdog.rs76 let mut next_timeout: Option<Duration> = None; in update_overdue_and_find_next_timeout() localVariable
84 next_timeout = match next_timeout { in update_overdue_and_find_next_timeout()
95 (has_overdue, next_timeout) in update_overdue_and_find_next_timeout()
266 let (has_overdue, next_timeout) = state.update_overdue_and_find_next_timeout(); in spawn_thread()
268 let (next_timeout, idle) = match (has_overdue, next_timeout) { in spawn_thread()
269 (true, Some(next_timeout)) => { in spawn_thread()
270 (min(next_timeout, Self::NOISY_REPORT_TIMEOUT), false) in spawn_thread()
272 (false, Some(next_timeout)) => (next_timeout, false), in spawn_thread()
277 let (s, timeout) = condvar.wait_timeout(state, next_timeout).unwrap(); in spawn_thread()