/base/powermgr/power_manager/test/unittest/src/ |
D | running_lock_hub_native_test.cpp | 50 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/ |
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… 61 std::shared_ptr<Suspend::ISuspendController> sc_;
|
D | system_suspend_controller.cpp | 99 void SystemSuspendController::Suspend( in Suspend() function in OHOS::PowerMgr::SystemSuspendController
|
/base/update/sys_installer/frameworks/action_processer/include/ |
D | action_processer.h | 40 void Suspend();
|
/base/powermgr/power_manager/test/mock/action/ |
D | mock_state_action.h | 28 MOCK_METHOD3(Suspend, void(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags));
|
/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/include/actions/ |
D | idevice_state_action.h | 40 virtual void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) = 0;
|
/base/sensors/sensor/services/sensor/include/ |
D | sensor_power_policy.h | 46 bool Suspend(int32_t pid, std::vector<int32_t> &sensorIdList,
|
/base/sensors/sensor/services/sensor/src/ |
D | sensor_power_policy.cpp | 56 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/ |
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 | 74 napi_value PowerNapi::Suspend(napi_env env, napi_callback_info info) in Suspend() function in OHOS::PowerMgr::PowerNapi
|
/base/print/print_fwk/etc/init/ |
D | cupsd.conf | 74 …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/ |
D | action_processer.cpp | 88 void ActionProcesser::Suspend() in Suspend() function in OHOS::SysInstaller::ActionProcesser
|
/base/powermgr/power_manager/services/native/src/suspend/ |
D | suspend_controller.cpp | 312 SystemSuspendController::GetInstance().Suspend([]() {}, []() {}, false); in HandleAutoSleep() 329 SystemSuspendController::GetInstance().Suspend([]() {}, []() {}, true); in HandleForceSleep()
|