Searched refs:Power (Results 1 - 9 of 9) sorted by relevance
/base/powermgr/power_manager/frameworks/napi/power/ |
H A D | power_module.cpp | 73 POWER_HILOGD(COMP_FWK, "Initialize the Power module"); in PowerInit() 76 DECLARE_NAPI_FUNCTION("shutdownDevice", Power::ShutdownDevice), in PowerInit() 77 DECLARE_NAPI_FUNCTION("rebootDevice", Power::RebootDevice), in PowerInit() 78 DECLARE_NAPI_FUNCTION("isScreenOn", Power::IsScreenOn), in PowerInit() 79 DECLARE_NAPI_FUNCTION("wakeupDevice", Power::WakeupDevice), in PowerInit() 80 DECLARE_NAPI_FUNCTION("suspendDevice", Power::SuspendDevice), in PowerInit() 95 POWER_HILOGD(COMP_FWK, "The initialization of the Power module is complete"); in PowerInit()
|
H A D | power.cpp | 37 napi_value Power::RebootOrShutdown(napi_env env, napi_callback_info info, bool isReboot) in RebootOrShutdown() 66 napi_value Power::ShutdownDevice(napi_env env, napi_callback_info info) in ShutdownDevice() 71 napi_value Power::RebootDevice(napi_env env, napi_callback_info info) in RebootDevice() 76 void Power::IsScreenOnCallBack(napi_env env, std::unique_ptr<PowerAsyncCallbackInfo>& asCallbackInfoPtr) in IsScreenOnCallBack() 110 napi_value Power::IsScreenOn(napi_env env, napi_callback_info info) in IsScreenOn() 149 napi_value Power::WakeupDevice(napi_env env, napi_callback_info info) in WakeupDevice() 174 napi_value Power::SuspendDevice(napi_env env, napi_callback_info info) in SuspendDevice()
|
H A D | power.h | 36 class Power { class
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
H A D | system_suspend_controller.h | 54 class PowerHdfCallback : public OHOS::HDI::Power::V1_2::IPowerHdiCallback { 65 OHOS::HDI::Power::V1_2::RunningLockInfo FillRunningLockInfo(const RunningLockParam& param); 68 sptr<OHOS::HDI::Power::V1_2::IPowerInterface> powerInterface_ { nullptr };
|
H A D | system_suspend_controller.cpp | 30 using namespace OHOS::HDI::Power::V1_2; 174 OHOS::HDI::Power::V1_2::RunningLockInfo SystemSuspendController::FillRunningLockInfo(const RunningLockParam& param) in FillRunningLockInfo() 176 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo {}; in FillRunningLockInfo() 178 filledInfo.type = static_cast<OHOS::HDI::Power::V1_2::RunningLockType>(param.type); in FillRunningLockInfo() 192 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo = FillRunningLockInfo(param); in AcquireRunningLock() 205 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo = FillRunningLockInfo(param); in ReleaseRunningLock()
|
/base/powermgr/power_manager/services/native/src/ |
H A D | power_hdi_callback.cpp | 19 using namespace OHOS::HDI::Power::V1_2;
|
/base/powermgr/power_manager/services/native/include/ |
H A D | power_hdi_callback.h | 24 using namespace OHOS::HDI::Power::V1_2;
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_manager.cpp | 44 using namespace OHOS::HDI::Power::V1_2; 161 static OHOS::HDI::Power::V1_2::RunningLockInfo FillRunningLockInfo(const std::string &name, int32_t timeoutMs) in FillRunningLockInfo() 163 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo {}; in FillRunningLockInfo() 165 filledInfo.type = OHOS::HDI::Power::V1_2::RunningLockType::RUNNINGLOCK_BACKGROUND_PHONE; in FillRunningLockInfo() 188 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo = FillRunningLockInfo( in RunningLockCallback() 205 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo = FillRunningLockInfo( in ApplyRunningLock() 241 OHOS::HDI::Power::V1_2::RunningLockInfo filledInfo = FillRunningLockInfo( in ReleaseRunningLock()
|
/base/telephony/ril_adapter/services/hril/include/ |
H A D | hril_manager.h | 227 sptr<OHOS::HDI::Power::V1_2::IPowerInterface> powerInterface_ { nullptr };
|
Completed in 6 milliseconds