Searched refs:hint_actions (Results 1 – 3 of 3) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 75 hint_actions(obj.hint_actions), in Hint() 79 std::vector<HintAction> hint_actions; member
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 620 EXPECT_EQ(1u, actions["MASK_LAUNCH_MODE"].hint_actions.size()); in TEST_F() 621 EXPECT_EQ(HintActionType::MaskHint, actions["MASK_LAUNCH_MODE"].hint_actions[0].type); in TEST_F() 622 EXPECT_EQ("LAUNCH", actions["MASK_LAUNCH_MODE"].hint_actions[0].value); in TEST_F() 624 EXPECT_EQ(2u, actions["MASK_LAUNCH_INTERACTION_MODE"].hint_actions.size()); in TEST_F() 626 actions["MASK_LAUNCH_INTERACTION_MODE"].hint_actions[0].type); in TEST_F() 627 EXPECT_EQ("LAUNCH", actions["MASK_LAUNCH_INTERACTION_MODE"].hint_actions[0].value); in TEST_F() 629 actions["MASK_LAUNCH_INTERACTION_MODE"].hint_actions[1].type); in TEST_F() 630 EXPECT_EQ("INTERACTION", actions["MASK_LAUNCH_INTERACTION_MODE"].hint_actions[1].value); in TEST_F() 632 EXPECT_EQ(1u, actions["DO_LAUNCH_MODE"].hint_actions.size()); in TEST_F() 633 EXPECT_EQ(HintActionType::DoHint, actions["DO_LAUNCH_MODE"].hint_actions[0].type); in TEST_F() [all …]
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 127 for (auto &action : actions_.at(hint_type).hint_actions) { in DoHintAction() 158 for (auto &action : actions_.at(hint_type).hint_actions) { in EndHintAction() 646 actions_parsed[hint_type].hint_actions.emplace_back(action_type, hint_value, in ParseActions() 658 << ", and " << action.second.hint_actions.size() << " hint actions parsed"; in ParseActions()
|