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

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

Completed in 111 milliseconds