Home
last modified time | relevance | path

Searched refs:CreateMonitor (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp87 std::shared_ptr<SuspendMonitor> monitor = SuspendMonitor::CreateMonitor(*source); in Init()
139 std::shared_ptr<SuspendMonitor> monitor = SuspendMonitor::CreateMonitor(*source); in RegisterSettingsObserver()
357 const std::shared_ptr<SuspendMonitor> SuspendMonitor::CreateMonitor(SuspendSource& source) in CreateMonitor() function in OHOS::PowerMgr::SuspendMonitor
Dsuspend_controller.h86 const static std::shared_ptr<SuspendMonitor> CreateMonitor(SuspendSource& source);
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_controller.cpp85 std::shared_ptr<WakeupMonitor> monitor = WakeupMonitor::CreateMonitor(*source); in Init()
132 std::shared_ptr<WakeupMonitor> monitor = WakeupMonitor::CreateMonitor(*source); in RegisterSettingsObserver()
339 std::shared_ptr<WakeupMonitor> WakeupMonitor::CreateMonitor(WakeupSource& source) in CreateMonitor() function in OHOS::PowerMgr::WakeupMonitor
Dwakeup_controller.h80 static std::shared_ptr<WakeupMonitor> CreateMonitor(WakeupSource& source);
/base/powermgr/power_manager/test/unittest/src/
Dpower_wakeup_test.cpp194 std::shared_ptr<WakeupMonitor> monitor1 = WakeupMonitor::CreateMonitor(source1);
198 std::shared_ptr<WakeupMonitor> monitor2 = WakeupMonitor::CreateMonitor(source2);
Dpower_suspend_test.cpp188 std::shared_ptr<SuspendMonitor> monitor = SuspendMonitor::CreateMonitor(source);