Searched refs:valueObj (Results 1 - 3 of 3) sorted by relevance
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | battery_config.cpp | 204 Json::Value valueObj = lightConfig[key]; in ParseLightConfig() local 205 if (valueObj.isNull() || !valueObj.isObject()) { in ParseLightConfig() 210 Json::Value soc = GetValue(valueObj, "soc"); in ParseLightConfig() 211 Json::Value rgb = GetValue(valueObj, "rgb"); in ParseLightConfig() 250 Json::Value valueObj = chargeSceneConfig[key]; in ParseChargeSceneConfig() local 251 if (!IsValidChargeSceneConfig(key, valueObj)) { in ParseChargeSceneConfig() 256 bool parseSupportPathResult = ParseChargeSceneSupport(valueObj, tempChargeSceneConfig); in ParseChargeSceneConfig() 257 bool parseSetPathResult = ParseChargeSceneSet(valueObj, tempChargeSceneConfig); in ParseChargeSceneConfig() 258 bool parseGetPathResult = ParseChargeSceneGet(valueObj, tempChargeSceneConfi in ParseChargeSceneConfig() 268 IsValidChargeSceneConfig(const std::string& key, const Json::Value& valueObj) IsValidChargeSceneConfig() argument 286 ParseChargeSceneSupport(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config) ParseChargeSceneSupport() argument 303 ParseChargeSceneSet(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config) ParseChargeSceneSet() argument 316 ParseChargeSceneGet(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config) ParseChargeSceneGet() argument 350 Json::Value valueObj = ueventConfig[key]; ParseUeventConfig() local [all...] |
/drivers/peripheral/battery/interfaces/hdi_service/include/ |
H A D | battery_config.h | 69 bool IsValidChargeSceneConfig(const std::string& key, const Json::Value& valueObj); 70 bool ParseChargeSceneSupport(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config); 71 bool ParseChargeSceneSet(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config); 72 bool ParseChargeSceneGet(const Json::Value& valueObj, BatteryConfig::ChargeSceneConfig& config);
|
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | power_config.cpp | 161 Json::Value valueObj = sceneConfig[key];
in ParseSceneConfig() local 162 if (key.empty() || valueObj.isNull() || !valueObj.isObject()) {
in ParseSceneConfig() 168 Json::Value getPath = GetValue(valueObj, "get.path");
in ParseSceneConfig() 169 Json::Value setPath = GetValue(valueObj, "set.path");
in ParseSceneConfig()
|
Completed in 2 milliseconds