Lines Matching refs:TaskPriority
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()
82 constexpr TaskTraits left = {TaskPriority::BACKGROUND}; in TEST()
83 constexpr TaskTraits right = {TaskPriority::USER_BLOCKING}; in TEST()
86 EXPECT_EQ(TaskPriority::USER_BLOCKING, overridden.priority()); in TEST()
99 EXPECT_EQ(TaskPriority::USER_VISIBLE, overridden.priority()); in TEST()
113 EXPECT_EQ(TaskPriority::USER_VISIBLE, overridden.priority()); in TEST()
125 EXPECT_EQ(TaskPriority::USER_VISIBLE, overridden.priority()); in TEST()
140 EXPECT_EQ(TaskPriority::USER_VISIBLE, overridden.priority()); in TEST()
152 EXPECT_EQ(TaskPriority::USER_VISIBLE, overridden.priority()); in TEST()
162 constexpr TaskTraits left = {MayBlock(), TaskPriority::BACKGROUND, in TEST()
165 TaskPriority::USER_BLOCKING}; in TEST()