Home
last modified time | relevance | path

Searched refs:JsonUtils (Results 1 - 9 of 9) sorted by relevance

/base/update/updateservice/services/firmware/utils/src/
H A Dfirmware_check_analyze_utils.cpp41 if (!JsonUtils::ParseAndGetJsonObject(rawJson, root)) { in DoAnalyze()
47 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in DoAnalyze()
75 JsonUtils::GetValueAndSetTo(root, "searchStatus", status); in AnalyzeBlVersionCheckResults()
78 ret += JsonUtils::GetValueAndSetTo(result, "descriptPackageId", checkResult.descriptPackageId); in AnalyzeBlVersionCheckResults()
84 ret += JsonUtils::GetValueAndSetTo(result, "packageType", versionPackageType); in AnalyzeBlVersionCheckResults()
90 ret += JsonUtils::GetValueAndSetTo(result, "versionName", component.displayVersionNumber); 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()
117 ret += JsonUtils in AnalyzeComponents()
[all...]
/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()
/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()
/base/update/updateservice/services/startup/manage/src/
H A Dschedule_config.cpp55 int32_t ret = JsonUtils::GetValueAndSetTo(root, key, value); in ParseConfig()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.h129 class JsonUtils { class
H A Dsandbox_utils.cpp159 bool JsonUtils::GetJsonObjFromJson(nlohmann::json &jsonObj, const std::string &jsonPath) in GetJsonObjFromJson()
176 bool JsonUtils::GetStringFromJson(const nlohmann::json &json, const std::string &key, std::string &value) in GetStringFromJson()
336 bool rc = JsonUtils::GetStringFromJson(jsonConfig, g_destMode, fileModeStr);
823 (void)JsonUtils::GetStringFromJson(mntPoint, g_actionStatuc, actionStatus); in DoAllMntPointsMount()
889 (void)JsonUtils::GetStringFromJson(symPoint, g_actionStatuc, actionStatus); in DoAllSymlinkPointslink()
1753 rc = OHOS::AppSpawn::JsonUtils::GetJsonObjFromJson(appSandboxConfig, appPath);
1759 rc = OHOS::AppSpawn::JsonUtils::GetJsonObjFromJson(appSandboxConfig, isolatedPath);
/base/update/updateservice/foundations/ability/utils/include/
H A Ddupdate_json_utils.h37 class JsonUtils { class
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_test.cpp377 bool rc = JsonUtils::GetJsonObjFromJson(appSandboxConfig, ""); in HWTEST_F()
380 rc = JsonUtils::GetJsonObjFromJson(appSandboxConfig, path); in HWTEST_F()
396 rc = JsonUtils::GetStringFromJson(j_config, "common", value); in HWTEST_F()

Completed in 9 milliseconds