/external/libchrome/base/task_scheduler/ |
D | sequence_sort_key_unittest.cc | 15 SequenceSortKey key_a(TaskPriority::USER_BLOCKING, in TEST() 17 SequenceSortKey key_b(TaskPriority::USER_BLOCKING, in TEST() 19 SequenceSortKey key_c(TaskPriority::USER_VISIBLE, in TEST() 21 SequenceSortKey key_d(TaskPriority::USER_VISIBLE, in TEST() 23 SequenceSortKey key_e(TaskPriority::BACKGROUND, in TEST() 25 SequenceSortKey key_f(TaskPriority::BACKGROUND, in TEST() 72 SequenceSortKey key_a(TaskPriority::USER_BLOCKING, in TEST() 74 SequenceSortKey key_b(TaskPriority::USER_BLOCKING, in TEST() 76 SequenceSortKey key_c(TaskPriority::USER_VISIBLE, in TEST() 78 SequenceSortKey key_d(TaskPriority::USER_VISIBLE, in TEST() [all …]
|
D | lazy_task_runner_unittest.cc | 25 LAZY_SEQUENCED_TASK_RUNNER_INITIALIZER({TaskPriority::USER_VISIBLE}); 27 LAZY_SEQUENCED_TASK_RUNNER_INITIALIZER({TaskPriority::USER_BLOCKING}); 31 {TaskPriority::USER_VISIBLE}, 35 {TaskPriority::USER_BLOCKING}, 41 {TaskPriority::USER_VISIBLE}, 45 {TaskPriority::USER_BLOCKING}, 59 TaskPriority expected_priority) { in ExpectSequencedEnvironment() 67 TaskPriority expected_priority in ExpectSingleThreadEnvironment() 89 TaskPriority expected_priority in TestTaskRunnerEnvironment() 130 TaskPriority::USER_VISIBLE); in TEST_F() [all …]
|
D | task_traits_unittest.cc | 14 EXPECT_EQ(TaskPriority::USER_VISIBLE, traits.priority()); in TEST() 20 TEST(TaskSchedulerTaskTraitsTest, TaskPriority) { in TEST() argument 21 constexpr TaskTraits traits = {TaskPriority::BACKGROUND}; in TEST() 23 EXPECT_EQ(TaskPriority::BACKGROUND, traits.priority()); in TEST() 32 EXPECT_EQ(TaskPriority::USER_VISIBLE, traits.priority()); in TEST() 41 EXPECT_EQ(TaskPriority::USER_VISIBLE, traits.priority()); in TEST() 50 EXPECT_EQ(TaskPriority::USER_VISIBLE, traits.priority()); in TEST() 57 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, in TEST() 61 EXPECT_EQ(TaskPriority::BACKGROUND, traits.priority()); in TEST() 68 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, in TEST() [all …]
|
D | task_traits.h | 23 enum class TaskPriority { enum 121 ValidTrait(TaskPriority) {} in ValidTrait() 153 internal::HasArgOfType<TaskPriority, ArgTypes...>::value), in TaskTraits() 155 internal::EnumArgGetter<TaskPriority, TaskPriority::USER_VISIBLE>(), in TaskTraits() 187 constexpr TaskPriority priority() const { return priority_; } in priority() 224 TaskPriority priority_; 233 BASE_EXPORT const char* TaskPriorityToString(TaskPriority task_priority); 240 const TaskPriority& shutdown_behavior);
|
D | service_thread.cc | 66 {TaskPriority::BACKGROUND}, {TaskPriority::BACKGROUND, MayBlock()}, in PerformHeartbeatLatencyReport() 67 {TaskPriority::USER_VISIBLE}, {TaskPriority::USER_VISIBLE, MayBlock()}, in PerformHeartbeatLatencyReport() 68 {TaskPriority::USER_BLOCKING}, {TaskPriority::USER_BLOCKING, MayBlock()}}; in PerformHeartbeatLatencyReport()
|
D | task_traits.cc | 15 const char* TaskPriorityToString(TaskPriority task_priority) { in TaskPriorityToString() 17 case TaskPriority::BACKGROUND: in TaskPriorityToString() 19 case TaskPriority::USER_VISIBLE: in TaskPriorityToString() 21 case TaskPriority::USER_BLOCKING: in TaskPriorityToString() 42 std::ostream& operator<<(std::ostream& os, const TaskPriority& task_priority) { in operator <<()
|
D | scoped_set_task_priority_for_current_thread.cc | 16 LazyInstance<ThreadLocalPointer<const TaskPriority>>::Leaky 22 TaskPriority priority) in ScopedSetTaskPriorityForCurrentThread() 34 TaskPriority GetTaskPriorityForCurrentThread() { in GetTaskPriorityForCurrentThread() 35 const TaskPriority* priority = in GetTaskPriorityForCurrentThread() 37 return priority ? *priority : TaskPriority::USER_VISIBLE; in GetTaskPriorityForCurrentThread()
|
D | scoped_set_task_priority_for_current_thread_unittest.cc | 15 EXPECT_EQ(TaskPriority::USER_VISIBLE, GetTaskPriorityForCurrentThread()); in TEST() 19 TaskPriority::USER_BLOCKING); in TEST() 20 EXPECT_EQ(TaskPriority::USER_BLOCKING, GetTaskPriorityForCurrentThread()); in TEST() 22 EXPECT_EQ(TaskPriority::USER_VISIBLE, GetTaskPriorityForCurrentThread()); in TEST()
|
D | sequence.cc | 53 TaskPriority priority = TaskPriority::LOWEST; in GetSortKey() 61 const int highest_priority_index = static_cast<int>(TaskPriority::HIGHEST); in GetSortKey() 62 const int lowest_priority_index = static_cast<int>(TaskPriority::LOWEST); in GetSortKey() 65 priority = static_cast<TaskPriority>(i); in GetSortKey()
|
D | scoped_set_task_priority_for_current_thread.h | 19 ScopedSetTaskPriorityForCurrentThread(TaskPriority priority); 23 const TaskPriority priority_; 31 BASE_EXPORT TaskPriority GetTaskPriorityForCurrentThread();
|
D | sequence_sort_key.h | 18 SequenceSortKey(TaskPriority priority, TimeTicks next_task_sequenced_time); 20 TaskPriority priority() const { return priority_; } in priority() 42 TaskPriority priority_;
|
D | sequence_unittest.cc | 29 {TaskPriority::BACKGROUND}, TimeDelta()); in CreateTask() 100 Task background_task(FROM_HERE, DoNothing(), {TaskPriority::BACKGROUND}, in TEST() 113 EXPECT_EQ(TaskPriority::BACKGROUND, background_sort_key.priority()); in TEST() 125 Task foreground_task(FROM_HERE, DoNothing(), {TaskPriority::USER_VISIBLE}, in TEST() 138 EXPECT_EQ(TaskPriority::USER_VISIBLE, foreground_sort_key.priority()); in TEST()
|
D | task_traits_unittest.nc | 18 constexpr TaskTraits traits = {TaskPriority::BACKGROUND, 19 TaskPriority::USER_BLOCKING};
|
D | sequence_sort_key.cc | 10 SequenceSortKey::SequenceSortKey(TaskPriority priority, in SequenceSortKey()
|
D | environment_config.cc | 16 traits.priority() == base::TaskPriority::BACKGROUND; in GetEnvironmentIndexForTraits()
|
D | sequence.h | 90 size_t num_tasks_per_priority_[static_cast<int>(TaskPriority::HIGHEST) + 1] =
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 216 - {base::MayBlock(), base::TaskPriority::USER_BLOCKING, 220 + // {base::MayBlock(), base::TaskPriority::USER_BLOCKING, 241 - {base::MayBlock(), base::TaskPriority::BACKGROUND}); 250 + // {base::MayBlock(), base::TaskPriority::BACKGROUND});
|
/external/libchrome/base/process/ |
D | kill.cc | 45 {TaskPriority::BACKGROUND, TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in EnsureProcessTerminated()
|