Home
last modified time | relevance | path

Searched refs:HasPendingTask (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/threading/
Dpost_task_and_reply_impl_unittest.cc112 EXPECT_TRUE(post_runner_->HasPendingTask()); in PostTaskAndReplyToMockObject()
113 EXPECT_FALSE(reply_runner_->HasPendingTask()); in PostTaskAndReplyToMockObject()
144 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
145 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
155 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
156 EXPECT_FALSE(reply_runner_->HasPendingTask()); in TEST_F()
165 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
166 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
187 EXPECT_FALSE(post_runner_->HasPendingTask()); in TEST_F()
188 EXPECT_TRUE(reply_runner_->HasPendingTask()); in TEST_F()
/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc231 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
233 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
241 EXPECT_TRUE(task_runner->HasPendingTask()); in TEST()
245 EXPECT_FALSE(task_runner->HasPendingTask()); in TEST()
Dtest_simple_task_runner.cc56 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask() function in base::TestSimpleTaskRunner
99 while (HasPendingTask()) in RunUntilIdle()
Dtest_simple_task_runner.h56 bool HasPendingTask() const;
Dtest_mock_time_task_runner.h180 bool HasPendingTask();
Dscoped_task_environment.cc177 return mock_time_task_runner_->HasPendingTask(); in MainThreadHasPendingTask()
Dtest_mock_time_task_runner.cc315 bool TestMockTimeTaskRunner::HasPendingTask() { in HasPendingTask() function in base::TestMockTimeTaskRunner
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc600 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
607 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
623 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
637 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
648 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
665 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
712 EXPECT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
2780 ASSERT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
2787 EXPECT_FALSE(test_task_runner_->HasPendingTask()); in TEST_P()
2790 ASSERT_TRUE(test_task_runner_->HasPendingTask()); in TEST_P()
[all …]
/external/libchrome/components/policy/core/common/
Dpolicy_statistics_collector_unittest.cc116 if (!task_runner_->HasPendingTask()) { in GetFirstDelay()