Home
last modified time | relevance | path

Searched refs:GetCallbackInfo (Results 1 – 16 of 16) sorted by relevance

/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_utils.h29 …static napi_value GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_valu…
Dnapi_utils.cpp21 napi_value NapiUtils::GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_v… in GetCallbackInfo() function in OHOS::PowerMgr::NapiUtils
Dthermal_manager_napi.cpp212 NapiUtils::GetCallbackInfo(env, info, argc, argv); in SubscribeThermalLevel()
234 NapiUtils::GetCallbackInfo(env, info, argc, argv); in UnSubscribeThermalLevel()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_napi.cpp43 NapiUtils::GetCallbackInfo(env, info, argc, argv); in Create()
66 NapiUtils::GetCallbackInfo(env, info, argc, argv); in IsSupported()
89 napi_value thisArg = NapiUtils::GetCallbackInfo(env, info, argc, argv); in Hold()
110 napi_value thisArg = NapiUtils::GetCallbackInfo(env, info, argc, nullptr); in IsHolding()
122 napi_value thisArg = NapiUtils::GetCallbackInfo(env, info, argc, nullptr); in UnHold()
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_utils.h29 …static napi_value GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_valu…
Dnapi_utils.cpp24 napi_value NapiUtils::GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_v… in GetCallbackInfo() function in OHOS::PowerMgr::NapiUtils
/base/powermgr/battery_statistics/frameworks/napi/include/
Dnapi_utils.h27 …static void GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_value argv…
/base/powermgr/power_manager/frameworks/napi/power/
Dpower_napi.cpp58 NapiUtils::GetCallbackInfo(env, info, argc, argv); in Wakeup()
78 NapiUtils::GetCallbackInfo(env, info, argc, argv); in Suspend()
110 NapiUtils::GetCallbackInfo(env, info, argc, argv); in SetPowerMode()
142 NapiUtils::GetCallbackInfo(env, info, argc, argv); in RebootOrShutdown()
/base/powermgr/battery_statistics/frameworks/napi/src/
Dnapi_utils.cpp21 void NapiUtils::GetCallbackInfo(napi_env& env, napi_callback_info& info, size_t& argc, napi_value a… in GetCallbackInfo() function in OHOS::PowerMgr::NapiUtils
Dbattery_stats_module.cpp38 NapiUtils::GetCallbackInfo(env, info, argc, argv); in GetBatteryStats()
Dbattery_stats.cpp141 NapiUtils::GetCallbackInfo(env_, info, argc, argv); in GetAppOrPartStats()
/base/powermgr/display_manager/frameworks/napi/
Dbrightness_module.cpp49 napi_value options = asyncBrightness->GetCallbackInfo(info, napi_object); in SyncWork()
154 napi_value options = asyncBrightness->GetCallbackInfo(info, napi_object); in SetKeepScreenOn()
Dbrightness.h45 napi_value GetCallbackInfo(napi_callback_info& info, napi_valuetype checkType);
Dbrightness.cpp79 napi_value napiBrightness = GetCallbackInfo(info, napi_number); in SetValue()
80 napi_value napiUndefined = GetCallbackInfo(info, napi_undefined); in SetValue()
161 napi_value Brightness::GetCallbackInfo(napi_callback_info& info, napi_valuetype checkType) in GetCallbackInfo() function in OHOS::DisplayPowerMgr::Brightness
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/include/
Djs_event_cooperate_target.h74 static std::unique_ptr<JsUtilCooperate::CallbackInfo> GetCallbackInfo(uv_work_t *work);
/base/sensors/miscdevice/interfaces/plugin/vibrator/src/
Dvibrator_js.cpp108 static bool GetCallbackInfo(const napi_env &env, napi_value args[], in GetCallbackInfo() function
152 if (!GetCallbackInfo(env, args, asyncCallbackInfo, mode)) { in VibrateMode()