Home
last modified time | relevance | path

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

12

/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_hub_native_test.cpp50 auto sc = std::make_shared<Suspend::SuspendController>();
51 auto runningLockHub = std::make_shared<Suspend::RunningLockHub>(sc);
69 auto SuspendController = std::make_shared<Suspend::SuspendController>();
71 SuspendController->Suspend(RunningSuspendCallback, RunningSuspendCallback, false);
72 SuspendController->Suspend(RunningSuspendCallback, RunningSuspendCallback, false);
77 UniqueFd(TEMP_FAILURE_RETRY(open(Suspend::RunningLockHub::LOCK_PATH, O_RDWR | O_CLOEXEC)));
/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…
61 std::shared_ptr<Suspend::ISuspendController> sc_;
Dsystem_suspend_controller.cpp99 void SystemSuspendController::Suspend( in Suspend() function in OHOS::PowerMgr::SystemSuspendController
/base/update/sys_installer/frameworks/action_processer/include/
Daction_processer.h40 void Suspend();
/base/powermgr/power_manager/test/mock/action/
Dmock_state_action.h28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
/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/include/actions/
Didevice_state_action.h40 virtual void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) = 0;
/base/sensors/sensor/services/sensor/include/
Dsensor_power_policy.h46 bool Suspend(int32_t pid, std::vector<int32_t> &sensorIdList,
/base/sensors/sensor/services/sensor/src/
Dsensor_power_policy.cpp56 if (!Suspend(pid, sensorIdList, sensorInfoMap)) { in SuspendSensors()
64 auto isAllSuspend = Suspend(pid, sensorIdList, sensorInfoMap); in SuspendSensors()
74 bool SensorPowerPolicy::Suspend(int32_t pid, std::vector<int32_t> &sensorIdList, in Suspend() function in OHOS::Sensors::SensorPowerPolicy
/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.cpp74 napi_value PowerNapi::Suspend(napi_env env, napi_callback_info info) in Suspend() function in OHOS::PowerMgr::PowerNapi
/base/print/print_fwk/etc/init/
Dcupsd.conf74 …n Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resum…
118 …n Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resum…
164 …n Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resum…
/base/update/sys_installer/frameworks/action_processer/src/
Daction_processer.cpp88 void ActionProcesser::Suspend() in Suspend() function in OHOS::SysInstaller::ActionProcesser
/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp312 SystemSuspendController::GetInstance().Suspend([]() {}, []() {}, false); in HandleAutoSleep()
329 SystemSuspendController::GetInstance().Suspend([]() {}, []() {}, true); in HandleForceSleep()

12