/external/libchrome/base/task_scheduler/ |
D | task_unittest.cc | 22 {TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in TEST() 24 EXPECT_EQ(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN, in TEST() 28 {TaskShutdownBehavior::SKIP_ON_SHUTDOWN}, in TEST() 30 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, in TEST() 34 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST() 36 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, in TEST() 43 {TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in TEST() 45 EXPECT_EQ(TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN, in TEST() 49 {TaskShutdownBehavior::SKIP_ON_SHUTDOWN}, TimeDelta()); in TEST() 50 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, in TEST() [all …]
|
D | task_traits_unittest.cc | 15 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST() 24 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST() 29 TEST(TaskSchedulerTaskTraitsTest, TaskShutdownBehavior) { in TEST() argument 30 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN}; in TEST() 33 EXPECT_EQ(TaskShutdownBehavior::BLOCK_SHUTDOWN, traits.shutdown_behavior()); in TEST() 42 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST() 51 EXPECT_EQ(TaskShutdownBehavior::SKIP_ON_SHUTDOWN, traits.shutdown_behavior()); in TEST() 58 TaskShutdownBehavior::BLOCK_SHUTDOWN, in TEST() 62 EXPECT_EQ(TaskShutdownBehavior::BLOCK_SHUTDOWN, traits.shutdown_behavior()); in TEST() 69 TaskShutdownBehavior::BLOCK_SHUTDOWN, in TEST() [all …]
|
D | task_traits.h | 43 enum class TaskShutdownBehavior { enum 122 ValidTrait(TaskShutdownBehavior) {} in ValidTrait() 158 internal::HasArgOfType<TaskShutdownBehavior, ArgTypes...>::value), in TaskTraits() 160 internal::EnumArgGetter<TaskShutdownBehavior, in TaskTraits() 161 TaskShutdownBehavior::SKIP_ON_SHUTDOWN>(), in TaskTraits() 195 constexpr TaskShutdownBehavior shutdown_behavior() const { in shutdown_behavior() 226 TaskShutdownBehavior shutdown_behavior_; 235 TaskShutdownBehavior task_priority); 243 const TaskShutdownBehavior& shutdown_behavior);
|
D | task_traits.cc | 29 TaskShutdownBehavior shutdown_behavior) { in TaskShutdownBehaviorToString() 31 case TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN: in TaskShutdownBehaviorToString() 33 case TaskShutdownBehavior::SKIP_ON_SHUTDOWN: in TaskShutdownBehaviorToString() 35 case TaskShutdownBehavior::BLOCK_SHUTDOWN: in TaskShutdownBehaviorToString() 48 const TaskShutdownBehavior& shutdown_behavior) { in operator <<()
|
D | task_tracker_unittest.cc | 166 : public testing::TestWithParam<TaskShutdownBehavior> { 171 Task CreateTask(TaskShutdownBehavior shutdown_behavior) { in CreateTask() 328 if (GetParam() == TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) { in TEST_P() 341 if (GetParam() != TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) in TEST_P() 352 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P() 362 const bool should_run = GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN; in TEST_P() 383 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in TEST_P() 406 Task block_shutdown_task(CreateTask(TaskShutdownBehavior::BLOCK_SHUTDOWN)); in TEST_P() 413 if (GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in TEST_P() 433 EXPECT_EQ(GetParam() == TaskShutdownBehavior::BLOCK_SHUTDOWN ? 2U : 1U, in TEST_P() [all …]
|
D | scheduler_single_thread_task_runner_manager_unittest.cc | 103 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 108 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 129 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 134 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 156 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 161 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 209 {TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in TEST_F() 227 {TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F() 299 TaskShutdownBehavior::BLOCK_SHUTDOWN}; in TEST_P() 309 TaskShutdownBehavior::BLOCK_SHUTDOWN}; in TEST_P() [all …]
|
D | task_traits_unittest.nc | 21 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN, 22 TaskShutdownBehavior::BLOCK_SHUTDOWN}; 24 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN, 26 TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}; 28 constexpr TaskTraits traits = {TaskShutdownBehavior::BLOCK_SHUTDOWN, true};
|
D | task_tracker.cc | 398 const TaskShutdownBehavior shutdown_behavior = in RunAndPopNextTask() 475 TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN); in RunOrSkipTask() 655 bool TaskTracker::BeforePostTask(TaskShutdownBehavior shutdown_behavior) { in BeforePostTask() 656 if (shutdown_behavior == TaskShutdownBehavior::BLOCK_SHUTDOWN) { in BeforePostTask() 706 bool TaskTracker::BeforeRunTask(TaskShutdownBehavior shutdown_behavior) { in BeforeRunTask() 708 case TaskShutdownBehavior::BLOCK_SHUTDOWN: { in BeforeRunTask() 722 case TaskShutdownBehavior::SKIP_ON_SHUTDOWN: { in BeforeRunTask() 741 case TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN: { in BeforeRunTask() 750 void TaskTracker::AfterRunTask(TaskShutdownBehavior shutdown_behavior) { in AfterRunTask() 751 if (shutdown_behavior == TaskShutdownBehavior::BLOCK_SHUTDOWN || in AfterRunTask() [all …]
|
D | task.cc | 27 traits.shutdown_behavior() == TaskShutdownBehavior::BLOCK_SHUTDOWN in Task() 36 traits.shutdown_behavior() == TaskShutdownBehavior::BLOCK_SHUTDOWN) in Task() 38 {TaskShutdownBehavior::SKIP_ON_SHUTDOWN}) in Task()
|
D | task_tracker.h | 243 bool BeforePostTask(TaskShutdownBehavior shutdown_behavior); 248 bool BeforeRunTask(TaskShutdownBehavior shutdown_behavior); 253 void AfterRunTask(TaskShutdownBehavior shutdown_behavior);
|
D | scheduler_single_thread_task_runner_manager.cc | 456 if (traits.shutdown_behavior() == TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN) in TraitsToContinueOnShutdown()
|
D | scheduler_worker_unittest.cc | 454 {WithBaseSyncPrimitives(), TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in GetWork()
|
D | task_scheduler_impl_unittest.cc | 588 {TaskShutdownBehavior::BLOCK_SHUTDOWN}); in TEST_F()
|
/external/libchrome/base/process/ |
D | kill.cc | 45 {TaskPriority::BACKGROUND, TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in EnsureProcessTerminated()
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 217 - base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN})); 221 + // base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}));
|
/external/libchrome/base/i18n/ |
D | streaming_utf8_validator_unittest.cc | 120 FROM_HERE, {base::TaskShutdownBehavior::BLOCK_SHUTDOWN}, in TEST_F()
|
/external/libchrome/crypto/ |
D | nss_util.cc | 324 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMTokenAndSystemSlot() 487 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMForChromeOSUser()
|
/external/libchrome/base/test/launcher/ |
D | test_launcher.cc | 620 FROM_HERE, {MayBlock(), TaskShutdownBehavior::BLOCK_SHUTDOWN}, in LaunchChildGTestProcess()
|
/external/libchrome/base/trace_event/ |
D | trace_log.cc | 969 TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in FinishFlush()
|