Searched refs:TaskShutdownBehavior (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/task_scheduler/ |
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_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.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()
|
/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/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()
|