Searched refs:TimedWait (Results 1 – 11 of 11) sorted by relevance
31 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()35 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()69 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()73 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()76 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()209 TEST(WaitableEventTest, TimedWait) { in TEST() argument220 EXPECT_TRUE(ev->TimedWait(TimeDelta::Max())); in TEST()234 ev.TimedWait(delay); in TEST()
167 cv.TimedWait(kTenMs); // Wait for 10 ms. in TEST_F()168 cv.TimedWait(kTenMs); // Wait for 10 ms. in TEST_F()172 cv.TimedWait(kTenMs); // Wait for 10 ms. in TEST_F()173 cv.TimedWait(kTenMs); // Wait for 10 ms. in TEST_F()174 cv.TimedWait(kTenMs); // Wait for 10 ms. in TEST_F()188 cv.TimedWait(WAIT_TIME + FUDGE_TIME); in TEST_F()235 cv.TimedWait(kWaitTime + kFudgeTime); in TEST_F()761 private_cv.TimedWait(work_time); // Unsynchronized waiting. in ThreadMain()
97 void TimedWait(const TimeDelta& max_time);
158 bool WaitableEvent::TimedWait(const TimeDelta& wait_delta) { in TimedWait() function in base::WaitableEvent221 sw.cv()->TimedWait(max_wait); in TimedWaitUntil()
104 bool TimedWait(const TimeDelta& wait_delta);
78 void ConditionVariable::TimedWait(const TimeDelta& max_time) { in TimedWait() function in base::ConditionVariable
155 EXPECT_TRUE(thread.done_event()->TimedWait(kReceiveTimeout)); in TEST_F()168 EXPECT_TRUE(thread.done_event()->TimedWait(kReceiveTimeout)); in TEST_F()
39 return event_.TimedWait(base::TimeDelta::FromMilliseconds(timeout_ms)); in WaitWithTimeout()
309 task_completed_.TimedWait(TimeDelta::FromMilliseconds(1)); in DisallowRunTasks()
80 ASSERT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(5000))); in TEST()
504 const bool signaled = on_shutdown_.TimedWait(timeout); in ShutdownOnDBusThreadAndBlock()