Searched refs:HintActionType (Results 1 – 3 of 3) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 61 enum class HintActionType { Node, DoHint, EndHint, MaskHint }; enum 64 HintAction(HintActionType t, const std::string &v, const std::string &p) in HintAction() 66 HintActionType type;
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 134 case HintActionType::DoHint: in DoHintAction() 137 case HintActionType::EndHint: in DoHintAction() 140 case HintActionType::MaskHint: in DoHintAction() 151 << static_cast<std::underlying_type<HintActionType>::type>(action.type) in DoHintAction() 159 if (action.type == HintActionType::MaskHint && in EndHintAction() 570 HintActionType action_type = HintActionType::Node; in ParseActions() 578 action_type = HintActionType::DoHint; in ParseActions() 580 action_type = HintActionType::EndHint; in ParseActions() 582 action_type = HintActionType::MaskHint; in ParseActions() 588 if (action_type == HintActionType::Node) { in ParseActions()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 621 EXPECT_EQ(HintActionType::MaskHint, actions["MASK_LAUNCH_MODE"].hint_actions[0].type); in TEST_F() 625 EXPECT_EQ(HintActionType::MaskHint, in TEST_F() 628 EXPECT_EQ(HintActionType::MaskHint, in TEST_F() 633 EXPECT_EQ(HintActionType::DoHint, actions["DO_LAUNCH_MODE"].hint_actions[0].type); in TEST_F() 637 EXPECT_EQ(HintActionType::EndHint, actions["END_LAUNCH_MODE"].hint_actions[0].type); in TEST_F()
|