Home
last modified time | relevance | path

Searched refs:TaskShutdownBehavior (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_traits_unittest.cc15 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 …]
Dtask_traits.h43 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);
Dtask_traits.cc29 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 <<()
Dtask_traits_unittest.nc21 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};
Dtask.cc27 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/
Dkill.cc45 {TaskPriority::BACKGROUND, TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in EnsureProcessTerminated()
/external/libchrome/libchrome_tools/patch/
Dmojom_disable_trace_and_mem_dump.patch217 - base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}));
221 + // base::TaskShutdownBehavior::SKIP_ON_SHUTDOWN}));
/external/libchrome/crypto/
Dnss_util.cc324 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMTokenAndSystemSlot()
487 {base::MayBlock(), base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}, in InitializeTPMForChromeOSUser()