Home
last modified time | relevance | path

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

/external/openscreen/platform/impl/
Dtask_runner_unittest.cc25 constexpr Clock::duration kWaitTimeout = milliseconds(1000); variable
233 while ((Clock::now() - start1) < kWaitTimeout && !fake_waiter->IsWaiting()) { in TEST()
240 while ((Clock::now() - start2) < kWaitTimeout && x == 0) { in TEST()
257 while ((Clock::now() - start1) < kWaitTimeout && !fake_waiter->IsWaiting()) { in TEST()
264 while ((Clock::now() - start2) < kWaitTimeout && x == 0) { in TEST()
/external/webrtc/pc/
Dpeer_connection_signaling_unittest.cc45 const int64_t kWaitTimeout = 10000; variable
631 EXPECT_TRUE_WAIT(offer_observer->called(), kWaitTimeout); in TEST_P()
651 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
676 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
695 kWaitTimeout); in TEST_P()
713 kWaitTimeout); in TEST_P()
728 kWaitTimeout); in TEST_P()
744 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
764 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P()
826 EXPECT_TRUE_WAIT(offer_observer->was_called(), kWaitTimeout); in TEST_F()
Dpeer_connection_ice_unittest.cc50 constexpr int64_t kWaitTimeout = 10000; variable
717 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
766 EXPECT_TRUE_WAIT(answer_observer->called(), kWaitTimeout); in TEST_P()
788 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
822 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P()
/external/webrtc/rtc_base/
Dthread_unittest.cc705 enum { kWaitTimeout = 1000 }; enumerator
720 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
732 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
752 rtc::Thread::Current()->SleepMs(kWaitTimeout); in TEST_F()
791 Thread::Current()->SleepMs(kWaitTimeout); in TEST_F()