Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DNodeLooperThread.h36 NodeAction(std::size_t node_index, std::size_t value_index, in NodeAction()
38 : node_index(node_index), in NodeAction()
41 std::size_t node_index; member
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DNodeLooperThread.cc42 if (a.node_index >= nodes_.size()) { in Request()
43 LOG(ERROR) << "Node index out of bound: " << a.node_index in Request()
59 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request()
81 if (a.node_index >= nodes_.size()) { in Cancel()
82 LOG(ERROR) << "Node index out of bound: " << a.node_index in Cancel()
86 nodes_[a.node_index]->RemoveRequest(hint_type); in Cancel()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc520 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[0].node_index); in TEST_F()
525 EXPECT_EQ(2u, actions["INTERACTION"].node_actions[1].node_index); in TEST_F()
532 EXPECT_EQ(0u, actions["LAUNCH"].node_actions[0].node_index); in TEST_F()
537 EXPECT_EQ(2u, actions["LAUNCH"].node_actions[1].node_index); in TEST_F()
542 EXPECT_EQ(1u, actions["LAUNCH"].node_actions[2].node_index); in TEST_F()