/external/libchrome/base/task_scheduler/ |
D | task_traits_unittest.cc | 12 constexpr TaskTraits traits = {}; in TEST() 21 constexpr TaskTraits traits = {TaskPriority::BACKGROUND}; in TEST() 30 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN}; in TEST() 39 constexpr TaskTraits traits = {MayBlock()}; in TEST() 48 constexpr TaskTraits traits = {WithBaseSyncPrimitives()}; in TEST() 57 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, in TEST() 68 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, in TEST() 71 constexpr TaskTraits traits_copy(traits); in TEST() 82 constexpr TaskTraits left = {TaskPriority::BACKGROUND}; in TEST() 83 constexpr TaskTraits right = {TaskPriority::USER_BLOCKING}; in TEST() [all …]
|
D | post_task.cc | 21 explicit PostTaskAndReplyWithTraitsTaskRunner(const TaskTraits& traits) in PostTaskAndReplyWithTraitsTaskRunner() 30 const TaskTraits traits_; 36 TaskTraits GetTaskTraitsWithExplicitPriority(const TaskTraits& traits) { in GetTaskTraitsWithExplicitPriority() 39 return TaskTraits::Override(traits, in GetTaskTraitsWithExplicitPriority() 52 PostDelayedTaskWithTraits(from_here, TaskTraits(), std::move(task), delay); in PostDelayedTask() 58 PostTaskWithTraitsAndReply(from_here, TaskTraits(), std::move(task), in PostTaskAndReply() 63 const TaskTraits& traits, in PostTaskWithTraits() 69 const TaskTraits& traits, in PostDelayedTaskWithTraits() 82 const TaskTraits& traits, in PostTaskWithTraitsAndReply() 89 scoped_refptr<TaskRunner> CreateTaskRunnerWithTraits(const TaskTraits& traits) { in CreateTaskRunnerWithTraits() [all …]
|
D | task_traits.h | 117 class BASE_EXPORT TaskTraits { 151 constexpr TaskTraits(ArgTypes... args) in TaskTraits() function 170 constexpr TaskTraits(const TaskTraits& other) = default; 171 TaskTraits& operator=(const TaskTraits& other) = default; 176 static constexpr TaskTraits Override(const TaskTraits& left, in Override() 177 const TaskTraits& right) { in Override() 178 return TaskTraits(left, right); in Override() 208 constexpr TaskTraits(const TaskTraits& left, const TaskTraits& right) in TaskTraits() function
|
D | task_traits_unittest.nc | 12 …BLOCK) // [r"Multiple arguments of the same type were provided to the constructor of TaskTraits."] 13 constexpr TaskTraits traits = {MayBlock(), MayBlock()}; 14 …TIVES) // [r"Multiple arguments of the same type were provided to the constructor of TaskTraits."] 15 constexpr TaskTraits traits = {WithBaseSyncPrimitives(), 17 …ORITY) // [r"Multiple arguments of the same type were provided to the constructor of TaskTraits."] 18 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, 20 …AVIOR) // [r"Multiple arguments of the same type were provided to the constructor of TaskTraits."] 21 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN, 23 …E_MIX) // [r"Multiple arguments of the same type were provided to the constructor of TaskTraits."] 24 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN, [all …]
|
D | task_scheduler_impl.h | 68 const TaskTraits& traits, 72 const TaskTraits& traits) override; 74 const TaskTraits& traits) override; 76 const TaskTraits& traits, 80 const TaskTraits& traits, 85 const TaskTraits& traits) const override; 94 const TaskTraits& traits) const; 98 TaskTraits SetUserBlockingPriorityIfNeeded(const TaskTraits& traits) const;
|
D | post_task.h | 103 PostTaskWithTraitsAndReplyWithResult(from_here, TaskTraits(), std::move(task), in PostTaskAndReplyWithResult() 123 const TaskTraits& traits, 132 const TaskTraits& traits, 141 const TaskTraits& traits, 152 const TaskTraits& traits, in PostTaskWithTraitsAndReplyWithResult() 171 const TaskTraits& traits, in PostTaskWithTraitsAndReplyWithResult() 182 const TaskTraits& traits); 187 CreateSequencedTaskRunnerWithTraits(const TaskTraits& traits); 202 const TaskTraits& traits, 218 CreateCOMSTATaskRunnerWithTraits(const TaskTraits& traits,
|
D | task_scheduler_impl.cc | 176 const TaskTraits& traits, in PostDelayedTaskWithTraits() 180 const TaskTraits new_traits = SetUserBlockingPriorityIfNeeded(traits); in PostDelayedTaskWithTraits() 188 const TaskTraits& traits) { in CreateTaskRunnerWithTraits() 189 const TaskTraits new_traits = SetUserBlockingPriorityIfNeeded(traits); in CreateTaskRunnerWithTraits() 196 const TaskTraits& traits) { in CreateSequencedTaskRunnerWithTraits() 197 const TaskTraits new_traits = SetUserBlockingPriorityIfNeeded(traits); in CreateSequencedTaskRunnerWithTraits() 204 const TaskTraits& traits, in CreateSingleThreadTaskRunnerWithTraits() 214 const TaskTraits& traits, in CreateCOMSTATaskRunnerWithTraits() 230 const TaskTraits& traits) const { in GetMaxConcurrentNonBlockedTasksWithTraitsDeprecated() 269 const TaskTraits& traits) const { in GetWorkerPoolForTraits() [all …]
|
D | task_tracker_unittest.cc | 95 owned_task_(FROM_HERE, OnceClosure(), TaskTraits(), TimeDelta()), in ThreadPostingAndRunningTask() 175 TaskTraits(shutdown_behavior), TimeDelta()); in CreateTask() 313 TaskTraits(WithBaseSyncPrimitives(), GetParam()), TimeDelta()); in TEST_P() 454 TaskTraits(GetParam()), TimeDelta()); in TEST_P() 479 TaskTraits(MayBlock(), GetParam()), TimeDelta()); in TEST_P() 489 TaskTraits(GetParam()), TimeDelta()); in TEST_P() 525 TaskTraits(GetParam()), TimeDelta()); in TEST_P() 547 TaskTraits(GetParam()), TimeDelta()); in TEST_P() 572 TaskTraits(GetParam()), TimeDelta()); in TEST_P() 579 Task delayed_task(FROM_HERE, DoNothing(), TaskTraits(GetParam()), in TEST_P() [all …]
|
D | scheduler_single_thread_task_runner_manager.h | 24 class TaskTraits; variable 70 const TaskTraits& traits, 79 const TaskTraits& traits, 95 const TaskTraits& traits); 99 const TaskTraits& traits, 115 SchedulerWorker*& GetSharedSchedulerWorkerForTraits(const TaskTraits& traits);
|
D | task_scheduler.h | 102 const TaskTraits& traits, 109 const TaskTraits& traits) = 0; 114 CreateSequencedTaskRunnerWithTraits(const TaskTraits& traits) = 0; 121 const TaskTraits& traits, 135 const TaskTraits& traits, 243 const TaskTraits& traits) const = 0;
|
D | lazy_task_runner.h | 98 ALLOW_UNUSED_TYPE constexpr base::TaskTraits \ 107 ALLOW_UNUSED_TYPE constexpr base::TaskTraits \ 120 ALLOW_UNUSED_TYPE constexpr base::TaskTraits \ 139 const TaskTraits& traits, 150 constexpr LazyTaskRunner(const TaskTraits& traits, 168 const TaskTraits traits_;
|
D | task_scheduler_impl_unittest.cc | 59 TraitsExecutionModePair(const TaskTraits& traits, in TraitsExecutionModePair() 63 TaskTraits traits; 79 void VerifyTaskEnvironment(const TaskTraits& traits) { in VerifyTaskEnvironment() 117 void VerifyTaskEnvironmentAndSignalEvent(const TaskTraits& traits, in VerifyTaskEnvironmentAndSignalEvent() 124 void VerifyTimeAndTaskEnvironmentAndSignalEvent(const TaskTraits& traits, in VerifyTimeAndTaskEnvironmentAndSignalEvent() 135 const TaskTraits& traits, in CreateTaskRunnerWithTraitsAndExecutionMode() 158 const TaskTraits& traits, in ThreadPostingTasks() 180 const TaskTraits traits_; 393 TaskTraits::Override(GetParam().traits, in TEST_P() 411 TaskTraits::Override(GetParam().traits, in TEST_P() [all …]
|
D | scheduler_worker_pool.cc | 50 SchedulerParallelTaskRunner(const TaskTraits& traits, in SchedulerParallelTaskRunner() 76 const TaskTraits traits_; 88 SchedulerSequencedTaskRunner(const TaskTraits& traits, in SchedulerSequencedTaskRunner() 125 const TaskTraits traits_; 132 const TaskTraits& traits) { in CreateTaskRunnerWithTraits() 138 const TaskTraits& traits) { in CreateSequencedTaskRunnerWithTraits()
|
D | priority_queue_unittest.cc | 62 TaskTraits(TaskPriority::USER_VISIBLE), in TEST() 68 TaskTraits(TaskPriority::USER_BLOCKING), in TEST() 74 TaskTraits(TaskPriority::USER_BLOCKING), in TEST() 80 TaskTraits(TaskPriority::BACKGROUND), TimeDelta())); in TEST()
|
D | scheduler_single_thread_task_runner_manager.cc | 251 TaskTraits(MayBlock()), TimeDelta()); in GetWorkFromWindowsMessageQueue() 282 const TaskTraits& traits, in SchedulerSingleThreadTaskRunner() 379 const TaskTraits traits_; 436 const TaskTraits& traits, in CreateSingleThreadTaskRunnerWithTraits() 445 const TaskTraits& traits, in CreateCOMSTATaskRunnerWithTraits() 455 const TaskTraits& traits) { in TraitsToContinueOnShutdown() 465 const TaskTraits& traits, in CreateTaskRunnerWithTraitsImpl() 584 SchedulerWorkerDelegate>(const TaskTraits& traits) { in GetSharedSchedulerWorkerForTraits() 593 SchedulerWorkerCOMDelegate>(const TaskTraits& traits) { in GetSharedSchedulerWorkerForTraits()
|
D | delayed_task_manager_unittest.cc | 44 TaskTraits(), in TaskSchedulerDelayedTaskManagerTest() 150 TaskTraits(), TimeDelta::FromHours(1)); in TEST_F() 154 TaskTraits(), TimeDelta::FromHours(2)); in TEST_F() 158 TaskTraits(), TimeDelta::FromHours(1)); in TEST_F()
|
D | task.h | 32 const TaskTraits& traits, 44 TaskTraits traits;
|
D | scheduler_worker_pool.h | 33 const TaskTraits& traits); 39 const TaskTraits& traits);
|
D | task.cc | 23 const TaskTraits& traits, in Task() 37 ? TaskTraits::Override(traits, in Task()
|
D | service_thread.cc | 65 static constexpr TaskTraits kReportedTraits[] = { in PerformHeartbeatLatencyReport() 78 const TaskTraits& profiled_traits = in PerformHeartbeatLatencyReport()
|
D | task_tracker_posix_unittest.cc | 59 TaskTraits(), TimeDelta()); in TEST_F() 80 TaskTraits(), TimeDelta()); in TEST_F()
|
D | scheduler_single_thread_task_runner_manager_unittest.cc | 298 constexpr TaskTraits foo_traits = {TaskPriority::BACKGROUND, in TEST_P() 307 constexpr TaskTraits user_blocking_traits = { in TEST_P() 344 ->CreateSingleThreadTaskRunnerWithTraits(TaskTraits(), GetParam()); in TEST_P() 357 ->CreateSingleThreadTaskRunnerWithTraits(TaskTraits(), GetParam()); in TEST_P() 388 ->CreateSingleThreadTaskRunnerWithTraits(TaskTraits(), GetParam()); in TEST_P() 638 TaskTraits(), SingleThreadTaskRunnerThreadMode::DEDICATED) in TEST_F()
|
D | sequence_unittest.cc | 150 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST() 159 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()
|
D | environment_config.cc | 14 size_t GetEnvironmentIndexForTraits(const TaskTraits& traits) { in GetEnvironmentIndexForTraits()
|
D | environment_config.h | 44 size_t BASE_EXPORT GetEnvironmentIndexForTraits(const TaskTraits& traits);
|