Searched refs:node_index (Results 1 – 5 of 5) sorted by relevance
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
H A D | NodeLooperThread.cc | 42 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()
|
H A D | HintManager.cc | 500 std::size_t node_index; in ParseActions() local 509 node_index = nodes_index[node_name]; in ParseActions() 515 if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) { in ParseActions() 535 if (action.node_index == node_index) { in ParseActions() 544 node_index, value_index, std::chrono::milliseconds(duration)); in ParseActions()
|
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
H A D | NodeLooperThread.h | 36 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
|
/aosp12/system/core/property_service/libpropertyinfoparser/ |
H A D | property_info_parser.cpp | 71 …auto node_index = Find(trie_node_base_->num_child_nodes, [this, name, namelen](auto array_offset) { in FindChildForString() local 84 if (node_index == -1) { in FindChildForString() 87 *child = child_node(node_index); in FindChildForString()
|
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
H A D | HintManagerTest.cc | 520 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()
|