Lines Matching refs:Value
96 Json::Value value = GetValue(key);
144 Json::Value soc = GetValue("light." + level + ".soc");
145 Json::Value rgb = GetValue("light." + level + ".rgb");
172 Json::Value bootActionsConfig = GetValue("boot_actions");
180 void BatteryConfig::ParseCommonEventConf(const Json::Value& bootActionsConfig)
182 Json::Value commonEventConfs = bootActionsConfig["sendcommonevent"];
190 Json::Value eventName = commonEventConf["event_name"];
191 Json::Value sceneConfigName = commonEventConf["scene_config"]["name"];
192 Json::Value sceneConfigEqual = commonEventConf["scene_config"]["equal"];
193 Json::Value sceneConfigNotEqual = commonEventConf["scene_config"]["not_equal"];
194 Json::Value uevent = commonEventConf["uevent"];
218 Json::Value BatteryConfig::FindConf(const std::string& key) const
220 return (config_.isObject() && config_.isMember(key)) ? config_[key] : Json::Value();
229 Json::Value BatteryConfig::GetValue(std::string key) const
234 return Json::Value();
237 Json::Value value = FindConf(keys[MAP_KEY_INDEX]);
239 BATTERY_HILOGD(COMP_SVC, "Value is empty. key=%{public}s", key.c_str());