Home
last modified time | relevance | path

Searched refs:asInt (Results 1 - 16 of 16) sorted by relevance

/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_listener.cpp125 data.uid = root["UID"].asInt(); in ProcessCameraEvent()
128 data.pid = root["PID"].asInt(); in ProcessCameraEvent()
152 data.uid = root["UID"].asInt(); in ProcessAudioEvent()
155 data.pid = root["PID"].asInt(); in ProcessAudioEvent()
158 AudioState audioState = AudioState(root["STATE"].asInt()); in ProcessAudioEvent()
184 data.uid = root["UID"].asInt(); in ProcessSensorEvent()
187 data.pid = root["PID"].asInt(); in ProcessSensorEvent()
190 if (root["STATE"].asInt() == 1) { in ProcessSensorEvent()
192 } else if (root["STATE"].asInt() == 0) { in ProcessSensorEvent()
202 data.uid = root["UID"].asInt(); in ProcessGnssEvent()
[all...]
/base/powermgr/display_manager/brightness_manager/src/
H A Dlux_filter_config_parser.cpp58 config.filterNoFilterNum = value["filterNoFilterNum"].asInt(); in ParseConfig()
61 config.filterNum = value["filterNum"].asInt(); in ParseConfig()
64 config.filterMaxFuncLuxNum = value["filterMaxFuncLuxNum"].asInt(); in ParseConfig()
70 config.filterLuxTh = value["filterLuxTh"].asInt(); in ParseConfig()
H A Dlux_threshold_config_parser.cpp97 config.brightenDebounceTime = value["brightenDebounceTime"].asInt(); in ParseConfig()
100 config.darkenDebounceTime = value["darkenDebounceTime"].asInt(); in ParseConfig()
H A Dconfig_parser_base.cpp204 displayMode = value[paramName].asInt(); in ParseScreenData()
207 screenData.displayId = value["displayId"].asInt(); in ParseScreenData()
210 screenData.sensorId = value["sensorId"].asInt(); in ParseScreenData()
/base/powermgr/battery_manager/charger/src/
H A Dbattery_config.cpp95 return (value.isNull() || !value.isInt()) ? defVal : value.asInt(); in GetInt()
170 .beginSoc = soc[BEGIN_SOC_INDEX].asInt(), in ParseLightConf()
171 .endSoc = soc[END_SOC_INDEX].asInt(), in ParseLightConf()
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_config.cpp97 return (value.isNull() || !value.isInt()) ? defVal : value.asInt(); in GetInt()
161 .beginSoc = soc[BEGIN_SOC_INDEX].asInt(), in ParseLightConf()
162 .endSoc = soc[END_SOC_INDEX].asInt(), in ParseLightConf()
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Darray_usb_device_id_serializer.cpp82 value.SetVendorId(item["vendorId"].asInt()); in Deserialize()
83 value.SetProductId(item["productId"].asInt()); in Deserialize()
/base/hiviewdfx/hisysevent/frameworks/native/
H A Dhisysevent_json_decorator.cpp226 return eventJson.isBool() || (eventJson.isInt() && (eventJson.asInt() == 0 || eventJson.asInt() == 1)); in HiSysEventJsonDecorator()
/base/hiviewdfx/hiview/utility/smart_parser/rule/
H A Dextract_rule.cpp104 fsets.skipStep = value[L2_SKIP].asInt(); in ParseRule()
236 command.num = object[i][L3_NUM].asInt(); in ParseRuleParam()
/base/hiviewdfx/hiview/plugins/sysevent_source/
H A Devent_json_parser.cpp160 int privacy = baseJsonInfo[PRIVACY].asInt(); in ParseBaseConfig()
/base/powermgr/power_manager/services/native/src/
H A Dpower_mode_policy.cpp82 int32_t value = recoverJson[member].asInt(); in InitRecoverMap()
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dappevent_watcher_impl.cpp170 retArrValue[i] = jsonValue[static_cast<int>(i)].asInt(); in ConvertArrInt()
244 retInt[0] = jsonValue.asInt(); in CreatElmInt()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
H A Dos_event_listener.cpp258 appEventPack->SetType(eventJson[EVENT_TYPE_PROPERTY].asInt()); in GetAppEventPackFromJson()
/base/hiviewdfx/hiview/base/event_publish/
H A Devent_publish.cpp167 pid = params[PID].asInt(); in GetDesFileName()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_util.cpp633 static_cast<int32_t>(value.asInt()), sysEventInfo); in AppendBaseInfo()
668 NapiHiSysEventUtil::CreateInt32Value(env, static_cast<int32_t>(jsonValue.asInt()), value); in CreateParamItemTypeValue()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_util.cpp547 return CreateInt32(env, jsonValue.asInt()); in CreateBaseValueByJson()

Completed in 14 milliseconds