/external/libchrome/base/task_scheduler/ |
D | task_scheduler.cc | 22 TaskScheduler* g_task_scheduler = nullptr; 26 TaskScheduler::InitParams::InitParams( in InitParams() 40 TaskScheduler::InitParams::~InitParams() = default; 44 void TaskScheduler::CreateAndStartWithDefaultParams(StringPiece name) { in CreateAndStartWithDefaultParams() 49 void TaskScheduler::StartWithDefaultParams() { in StartWithDefaultParams() 71 void TaskScheduler::Create(StringPiece name) { in Create() 76 void TaskScheduler::SetInstance(std::unique_ptr<TaskScheduler> task_scheduler) { in SetInstance() 82 TaskScheduler* TaskScheduler::GetInstance() { in GetInstance()
|
D | post_task.cc | 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()
|
D | service_thread_unittest.cc | 69 TaskScheduler::SetInstance( in TEST() 71 TaskScheduler::GetInstance()->StartWithDefaultParams(); in TEST() 104 TaskScheduler::GetInstance()->JoinForTesting(); in TEST() 105 TaskScheduler::SetInstance(nullptr); in TEST()
|
D | task_scheduler.h | 52 class BASE_EXPORT TaskScheduler { 85 virtual ~TaskScheduler() = default; 213 static void SetInstance(std::unique_ptr<TaskScheduler> task_scheduler); 226 static TaskScheduler* GetInstance();
|
D | task_scheduler_impl.h | 45 class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler { 65 void Start(const TaskScheduler::InitParams& init_params,
|
D | service_thread.cc | 39 if (task_tracker_ && TaskScheduler::GetInstance()) { in Init()
|
D | task_scheduler_impl.cc | 88 const TaskScheduler::InitParams& init_params, in Start()
|
D | task_scheduler_impl_unittest.cc | 134 TaskScheduler* scheduler, in CreateTaskRunnerWithTraitsAndExecutionMode()
|
/external/libchrome/base/test/ |
D | scoped_task_environment.cc | 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()
|
D | scoped_task_environment.h | 23 class TaskScheduler; variable 162 const TaskScheduler* task_scheduler_ = nullptr;
|
/external/libchrome/libchrome_tools/patch/ |
D | message_loop_unittest.patch | 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);
|
D | observer_list_unittest.patch | 13 +// 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/ |
D | README.md | 3 - base/task/task_scheduler/: implementation of the TaskScheduler. 6 Apart from embedders explicitly managing a TaskScheduler and/or SequenceManager
|
/external/libchrome/base/i18n/ |
D | streaming_utf8_validator_unittest.cc | 113 base::TaskScheduler::CreateAndStartWithDefaultParams( in TEST_F() 128 base::TaskScheduler::GetInstance()->Shutdown(); in TEST_F() 129 base::TaskScheduler::GetInstance()->JoinForTesting(); in TEST_F() 130 base::TaskScheduler::SetInstance(nullptr); in TEST_F()
|
/external/libchrome/mojo/public/tools/fuzzers/ |
D | mojo_parse_message_proto_fuzzer.cc | 50 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
|
D | mojo_parse_message_fuzzer.cc | 39 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
|
D | mojo_fuzzer_message_dump.cc | 22 base::TaskScheduler::CreateAndStartWithDefaultParams( in Environment()
|
/external/libchrome/base/message_loop/ |
D | message_loop_unittest.cc | 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()
|
/external/libchrome/base/test/launcher/ |
D | test_launcher.cc | 145 base::TaskScheduler::Create("TestLauncher"); in CreateAndStartTaskScheduler() 146 base::TaskScheduler::GetInstance()->Start( in CreateAndStartTaskScheduler() 556 if (base::TaskScheduler::GetInstance()) { in ~TestLauncher() 557 base::TaskScheduler::GetInstance()->Shutdown(); in ~TestLauncher()
|
/external/libchrome/base/ |
D | observer_list_unittest.cc | 715 TaskScheduler::GetInstance()->FlushForTesting(); 719 TaskScheduler::GetInstance()->FlushForTesting(); 798 TaskScheduler::GetInstance()->FlushForTesting();
|