Home
last modified time | relevance | path

Searched refs:nm_ (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h94 : nm_(std::move(nm)), in HintManager()
100 if (nm_.get() != nullptr) nm_->Stop(); in ~HintManager()
176 sp<NodeLooperThread> nm_; variable
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc244 nm_ = new NodeLooperThread(std::move(nodes_)); in SetUp()
279 nm_ = nullptr; in TearDown()
281 sp<NodeLooperThread> nm_; member in android::perfmgr::HintManagerTest
311 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F()
323 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F()
337 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F()
348 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F()
357 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F()
408 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc52 if (nm_.get() == nullptr) { in ValidateHint()
170 !nm_->Request(actions_.at(hint_type).node_actions, hint_type)) { in DoHint()
189 if (!nm_->Request(actions_override, hint_type)) { in DoHint()
199 if (!ValidateHint(hint_type) || !nm_->Cancel(actions_.at(hint_type).node_actions, hint_type)) { in EndHint()
208 return (nm_.get() == nullptr) ? false : nm_->isRunning(); in IsRunning()
236 nm_->DumpToFd(fd); in DumpToFd()
281 return nm_->Start(); in Start()