Searched refs:ShutdownController (Results 1 – 9 of 9) sorted by relevance
51 ShutdownController::ShutdownController() : started_(false) in ShutdownController() function in OHOS::PowerMgr::ShutdownController61 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 …]
32 class ShutdownController {34 ShutdownController();35 virtual ~ShutdownController() = default;
35 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state…47 std::shared_ptr<ShutdownController> shutdownController_;
28 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state… in WakeupActionController()
244 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_;
45 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state…104 std::shared_ptr<ShutdownController> shutdownController_;
48 …std::shared_ptr<ShutdownController>& shutdownController, std::shared_ptr<PowerStateMachine>& state… in SuspendController()
44 class FuzzShutdownAction : public ShutdownController {
131 shutdownController_ = std::make_shared<ShutdownController>(); in Init()