Searched refs:hm (Results 1 – 7 of 7) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 211 HintManager hm(nm_, actions_); in TEST_F() local 212 EXPECT_TRUE(hm.Start()); in TEST_F() 213 std::vector<std::string> hints = hm.GetHints(); in TEST_F() 214 EXPECT_TRUE(hm.IsRunning()); in TEST_F() 222 auto hm = std::make_unique<HintManager>(nm_, actions_); in TEST_F() local 223 EXPECT_TRUE(InitHintStatus(hm)); in TEST_F() 224 EXPECT_TRUE(hm->Start()); in TEST_F() 225 HintStats launch_stats(hm->GetHintStats("LAUNCH")); in TEST_F() 228 HintStats interaction_stats(hm->GetHintStats("INTERACTION")); in TEST_F() 235 HintManager hm(nm_, actions_); in TEST_F() local [all …]
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | service.cpp | 50 std::shared_ptr<HintManager> hm = HintManager::GetFromJSON(config_path, false); in main() local 51 if (!hm) { in main() 61 std::shared_ptr<Power> pw = ndk::SharedRefBase::make<Power>(hm, dlpw); in main() 65 std::shared_ptr<PowerExt> pwExt = ndk::SharedRefBase::make<PowerExt>(hm, dlpw); in main() 77 PowerSessionManager::getInstance()->setHintManager(hm); in main() 82 hm->Start(); in main()
|
D | PowerExt.h | 39 PowerExt(std::shared_ptr<HintManager> hm, std::shared_ptr<DisplayLowPower> dlpw) in PowerExt() argument 40 : mHintManager(hm), mDisplayLowPower(dlpw) {} in PowerExt()
|
D | Power.h | 43 Power(std::shared_ptr<HintManager> hm, std::shared_ptr<DisplayLowPower> dlpw);
|
D | Power.cpp | 50 Power::Power(std::shared_ptr<HintManager> hm, std::shared_ptr<DisplayLowPower> dlpw) in Power() argument 51 : mHintManager(hm), in Power()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/ |
D | ConfigVerifier.cc | 87 std::unique_ptr<android::perfmgr::HintManager> hm = in execConfig() local 89 if (!hm.get() || !hm->IsRunning()) { in execConfig() 92 std::vector<std::string> hints = hm->GetHints(); in execConfig() 96 hm->DoHint(hint, std::chrono::milliseconds(hint_duration)); in execConfig() 100 hm->EndHint(hint); in execConfig()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 133 static bool InitHintStatus(const std::unique_ptr<HintManager> &hm);
|