Home
last modified time | relevance | path

Searched refs:ARG_0 (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/thermal_manager/frameworks/napi/
Dthermal_manager_napi.cpp29 const uint8_t ARG_0 = 0; variable
215 if (argc != MAX_ARGC || !NapiUtils::CheckValueType(env, argv[ARG_0], napi_function)) { in SubscribeThermalLevel()
224 g_thermalLevelCallback->UpdateCallback(env, argv[ARG_0]); in SubscribeThermalLevel()
240 THERMAL_RETURN_IF_WITH_RET(argc == ARG_0, nullptr); in UnSubscribeThermalLevel()
242 if (argc > MAX_ARGC || !NapiUtils::CheckValueType(env, argv[ARG_0], napi_function)) { in UnSubscribeThermalLevel()
248 napi_create_reference(env, argv[ARG_0], 1, &handlerRef); in UnSubscribeThermalLevel()
259 napi_status status = napi_call_function(env, nullptr, handler, ARG_0, nullptr, &result); in UnSubscribeThermalLevel()
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi.cpp33 constexpr size_t ARG_0 { 0 }; variable
158 if (arr[ARG_0] != napi_string || arr[ARG_1] != napi_number || arr[ARG_2] != napi_number || in CheckArguments()
199 if (arr[ARG_0] != napi_string || arr[ARG_1] != napi_function) { in CheckGetArguments()
222 status = napi_get_value_string_utf8(env, args[ARG_0], nullptr, 0, &modLen); in CheckSubscribeParam()
228 status = napi_get_value_string_utf8(env, args[ARG_0], mode, modLen + 1, &modLen); in CheckSubscribeParam()
263 status = napi_get_value_string_utf8(env, args[ARG_0], nullptr, 0, &modLen); in CheckGetParam()
269 status = napi_get_value_string_utf8(env, args[ARG_0], mode, modLen + 1, &modLen); in CheckGetParam()
/base/powermgr/thermal_manager/utils/native/include/
Dconstants.h75 const uint32_t ARG_0 = 0; variable
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp44 constexpr uint32_t ARG_0 = 0; variable
162 if (ret < ARG_0) { in InitThermalZoneSysfs()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_observer.cpp77 typeMap_.insert(std::make_pair(SensorType::SOC, sensorType[ARG_0])); in InitSensorTypeMap()