Home
last modified time | relevance | path

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

/external/libbrillo/brillo/message_loops/
Dmessage_loop_utils.cc16 bool timeout_called = false; in MessageLoopRunUntil() local
19 base::Bind([](bool* timeout_called) { *timeout_called = true; }, in MessageLoopRunUntil() argument
20 base::Unretained(&timeout_called)), in MessageLoopRunUntil()
22 while (!timeout_called && (terminate.is_null() || !terminate.Run())) in MessageLoopRunUntil()
25 if (!timeout_called) in MessageLoopRunUntil()
Dmessage_loop_unittest.cc309 int timeout_called = 0; in TYPED_TEST() local
313 [this, &timeout_called, &total_calls, &timeout_callback, &timeout_task] { in TYPED_TEST()
314 timeout_called++; in TYPED_TEST()
353 EXPECT_GE(timeout_called, 10); in TYPED_TEST()