Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DPrivateDnsConfigurationTest.cpp116 EXPECT_TRUE(PollForCondition([&]() { return checkPrivateDnsStatus(mode); })); in expectPrivateDnsStatus()
160 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
174 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
188 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
209 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
220 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()
225 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 2; })); in TEST_F()
247 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
264 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 1; })); in TEST_F()
276 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.cpp143 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition() function
Dresolv_test_utils.h428 bool PollForCondition(const std::function<bool()>& condition,
Dresolv_integration_test.cpp889 EXPECT_TRUE(PollForCondition([&]() { return GetNumQueries(dns1, host_name_deferred); })); in TEST_F()
908 EXPECT_TRUE(PollForCondition([&]() { return t2_sv_setup_done; })); in TEST_F()
5644 EXPECT_TRUE(PollForCondition([&]() { return unresponsiveTls.acceptConnectionsCount() == 1; })); in TEST_F()
5720 EXPECT_TRUE(PollForCondition( in TEST_F()
5838 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()
7510 EXPECT_TRUE(PollForCondition(condition)); in TEST_F()