Home
last modified time | relevance | path

Searched refs:onWakeup (Results 1 - 17 of 17) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/default/suspend/
H A Dsuspend_controller.cpp70 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 Dsuspend_controller.h39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override;
52 void Start(SuspendCallback onSuspend, SuspendCallback onWakeup);
H A Disuspend_controller.h30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0;
/base/powermgr/power_manager/services/native/src/actions/default/display/
H A Ddefault_device_state_action.cpp64 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 Ddefault_device_state_action.h40 uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) override;
H A Ddevice_state_action.h44 uint32_t GoToSleep(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force) override;
H A Ddevice_state_action.cpp256 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 Dmock_state_action.h39 MOCK_METHOD3(GoToSleep, uint32_t(std::function<void()> onSuspend, std::function<void()> onWakeup, bool force));
/base/powermgr/power_manager/test/systemtest/mock/
H A Dmock_state_action.h39 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 Didevice_state_action.h53 const std::function<void()> onWakeup, bool force) = 0;
/base/powermgr/power_manager/services/native/src/actions/default/
H A Dsystem_suspend_controller.h36 void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force);
H A Dsystem_suspend_controller.cpp123 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 Dpower_fuzzer.cpp80 [[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 Dpower_state_machine.h101 static void onWakeup();
H A Dpower_mgr_service.h268 PowerStateMachine::onWakeup(); in MockSystemWakeup()
/base/powermgr/power_manager/test/unittest/src/
H A Dnative_power_state_machine_test.cpp84 stateMachine->onWakeup(); in HWTEST_F()
/base/powermgr/power_manager/services/native/src/
H A Dpower_state_machine.cpp406 void PowerStateMachine::onWakeup() in onWakeup() function in OHOS::PowerMgr::PowerStateMachine

Completed in 10 milliseconds