Searched refs:CreateMonitor (Results 1 – 6 of 6) sorted by relevance
87 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
86 const static std::shared_ptr<SuspendMonitor> CreateMonitor(SuspendSource& source);
85 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
80 static std::shared_ptr<WakeupMonitor> CreateMonitor(WakeupSource& source);
194 std::shared_ptr<WakeupMonitor> monitor1 = WakeupMonitor::CreateMonitor(source1);198 std::shared_ptr<WakeupMonitor> monitor2 = WakeupMonitor::CreateMonitor(source2);
188 std::shared_ptr<SuspendMonitor> monitor = SuspendMonitor::CreateMonitor(source);