Searched refs:GetValueAndSetTo (Results 1 – 4 of 4) sorted by relevance
/base/update/updateservice/services/firmware/utils/src/ |
D | firmware_check_analyze_utils.cpp | 48 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in DoAnalyze() 76 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in AnalyzeBlVersionCheckResults() 79 … ret += JsonUtils::GetValueAndSetTo(result, "descriptPackageId", checkResult.descriptPackageId); in AnalyzeBlVersionCheckResults() 85 ret += JsonUtils::GetValueAndSetTo(result, "packageType", versionPackageType); in AnalyzeBlVersionCheckResults() 91 … ret += JsonUtils::GetValueAndSetTo(result, "versionName", component.displayVersionNumber); in AnalyzeBlVersionCheckResults() 92 ret += JsonUtils::GetValueAndSetTo(result, "versionName", component.versionNumber); in AnalyzeBlVersionCheckResults() 98 ret += JsonUtils::GetValueAndSetTo(result, "versionCode", version.versionNumber); in AnalyzeBlVersionCheckResults() 99 ret += JsonUtils::GetValueAndSetTo(result, "url", version.url); in AnalyzeBlVersionCheckResults() 118 … ret += JsonUtils::GetValueAndSetTo(result, "descriptPackageId", component.descriptPackageId); in AnalyzeComponents() 119 ret += JsonUtils::GetValueAndSetTo(result, "url", component.url); in AnalyzeComponents() [all …]
|
/base/update/updateservice/services/core/ability/adapter/src/ |
D | config_parse.cpp | 62 JsonUtils::GetValueAndSetTo(root, "abInstallTimeout", configInfo_.abInstallTimeout); in LoadConfigInfo()
|
/base/update/updateservice/services/startup/manage/src/ |
D | schedule_config.cpp | 54 int32_t ret = JsonUtils::GetValueAndSetTo(root, key, value); in ParseConfig()
|
/base/update/updateservice/services/core/ability/utils/include/ |
D | json_utils.h | 41 …static int32_t GetValueAndSetTo(const nlohmann::json &jsonObject, const std::string &key, T &value) in GetValueAndSetTo() function
|