Searched refs:value_index (Results 1 – 7 of 7) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | PropertyNode.cc | 39 std::size_t value_index = default_val_index_; in Update() local 45 value_index = i; in Update() 51 if (value_index != current_val_index_ || reset_on_init_) { in Update() 53 req_sorted_[value_index].GetRequestValue(); in Update() 63 current_val_index_ = value_index; in Update()
|
D | FileNode.cc | 45 std::size_t value_index = default_val_index_; in Update() local 51 value_index = i; in Update() 57 if (value_index != current_val_index_ || reset_on_init_) { in Update() 59 req_sorted_[value_index].GetRequestValue(); in Update() 83 if ((!hold_fd_) || value_index == default_val_index_) { in Update() 93 current_val_index_ = value_index; in Update()
|
D | Node.cc | 39 bool Node::AddRequest(std::size_t value_index, const std::string& hint_type, in AddRequest() argument 41 if (value_index >= req_sorted_.size()) { in AddRequest() 42 LOG(ERROR) << "Value index out of bound: " << value_index in AddRequest() 47 req_sorted_[value_index].AddRequest(hint_type, end_time); in AddRequest()
|
D | NodeLooperThread.cc | 59 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | NodeLooperThread.h | 36 NodeAction(std::size_t node_index, std::size_t value_index, in NodeAction() 39 value_index(value_index), in NodeAction() 42 std::size_t value_index; member
|
D | Node.h | 52 bool AddRequest(std::size_t value_index, const std::string& hint_type,
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 521 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[0].value_index); in TEST_F() 526 EXPECT_EQ(1u, actions["INTERACTION"].node_actions[1].value_index); in TEST_F() 533 EXPECT_EQ(1u, actions["LAUNCH"].node_actions[0].value_index); in TEST_F() 538 EXPECT_EQ(0u, actions["LAUNCH"].node_actions[1].value_index); in TEST_F() 543 EXPECT_EQ(0u, actions["LAUNCH"].node_actions[2].value_index); in TEST_F()
|