/base/powermgr/power_manager/services/native/src/actions/default/suspend/ |
D | suspend_controller.cpp | 70 void SuspendController::AutoSuspend::Start(SuspendCallback onSuspend, SuspendCallback onWakeup) in Start() argument 74 onWakeup_ = onWakeup; in Start() 142 void SuspendController::Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) in Suspend() argument 150 if (onWakeup != nullptr) { in Suspend() 151 onWakeup(); in Suspend() 155 suspend_->Start(onSuspend, onWakeup); in Suspend()
|
D | suspend_controller.h | 39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override; 52 void Start(SuspendCallback onSuspend, SuspendCallback onWakeup);
|
D | isuspend_controller.h | 30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0;
|
/base/powermgr/power_manager/services/native/src/actions/default/display/ |
D | default_device_state_action.cpp | 54 const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) in GoToSleep() argument 56 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
|
D | default_device_state_action.h | 36 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
|
D | device_state_action.cpp | 139 const std::function<void()> onWakeup, bool force) in GoToSleep() argument 141 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
|
D | device_state_action.h | 37 …uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) ov…
|
/base/powermgr/power_manager/test/mock/action/ |
D | mock_state_action.h | 35 …(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
|
/base/powermgr/power_manager/test/systemtest/mock/ |
D | mock_state_action.h | 35 …(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
|
/base/powermgr/power_manager/services/native/include/actions/ |
D | idevice_state_action.h | 49 const std::function<void()> onWakeup, bool force) = 0;
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
D | system_suspend_controller.h | 35 …void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool f…
|
D | system_suspend_controller.cpp | 100 const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force) in Suspend() argument
|
/base/powermgr/power_manager/services/native/include/ |
D | power_state_machine.h | 76 static void onWakeup();
|
D | power_mgr_service.h | 156 PowerStateMachine::onWakeup(); in MockSystemWakeup()
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_getcontroller_mock_test.cpp | 167 PowerStateMachine::onWakeup(); in MockSystemWakeup()
|
D | native_power_state_machine_test.cpp | 70 stateMachine->onWakeup();
|
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/ |
D | power_fuzzer.cpp | 71 [[maybe_unused]] const std::function<void()> onWakeup, [[maybe_unused]] bool force) in GoToSleep() argument
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 211 void PowerStateMachine::onWakeup() in onWakeup() function in OHOS::PowerMgr::PowerStateMachine 332 stateAction_->GoToSleep(onSuspend, onWakeup, true); in ForceSuspendDeviceInner()
|