Home
last modified time | relevance | path

Searched refs:VERSIONNAME (Results 1 - 5 of 5) sorted by relevance

/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dmodule_json_stage.cpp30 const std::string VERSIONNAME = "versionName"; member
115 if (!appObj->Contains(VERSIONNAME.c_str())) { in SetStageVersionName()
116 LOGE("App node has no %s node!", VERSIONNAME.c_str()); in SetStageVersionName()
119 if (appObj->SetString(VERSIONNAME.c_str(), versionName) != Result::SUCCESS) { in SetStageVersionName()
120 LOGE("App node set %s failed!", VERSIONNAME.c_str()); in SetStageVersionName()
142 if (!appObj->Contains(VERSIONCODE.c_str()) || !appObj->Contains(VERSIONNAME.c_str())) { in GetStageVersionByAppObj()
143 LOGE("App node has no %s node or %s node", VERSIONCODE.c_str(), VERSIONNAME.c_str()); in GetStageVersionByAppObj()
150 if (appObj->GetString(VERSIONNAME.c_str(), &version.versionName) != Result::SUCCESS) { in GetStageVersionByAppObj()
151 LOGE("App node get %s failed!", VERSIONNAME.c_str()); in GetStageVersionByAppObj()
H A Dmodule_json_fa.cpp30 const std::string VERSIONNAME = "versionName"; member
H A Dmodule_json.cpp30 const std::string VERSIONNAME = "versionName"; member
/developtools/packing_tool/adapter/ohos/
H A DModuleJsonUtil.java34 private static final String VERSIONNAME = "versionName"; field in ModuleJsonUtil
128 if (appObj.containsKey(VERSIONCODE) && appObj.containsKey(VERSIONNAME)) { in parseStageVersion()
130 version.versionName = appObj.getString(VERSIONNAME); in parseStageVersion()
1467 if (appObj.containsKey(VERSIONNAME)) { in parsePatch()
1468 hqfVerifyInfo.setVersionName(appObj.getString(VERSIONNAME)); in parsePatch()
H A DJsonUtil.java68 private static final String VERSIONNAME = "versionName"; field in JsonUtil
2170 if (appObj.containsKey(VERSIONNAME)) { in parsePatch()
2171 hqfVerifyInfo.setVersionName(appObj.getString(VERSIONNAME)); in parsePatch()

Completed in 11 milliseconds