Home
last modified time | relevance | path

Searched refs:nodes_ (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/
DNodeLooperThread.cc42 if (a.node_index >= nodes_.size()) { in Request()
44 << " ,size: " << nodes_.size(); 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()
83 << " ,size: " << nodes_.size(); in Cancel()
86 nodes_[a.node_index]->RemoveRequest(hint_type); in Cancel()
95 for (auto& n : nodes_) { in DumpToFd()
108 for (auto& n : nodes_) { in threadLoop()
111 for (auto& n : nodes_) { in threadLoop()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DNodeLooperThreadTest.cc37 nodes_.emplace_back(new FileNode( in SetUp()
42 nodes_.emplace_back(new FileNode( in SetUp()
49 nodes_.clear(); in TearDown()
52 std::vector<std::unique_ptr<Node>> nodes_; member in android::perfmgr::NodeLooperThreadTest
65 sp<NodeLooperThread> th = new NodeLooperThread(std::move(nodes_)); in TEST_F()
77 sp<NodeLooperThread> th = new NodeLooperThread(std::move(nodes_)); in TEST_F()
100 sp<NodeLooperThread> th = new NodeLooperThread(std::move(nodes_)); in TEST_F()
132 sp<NodeLooperThread> th = new NodeLooperThread(std::move(nodes_)); in TEST_F()
153 sp<NodeLooperThread> th = new NodeLooperThread(std::move(nodes_)); in TEST_F()
DHintManagerTest.cc132 nodes_.emplace_back(new FileNode( in SetUp()
137 nodes_.emplace_back(new FileNode( in SetUp()
141 nodes_.emplace_back(new PropertyNode( in SetUp()
144 nm_ = new NodeLooperThread(std::move(nodes_)); in SetUp()
177 nodes_.clear(); in TearDown()
183 std::vector<std::unique_ptr<Node>> nodes_; member in android::perfmgr::HintManagerTest
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DNodeLooperThread.h57 : Thread(false), nodes_(std::move(nodes)) {} in NodeLooperThread()
89 std::vector<std::unique_ptr<Node>> nodes_; // parsed from Config variable