Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DPrivateDnsConfigurationTest.cpp105 EXPECT_TRUE(PollForCondition([&]() { return checkPrivateDnsStatus(mode); })); in expectPrivateDnsStatus()
149 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
163 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
177 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
198 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
209 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()
214 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 2; })); in TEST_F()
236 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
253 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()
265 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h197 bool PollForCondition(const std::function<bool()>& condition,
Dresolv_test_utils.cpp140 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition() function
Dresolv_integration_test.cpp5454 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()
6458 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()