/base/powermgr/power_manager/test/unittest/src/ |
H A D | running_lock_hub_native_test.cpp | 52 auto sc = std::make_shared<Suspend::SuspendController>(); in HWTEST_F() 53 auto runningLockHub = std::make_shared<Suspend::RunningLockHub>(sc); in HWTEST_F() 67 * @tc.desc: test Suspend inrunningLockMgr 73 auto SuspendController = std::make_shared<Suspend::SuspendController>(); in HWTEST_F() 75 SuspendController->Suspend(RunningSuspendCallback, RunningSuspendCallback, false); in HWTEST_F() 76 SuspendController->Suspend(RunningSuspendCallback, RunningSuspendCallback, false); in HWTEST_F() 81 UniqueFd(TEMP_FAILURE_RETRY(open(Suspend::RunningLockHub::LOCK_PATH, O_RDWR | O_CLOEXEC))); in HWTEST_F()
|
/base/powermgr/power_manager/services/native/src/actions/default/suspend/ |
H A D | isuspend_controller.h | 23 namespace Suspend { namespace 30 virtual void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) = 0; 35 } // namespace Suspend
|
H A D | suspend_controller.h | 31 namespace Suspend { namespace 39 void Suspend(SuspendCallback onSuspend, SuspendCallback onWakeup, bool force) override; 81 } // namespace Suspend
|
H A D | irunning_lock_hub.h | 23 namespace Suspend { namespace 32 } // namespace Suspend
|
H A 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 145 POWER_HILOGI(FEATURE_SUSPEND, "SuspendController Suspend: force"); in Suspend() 154 POWER_HILOGI(FEATURE_SUSPEND, "SuspendController Suspend: not force"); in Suspend() 191 } // namespace Suspend
|
H A D | running_lock_hub.h | 31 namespace Suspend { namespace 54 } // namespace Suspend
|
H A D | running_lock_hub.cpp | 25 namespace Suspend { namespace 89 } // namespace Suspend
|
/base/powermgr/power_manager/services/native/src/actions/default/display/ |
H A 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 66 SystemSuspendController::GetInstance().Suspend(onSuspend, onWakeup, force); in GoToSleep()
|
H A D | default_device_state_action.h | 27 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
|
H A D | device_state_action.h | 31 void Suspend(int64_t callTimeMs, SuspendDeviceType type, uint32_t flags) override;
|
/base/useriam/user_auth_framework/services/base/inc/ |
H A D | thread_handler_singleton_impl.h | 34 void Suspend() override;
|
H A D | thread_handler.h | 30 virtual void Suspend() = 0;
|
H A D | thread_handler_impl.h | 35 void Suspend() override;
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
H A D | system_suspend_controller.h | 36 void Suspend(const std::function<void()>& onSuspend, const std::function<void()>& onWakeup, bool force); 67 std::shared_ptr<Suspend::ISuspendController> sc_;
|
/base/useriam/user_auth_framework/services/base/src/ |
H A D | thread_handler_singleton_impl.cpp | 51 void ThreadHandlerSingletonImpl::Suspend() in Suspend() function in OHOS::UserIam::UserAuth::ThreadHandlerSingletonImpl
|
H A D | thread_handler_impl.cpp | 65 void ThreadHandlerImpl::Suspend() in Suspend() function in OHOS::UserIam::UserAuth::ThreadHandlerImpl
|
/base/update/sys_installer/frameworks/action_processer/include/ |
H A D | action_processer.h | 40 void Suspend();
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
H A D | mock_thread_handler.h | 34 MOCK_METHOD0(Suspend, void());
|
/base/powermgr/power_manager/test/mock/action/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A D | power_napi.h | 32 static napi_value Suspend(napi_env env, napi_callback_info info);
|
/base/sensors/sensor/services/include/ |
H A D | sensor_power_policy.h | 46 bool Suspend(int32_t pid, const std::vector<int32_t> &sensorIdList,
|
/base/sensors/sensor/services/src/ |
H A D | sensor_power_policy.cpp | 50 SEN_HILOGD("Suspend sensors failed, sensorIdList is empty, pid:%{public}d", pid); in SuspendSensors() 57 if (!Suspend(pid, sensorIdList, sensorInfoMap)) { in SuspendSensors() 58 SEN_HILOGE("Suspend part sensors, but some failed, pid:%{public}d", pid); in SuspendSensors() 61 SEN_HILOGI("Suspend sensors success, pid:%{public}d", pid); in SuspendSensors() 65 auto isAllSuspend = Suspend(pid, sensorIdList, sensorInfoMap); in SuspendSensors() 68 SEN_HILOGE("Suspend all sensors, but some failed, pid:%{public}d", pid); in SuspendSensors() 71 SEN_HILOGI("Suspend sensors success, pid:%{public}d", pid); in SuspendSensors() 75 bool SensorPowerPolicy::Suspend(int32_t pid, const std::vector<int32_t> &sensorIdList, in Suspend() function in OHOS::Sensors::SensorPowerPolicy
|
/base/powermgr/power_manager/test/fuzztest/power_utils/ |
H A D | power_fuzzer.cpp | 56 virtual void Suspend([[maybe_unused]] int64_t callTimeMs, [[maybe_unused]] SuspendDeviceType type, in Suspend() function in OHOS::PowerMgr::FuzzStateAction
|