Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/libperfmgr/
DNodeLooperThread.cc48 if (a.node_index >= nodes_.size()) { in Request()
50 << " ,size: " << nodes_.size(); in Request()
65 ret = nodes_[a.node_index]->AddRequest(a.value_index, hint_type, in Request()
87 if (a.node_index >= nodes_.size()) { in Cancel()
89 << " ,size: " << nodes_.size(); in Cancel()
92 nodes_[a.node_index]->RemoveRequest(hint_type); in Cancel()
101 for (auto& n : nodes_) { in DumpToFd()
114 for (auto& n : nodes_) { in threadLoop()
117 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.cc232 nodes_.emplace_back(new FileNode( in SetUp()
237 nodes_.emplace_back(new FileNode( in SetUp()
241 nodes_.emplace_back(new PropertyNode( in SetUp()
244 nm_ = new NodeLooperThread(std::move(nodes_)); in SetUp()
277 nodes_.clear(); in TearDown()
283 std::vector<std::unique_ptr<Node>> nodes_; member in android::perfmgr::HintManagerTest
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DNodeLooperThread.h59 : Thread(false), nodes_(std::move(nodes)) {} in NodeLooperThread()
91 std::vector<std::unique_ptr<Node>> nodes_; // parsed from Config variable