Searched refs:node_index (Results 1 – 5 of 5) sorted by relevance
/system/extras/libperfmgr/ |
D | NodeLooperThread.cc | 40 if (a.node_index >= nodes_.size()) { in Request() 41 LOG(ERROR) << "Node index out of bound: " << a.node_index in Request() 57 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request() 79 if (a.node_index >= nodes_.size()) { in Cancel() 80 LOG(ERROR) << "Node index out of bound: " << a.node_index in Cancel() 84 nodes_[a.node_index]->RemoveRequest(hint_type); in Cancel()
|
D | HintManager.cc | 313 std::size_t node_index; in ParseActions() local 322 node_index = nodes_index[node_name]; in ParseActions() 328 if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) { in ParseActions() 350 {node_index, value_index, std::chrono::milliseconds(duration)}}; in ParseActions() 353 if (action.node_index == node_index) { in ParseActions() 362 node_index, value_index, std::chrono::milliseconds(duration)); in ParseActions()
|
/system/extras/libperfmgr/include/perfmgr/ |
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
|
/system/core/property_service/libpropertyinfoparser/ |
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()
|
/system/extras/libperfmgr/tests/ |
D | HintManagerTest.cc | 415 EXPECT_EQ(1u, actions["INTERACTION"][0].node_index); in TEST_F() 420 EXPECT_EQ(2u, actions["INTERACTION"][1].node_index); in TEST_F() 427 EXPECT_EQ(0u, actions["LAUNCH"][0].node_index); in TEST_F() 432 EXPECT_EQ(2u, actions["LAUNCH"][1].node_index); in TEST_F() 437 EXPECT_EQ(1u, actions["LAUNCH"][2].node_index); in TEST_F()
|