Searched refs:TaskScheduler (Results 1 – 14 of 14) sorted by relevance
72 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()
69 TaskScheduler::SetInstance( in TEST()71 TaskScheduler::GetInstance()->StartWithDefaultParams(); in TEST()104 TaskScheduler::GetInstance()->JoinForTesting(); in TEST()105 TaskScheduler::SetInstance(nullptr); in TEST()
52 class BASE_EXPORT TaskScheduler {85 virtual ~TaskScheduler() = default;213 static void SetInstance(std::unique_ptr<TaskScheduler> task_scheduler);226 static TaskScheduler* GetInstance();
39 if (task_tracker_ && TaskScheduler::GetInstance()) { in Init()
122 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()
23 class TaskScheduler; variable162 const TaskScheduler* task_scheduler_ = nullptr;
44 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);
13 +// TaskScheduler not supported in libchrome23 +// TaskScheduler not supported in libchrome36 +// TaskScheduler not supported in libchrome53 +// TaskScheduler not supported in libchrome
3 - base/task/task_scheduler/: implementation of the TaskScheduler.6 Apart from embedders explicitly managing a TaskScheduler and/or SequenceManager
50 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
39 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
22 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
291 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()
715 TaskScheduler::GetInstance()->FlushForTesting();719 TaskScheduler::GetInstance()->FlushForTesting();798 TaskScheduler::GetInstance()->FlushForTesting();