Home
last modified time | relevance | path

Searched refs:PostNestedTask (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtest_task_factory.cc35 bool TestTaskFactory::PostTask(PostNestedTask post_nested_task, in PostTask()
51 PostNestedTask post_nested_task, in RunTaskCallback()
53 if (post_nested_task == PostNestedTask::YES) in RunTaskCallback()
54 PostTask(PostNestedTask::NO, Closure()); in RunTaskCallback()
Dtest_task_factory.h39 enum class PostNestedTask { enum
56 bool PostTask(PostNestedTask post_nested_task,
67 PostNestedTask post_nested_task,
Dscheduler_worker_pool_unittest.cc55 using PostNestedTask = test::TestTaskFactory::PostNestedTask; typedef
65 PostNestedTask post_nested_task) in ThreadPostingTasks()
87 const PostNestedTask post_nested_task_;
174 worker_pool_.get(), GetParam().execution_mode, PostNestedTask::NO)); in TEST_P()
196 worker_pool_.get(), GetParam().execution_mode, PostNestedTask::YES)); in TEST_P()
Dscheduler_worker_pool_impl_unittest.cc161 using PostNestedTask = test::TestTaskFactory::PostNestedTask; typedef
185 EXPECT_TRUE(factory_.PostTask(PostNestedTask::NO, Closure())); in Run()
233 PostNestedTask::NO, in TEST_P()
244 EXPECT_TRUE(short_task_factory.PostTask(PostNestedTask::NO, Closure())); in TEST_P()
267 PostNestedTask::NO, in TEST_P()
500 PostNestedTask::NO, in TEST_F()
522 PostNestedTask::NO, in TEST_F()
Dtask_scheduler_impl_unittest.cc175 factory_.PostTask(test::TestTaskFactory::PostNestedTask::NO, in Run()
308 factory.PostTask(test::TestTaskFactory::PostNestedTask::NO, in TEST_P()