Home
last modified time | relevance | path

Searched refs:GetValueAndSetTo (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/update/updateservice/services/firmware/utils/src/
H A Dfirmware_check_analyze_utils.cpp47 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in DoAnalyze()
75 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in AnalyzeBlVersionCheckResults()
84 ret += JsonUtils::GetValueAndSetTo(result, "packageType", versionPackageType); in AnalyzeBlVersionCheckResults()
91 ret += JsonUtils::GetValueAndSetTo(result, "versionName", component.versionNumber); in AnalyzeBlVersionCheckResults()
97 ret += JsonUtils::GetValueAndSetTo(result, "versionCode", version.versionNumber); in AnalyzeBlVersionCheckResults()
98 ret += JsonUtils::GetValueAndSetTo(result, "url", version.url); in AnalyzeBlVersionCheckResults()
118 ret += JsonUtils::GetValueAndSetTo(result, "url", component.url); in AnalyzeComponents()
119 ret += JsonUtils::GetValueAndSetTo(result, "size", componetSize); in AnalyzeComponents()
122 ret += JsonUtils::GetValueAndSetTo(result, "verifyInfo", component.verifyInfo); in AnalyzeComponents()
123 ret += JsonUtils::GetValueAndSetTo(result, "versionCode", component.versionNumber); in AnalyzeComponents()
[all …]
/ohos5.0/base/update/updateservice/foundations/model/include/
H A Dbusiness_error.h60 JsonUtils::GetValueAndSetTo(jsonObj, "message", businessError.message); in from_json()
61 JsonUtils::GetValueAndSetTo(jsonObj, "data", businessError.data); in from_json()
63 JsonUtils::GetValueAndSetTo(jsonObj, "errorNum", errorNumber); in from_json()
H A Derror_message.h40 JsonUtils::GetValueAndSetTo(jsonObj, "errorCode", message.errorCode); in from_json()
41 JsonUtils::GetValueAndSetTo(jsonObj, "errorMessage", message.errorMessage); in from_json()
/ohos5.0/base/update/updateservice/services/core/ability/adapter/src/
H A Dconfig_parse.cpp67 JsonUtils::GetValueAndSetTo(root, "abInstallTimeout", configInfo_.abInstallTimeout); in LoadConfigInfo()
68 JsonUtils::GetValueAndSetTo(root, "moduleLibPath", configInfo_.moduleLibPath); in LoadConfigInfo()
/ohos5.0/base/update/updateservice/services/startup/manage/src/
H A Dschedule_config.cpp55 int32_t ret = JsonUtils::GetValueAndSetTo(root, key, value); in ParseConfig()
/ohos5.0/base/update/updateservice/foundations/ability/utils/include/
H A Ddupdate_json_utils.h40 …static int32_t GetValueAndSetTo(const nlohmann::json &jsonObject, const std::string &key, T &value) in GetValueAndSetTo() function