Home
last modified time | relevance | path

Searched refs:TaskScheduler (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/task_scheduler/
Dpost_task.cc72 DCHECK(TaskScheduler::GetInstance()) in PostDelayedTaskWithTraits()
76 TaskScheduler::GetInstance()->PostDelayedTaskWithTraits( in PostDelayedTaskWithTraits()
90 DCHECK(TaskScheduler::GetInstance()) in CreateTaskRunnerWithTraits()
94 return TaskScheduler::GetInstance()->CreateTaskRunnerWithTraits( in CreateTaskRunnerWithTraits()
100 DCHECK(TaskScheduler::GetInstance()) in CreateSequencedTaskRunnerWithTraits()
104 return TaskScheduler::GetInstance()->CreateSequencedTaskRunnerWithTraits( in CreateSequencedTaskRunnerWithTraits()
111 DCHECK(TaskScheduler::GetInstance()) in CreateSingleThreadTaskRunnerWithTraits()
115 return TaskScheduler::GetInstance()->CreateSingleThreadTaskRunnerWithTraits( in CreateSingleThreadTaskRunnerWithTraits()
123 DCHECK(TaskScheduler::GetInstance()) in CreateCOMSTATaskRunnerWithTraits()
127 return TaskScheduler::GetInstance()->CreateCOMSTATaskRunnerWithTraits( in CreateCOMSTATaskRunnerWithTraits()
Dservice_thread_unittest.cc69 TaskScheduler::SetInstance( in TEST()
71 TaskScheduler::GetInstance()->StartWithDefaultParams(); in TEST()
104 TaskScheduler::GetInstance()->JoinForTesting(); in TEST()
105 TaskScheduler::SetInstance(nullptr); in TEST()
Dtask_scheduler.h52 class BASE_EXPORT TaskScheduler {
85 virtual ~TaskScheduler() = default;
213 static void SetInstance(std::unique_ptr<TaskScheduler> task_scheduler);
226 static TaskScheduler* GetInstance();
Dservice_thread.cc39 if (task_tracker_ && TaskScheduler::GetInstance()) { in Init()
/external/libchrome/base/test/
Dscoped_task_environment.cc122 CHECK(!TaskScheduler::GetInstance()); in ScopedTaskEnvironment()
136 TaskScheduler::SetInstance(std::make_unique<internal::TaskSchedulerImpl>( in ScopedTaskEnvironment()
138 task_scheduler_ = TaskScheduler::GetInstance(); in ScopedTaskEnvironment()
139 TaskScheduler::GetInstance()->Start({worker_pool_params, worker_pool_params, in ScopedTaskEnvironment()
151 CHECK_EQ(TaskScheduler::GetInstance(), task_scheduler_); in ~ScopedTaskEnvironment()
155 TaskScheduler::GetInstance()->FlushForTesting(); in ~ScopedTaskEnvironment()
156 TaskScheduler::GetInstance()->Shutdown(); in ~ScopedTaskEnvironment()
157 TaskScheduler::GetInstance()->JoinForTesting(); in ~ScopedTaskEnvironment()
162 TaskScheduler::SetInstance(nullptr); in ~ScopedTaskEnvironment()
Dscoped_task_environment.h23 class TaskScheduler; variable
162 const TaskScheduler* task_scheduler_ = nullptr;
/external/libchrome/libchrome_tools/patch/
Dmessage_loop_unittest.patch44 TaskScheduler::CreateAndStartWithDefaultParams("MessageLoopTest");
55 base::TaskScheduler::GetInstance()->JoinForTesting();
56 base::TaskScheduler::SetInstance(nullptr);
70 TaskScheduler::CreateAndStartWithDefaultParams("MessageLoopTypedTest");
82 base::TaskScheduler::GetInstance()->JoinForTesting();
83 base::TaskScheduler::SetInstance(nullptr);
Dobserver_list_unittest.patch13 +// TaskScheduler not supported in libchrome
23 +// TaskScheduler not supported in libchrome
36 +// TaskScheduler not supported in libchrome
53 +// TaskScheduler not supported in libchrome
/external/libchrome/base/task/
DREADME.md3 - base/task/task_scheduler/: implementation of the TaskScheduler.
6 Apart from embedders explicitly managing a TaskScheduler and/or SequenceManager
/external/libchrome/mojo/public/tools/fuzzers/
Dmojo_parse_message_proto_fuzzer.cc50 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
Dmojo_parse_message_fuzzer.cc39 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
Dmojo_fuzzer_message_dump.cc22 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc291 TaskScheduler::CreateAndStartWithDefaultParams("MessageLoopTest"); in SetUp()
301 base::TaskScheduler::GetInstance()->FlushForTesting(); in TearDown()
302 base::TaskScheduler::GetInstance()->Shutdown(); in TearDown()
303 base::TaskScheduler::GetInstance()->JoinForTesting(); in TearDown()
304 base::TaskScheduler::SetInstance(nullptr); in TearDown()
792 TaskScheduler::CreateAndStartWithDefaultParams("MessageLoopTypedTest"); in SetUp()
804 base::TaskScheduler::GetInstance()->FlushForTesting(); in TearDown()
805 base::TaskScheduler::GetInstance()->Shutdown(); in TearDown()
806 base::TaskScheduler::GetInstance()->JoinForTesting(); in TearDown()
807 base::TaskScheduler::SetInstance(nullptr); in TearDown()
/external/libchrome/base/
Dobserver_list_unittest.cc715 TaskScheduler::GetInstance()->FlushForTesting();
719 TaskScheduler::GetInstance()->FlushForTesting();
798 TaskScheduler::GetInstance()->FlushForTesting();