Home
last modified time | relevance | path

Searched refs:node_actions (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc254 actions_["INTERACTION"].node_actions = in SetUp()
256 actions_["LAUNCH"].node_actions = in SetUp()
591 EXPECT_EQ(2u, actions["INTERACTION"].node_actions.size()); in TEST_F()
592 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[0].node_index); in TEST_F()
593 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[0].value_index); in TEST_F()
595 actions["INTERACTION"].node_actions[0].timeout_ms.count()); in TEST_F()
597 EXPECT_EQ(2u, actions["INTERACTION"].node_actions[1].node_index); in TEST_F()
598 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[1].value_index); in TEST_F()
600 actions["INTERACTION"].node_actions[1].timeout_ms.count()); in TEST_F()
602 EXPECT_EQ(3u, actions["LAUNCH"].node_actions.size()); in TEST_F()
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h74 : node_actions(obj.node_actions), in Hint()
78 std::vector<NodeAction> node_actions; member
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc81 if (a.second.node_actions.size()) { in InitHintStatus()
83 std::minmax_element(a.second.node_actions.begin(), a.second.node_actions.end(), in InitHintStatus()
170 !nm_->Request(actions_.at(hint_type).node_actions, hint_type)) { in DoHint()
185 std::vector<NodeAction> actions_override = actions_.at(hint_type).node_actions; in DoHint()
199 if (!ValidateHint(hint_type) || !nm_->Cancel(actions_.at(hint_type).node_actions, hint_type)) { in EndHint()
625 for (const auto &action : actions_parsed[hint_type].node_actions) { in ParseActions()
634 actions_parsed[hint_type].node_actions.emplace_back( in ParseActions()
656 LOG(INFO) << "PowerHint " << action.first << " has " << action.second.node_actions.size() in ParseActions()