/base/powermgr/power_manager/services/native/src/actions/default/suspend/ |
H A 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()
|
H A D | suspend_controller.h | 39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override; 52 void Start(SuspendCallback onSuspend, SuspendCallback onWakeup);
|
H A 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/ |
H A D | default_device_state_action.cpp | 64 const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) in GoToSleep() 66 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep() 63 GoToSleep( const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) GoToSleep() argument
|
H A D | default_device_state_action.h | 40 uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) override;
|
H A D | device_state_action.h | 44 uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) override;
|
H A D | device_state_action.cpp | 256 const std::function<void()> onWakeup, bool force) in GoToSleep() 258 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep() 255 GoToSleep(const std::function<void()> onSuspend, const std::function<void()> onWakeup, bool force) GoToSleep() argument
|
/base/powermgr/power_manager/test/mock/action/ |
H A D | mock_state_action.h | 39 MOCK_METHOD3(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
|
/base/powermgr/power_manager/test/systemtest/mock/ |
H A D | mock_state_action.h | 39 MOCK_METHOD3(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
|
/base/powermgr/power_manager/services/native/include/actions/ |
H A D | idevice_state_action.h | 53 const std::function<void()> onWakeup, bool force) = 0;
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
H A D | system_suspend_controller.h | 36 void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force);
|
H A D | system_suspend_controller.cpp | 123 const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force) in Suspend() 122 Suspend( const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force) Suspend() argument
|
/base/powermgr/power_manager/test/fuzztest/power_utils/ |
H A D | power_fuzzer.cpp | 80 [[maybe_unused]] const std::function<void()> onWakeup, [[maybe_unused]] bool force) in GoToSleep() 79 GoToSleep([[maybe_unused]] const std::function<void()> onSuspend, [[maybe_unused]] const std::function<void()> onWakeup, [[maybe_unused]] bool force) GoToSleep() argument
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_state_machine.h | 101 static void onWakeup();
|
H A D | power_mgr_service.h | 268 PowerStateMachine::onWakeup(); in MockSystemWakeup()
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | native_power_state_machine_test.cpp | 84 stateMachine->onWakeup(); in HWTEST_F()
|
/base/powermgr/power_manager/services/native/src/ |
H A D | power_state_machine.cpp | 406 void PowerStateMachine::onWakeup() in onWakeup() function in OHOS::PowerMgr::PowerStateMachine
|