Searched refs:JsonUtils (Results 1 - 9 of 9) sorted by relevance
/base/update/updateservice/services/firmware/utils/src/ |
H A D | firmware_check_analyze_utils.cpp | 41 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 D | business_error.h | 60 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 D | error_message.h | 40 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 D | config_parse.cpp | 67 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 D | schedule_config.cpp | 55 int32_t ret = JsonUtils::GetValueAndSetTo(root, key, value); in ParseConfig()
|
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_utils.h | 129 class JsonUtils { class
|
H A D | sandbox_utils.cpp | 159 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 D | dupdate_json_utils.h | 37 class JsonUtils { class
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandbox_test.cpp | 377 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 11 milliseconds