Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_mgr_service.cpp130 if (!shutdownController_) { in Init()
817 shutdownController_->Reboot(reason); in RebootDeviceForDeprecated()
847 shutdownController_->Shutdown(reason); in ShutDownDevice()
872 if (shutdownController_->IsShuttingDown()) { in SuspendDevice()
988 if (shutdownController_->IsShuttingDown()) { in ForceSuspendDevice()
1008 if (shutdownController_->IsShuttingDown()) { in Hibernate()
1446 shutdownController_->AddCallback(callback, priority); in RegisterShutdownCallback()
1455 shutdownController_->RemoveCallback(callback); in UnRegisterShutdownCallback()
1465 shutdownController_->AddCallback(callback, priority); in RegisterShutdownCallback()
1474 shutdownController_->RemoveCallback(callback); in UnRegisterShutdownCallback()
[all …]
/ohos5.0/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_controller.cpp30 shutdownController_ = shutdownController; in WakeupActionController()
120 shutdownController_->Shutdown(scene); in HandleShutdown()
H A Dwakeup_action_controller.h47 std::shared_ptr<ShutdownController> shutdownController_; variable
/ohos5.0/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h241 shutdownController_->EnableMock(powerAction, shutdownState); in EnableMock()
248 shutdownController_.reset(); in EnableShutdownMock()
249 shutdownController_ = std::move(mock); in EnableShutdownMock()
264 return shutdownController_; in GetShutdownController()
349 std::shared_ptr<ShutdownController> shutdownController_; variable
/ohos5.0/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_controller.h104 std::shared_ptr<ShutdownController> shutdownController_; variable
H A Dsuspend_controller.cpp50 shutdownController_ = shutdownController; in SuspendController()
606 shutdownController_->Shutdown(std::to_string(static_cast<uint32_t>(reason))); in RegisterSettingsObserver()