Home
last modified time | relevance | path

Searched refs:ShutdownController (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/powermgr/power_manager/services/native/src/shutdown/
H A Dshutdown_controller.cpp51 ShutdownController::ShutdownController() : started_(false) in ShutdownController() function in OHOS::PowerMgr::ShutdownController
61 void ShutdownController::Reboot(const std::string& reason) in Reboot()
66 void ShutdownController::Shutdown(const std::string& reason) in Shutdown()
71 bool ShutdownController::IsShuttingDown() in IsShuttingDown()
114 void ShutdownController::RebootOrShutdown(const std::string& reason, bool isReboot) in RebootOrShutdown()
149 void ShutdownController::Prepare(bool isReboot) in Prepare()
167 void ShutdownController::PublishShutdownEvent() const in PublishShutdownEvent()
182 void ShutdownController::TurnOffScreen() in TurnOffScreen()
241 bool ShutdownController::TriggerTakeOverShutdownCallback(bool isReboot) in TriggerTakeOverShutdownCallback()
265 void ShutdownController::TriggerAsyncShutdownCallback(bool isReboot) in TriggerAsyncShutdownCallback()
[all …]
H A Dshutdown_controller.h32 class ShutdownController {
34 ShutdownController();
35 virtual ~ShutdownController() = default;
/ohos5.0/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_controller.h35 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state…
47 std::shared_ptr<ShutdownController> shutdownController_;
H A Dwakeup_action_controller.cpp28 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state… in WakeupActionController()
/ohos5.0/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h244 void EnableShutdownMock(ShutdownController* shutdownAction) in EnableShutdownMock()
247 std::unique_ptr<ShutdownController> mock(shutdownAction); in EnableShutdownMock()
262 std::shared_ptr<ShutdownController> GetShutdownController() in GetShutdownController()
349 std::shared_ptr<ShutdownController> shutdownController_;
/ohos5.0/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_controller.h45 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state…
104 std::shared_ptr<ShutdownController> shutdownController_;
H A Dsuspend_controller.cpp48 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state… in SuspendController()
/ohos5.0/base/powermgr/power_manager/test/fuzztest/power_utils/
H A Dpower_fuzzer.cpp44 class FuzzShutdownAction : public ShutdownController {
/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_mgr_service.cpp131 shutdownController_ = std::make_shared<ShutdownController>(); in Init()