Home
last modified time | relevance | path

Searched refs:Suspend (Results 1 – 24 of 24) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Disuspend_controller.h23 namespace Suspend {
30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0;
Dsuspend_controller.h31 namespace Suspend {
39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override;
Dirunning_lock_hub.h23 namespace Suspend {
Drunning_lock_hub.h31 namespace Suspend {
Dsuspend_controller.cpp25 namespace Suspend { namespace
142 void SuspendController::Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) in Suspend() function in OHOS::PowerMgr::Suspend::SuspendController
Drunning_lock_hub.cpp25 namespace Suspend { namespace
/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddefault_device_state_action.cpp23 void DefaultDeviceStateAction::Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) in Suspend() function in OHOS::PowerMgr::DefaultDeviceStateAction
56 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
Ddefault_device_state_action.h27 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
Ddevice_state_action.cpp42 void DeviceStateAction::Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) in Suspend() function in OHOS::PowerMgr::DeviceStateAction
141 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
Ddevice_state_action.h28 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
/base/powermgr/power_manager/services/native/src/actions/default/
Dsystem_suspend_controller.h35 …void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool f…
60 std::shared_ptr<Suspend::ISuspendController> sc_;
Dsystem_suspend_controller.cpp69 sc_ = std::make_shared<Suspend::SuspendController>(); in RegisterHdiStatusListener()
97 void SystemSuspendController::Suspend(const std::function<void()>& onSuspend, in Suspend() function in OHOS::PowerMgr::SystemSuspendController
111 sc_->Suspend(onSuspend, onWakeup, force); in Suspend()
/base/powermgr/power_manager/test/systemtest/mock/
Dmock_state_action.h28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
/base/powermgr/power_manager/services/native/test/unittest/mock/
Dmock_state_action.h28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
/base/powermgr/power_manager/services/native/include/actions/
Didevice_state_action.h40 virtual void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) = 0;
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.h32 static napi_value Suspend(napi_env env, napi_callback_info info);
Dpower_module.cpp87 DECLARE_NAPI_FUNCTION("suspend", PowerNapi::Suspend), in PowerInit()
Dpower_napi.cpp73 napi_value PowerNapi::Suspend(napi_env env, napi_callback_info info) in Suspend() function in OHOS::PowerMgr::PowerNapi
/base/request/request/download/interfaces/kits/js/napi/download_single/include/
Ddownload_pause.h33 static napi_value Suspend(napi_env env, napi_callback_info info);
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_pause.cpp33 napi_value DownloadPause::Suspend(napi_env env, napi_callback_info info) in Suspend() function in OHOS::Request::Download::DownloadPause
Ddownload_task_napi_V9.cpp114 {FUNCTION_SUSPEND, 0, DownloadPause::Suspend, 0, 0, 0, napi_default, 0}, in GetCtor()
/base/powermgr/power_manager/services/native/test/unittest/src/
Dpower_mgr_mock_test.cpp142 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_APPLICATION, false));
171 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_DEVICE_ADMIN, false));
199 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_TIMEOUT, false));
227 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_LID_SWITCH, false));
255 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_POWER_BUTTON, false));
283 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_HDMI, false));
311 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_SLEEP_BUTTON, false));
339 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_ACCESSIBILITY, false));
367 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_FORCE_SUSPEND, false));
696 Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_APPLICATION, false));
[all …]
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_st_mock_test.cpp291 …EXPECT_CALL(*g_stateAction, Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_APPLICATION, false…
/base/powermgr/power_manager/services/native/src/
Dpower_state_machine.cpp211 stateAction_->Suspend(callTimeMs, type, suspendImmed ? in SuspendDeviceInner()