Lines Matching refs:PollForCondition
105 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()
333 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == runningThreads; })); in TEST_F()
359 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()
381 ASSERT_TRUE(PollForCondition([&]() { return mObserver.runningThreads == 0; })); in TEST_F()