/base/powermgr/power_manager/services/native/src/actions/default/suspend/ |
D | isuspend_controller.h | 23 namespace Suspend { 30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0;
|
D | suspend_controller.h | 31 namespace Suspend { 39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override;
|
D | irunning_lock_hub.h | 23 namespace Suspend {
|
D | running_lock_hub.h | 31 namespace Suspend {
|
D | suspend_controller.cpp | 25 namespace Suspend { namespace 142 void SuspendController::Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) in Suspend() function in OHOS::PowerMgr::Suspend::SuspendController
|
D | running_lock_hub.cpp | 25 namespace Suspend { namespace
|
/base/powermgr/power_manager/services/native/src/actions/default/display/ |
D | default_device_state_action.cpp | 23 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()
|
D | default_device_state_action.h | 27 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
|
D | device_state_action.cpp | 42 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()
|
D | device_state_action.h | 28 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
|
/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… 60 std::shared_ptr<Suspend::ISuspendController> sc_;
|
D | system_suspend_controller.cpp | 69 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/ |
D | mock_state_action.h | 28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
|
/base/powermgr/power_manager/services/native/test/unittest/mock/ |
D | mock_state_action.h | 28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
|
/base/powermgr/power_manager/services/native/include/actions/ |
D | idevice_state_action.h | 40 virtual void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) = 0;
|
/base/powermgr/power_manager/frameworks/napi/power/ |
D | power_napi.h | 32 static napi_value Suspend(napi_env env, napi_callback_info info);
|
D | power_module.cpp | 87 DECLARE_NAPI_FUNCTION("suspend", PowerNapi::Suspend), in PowerInit()
|
D | power_napi.cpp | 73 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/ |
D | download_pause.h | 33 static napi_value Suspend(napi_env env, napi_callback_info info);
|
/base/request/request/download/interfaces/kits/js/napi/download_single/src/ |
D | download_pause.cpp | 33 napi_value DownloadPause::Suspend(napi_env env, napi_callback_info info) in Suspend() function in OHOS::Request::Download::DownloadPause
|
D | download_task_napi_V9.cpp | 114 {FUNCTION_SUSPEND, 0, DownloadPause::Suspend, 0, 0, 0, napi_default, 0}, in GetCtor()
|
/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | power_mgr_mock_test.cpp | 142 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/ |
D | power_mgr_st_mock_test.cpp | 291 …EXPECT_CALL(*g_stateAction, Suspend(0, SuspendDeviceType::SUSPEND_DEVICE_REASON_APPLICATION, false…
|
/base/powermgr/power_manager/services/native/src/ |
D | power_state_machine.cpp | 211 stateAction_->Suspend(callTimeMs, type, suspendImmed ? in SuspendDeviceInner()
|