Home
last modified time | relevance | path

Searched refs:CODE (Results 1 - 7 of 7) sorted by relevance

/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dpack_info.cpp34 const std::string CODE = "code"; member
393 if (!versionObj->Contains(CODE.c_str()) || !versionObj->Contains(NAME.c_str())) { in GetVersionByVersionObj()
394 LOGE("Version node has no %s node or %s node!", CODE.c_str(), NAME.c_str()); in GetVersionByVersionObj()
397 if (versionObj->GetInt(CODE.c_str(), &version.code) != Result::SUCCESS) { in GetVersionByVersionObj()
398 LOGE("Version node get %s failed!", CODE.c_str()); in GetVersionByVersionObj()
415 if (!versionObj->Contains(CODE.c_str())) { in SetVersionCode()
416 LOGE("Version node has no %s node!", CODE.c_str()); in SetVersionCode()
419 if (versionObj->SetInt(CODE.c_str(), versionCode) != Result::SUCCESS) { in SetVersionCode()
420 LOGE("Version node set %s failed!", CODE.c_str()); in SetVersionCode()
H A Dmodule_json_fa.cpp41 const std::string CODE = "code"; member
124 if (!versionObj->Contains(CODE.c_str()) || !versionObj->Contains(NAME.c_str())) { in GetFaVersionByVersionObj()
125 LOGE("Version node has no %s node or %s node", CODE.c_str(), NAME.c_str()); in GetFaVersionByVersionObj()
128 if (versionObj->GetInt(CODE.c_str(), &version.versionCode) != Result::SUCCESS) { in GetFaVersionByVersionObj()
129 LOGE("Version node get %s failed!", CODE.c_str()); in GetFaVersionByVersionObj()
155 if (!versionObj->Contains(CODE.c_str())) { in SetFaVersionCode()
156 LOGE("Version node has no %s node!", CODE.c_str()); in SetFaVersionCode()
159 if (versionObj->SetInt(CODE.c_str(), versionCode) != Result::SUCCESS) { in SetFaVersionCode()
160 LOGE("Version node set %s failed!", CODE.c_str()); in SetFaVersionCode()
H A Dmodule_json_stage.cpp41 const std::string CODE = "code"; member
H A Dmodule_json.cpp41 const std::string CODE = "code"; member
/developtools/packing_tool/adapter/ohos/
H A DPackageNormalize.java56 private static final String CODE = "code"; field in PackageNormalize
178 versionObject.put(CODE, versionCode); in updatePackInfo()
H A DModuleJsonUtil.java45 private static final String CODE = "code"; field in ModuleJsonUtil
159 if (versionObj.containsKey(CODE) && versionObj.containsKey(NAME)) { in parseFaVersion()
161 version.versionCode = versionObj.getIntValue(CODE); in parseFaVersion()
445 int finalVersionCode = finalVersionObj.getIntValue(CODE); in verifyAppInPackInfo()
446 int srcVersionCode = srcVersionObj.getIntValue(CODE); in verifyAppInPackInfo()
H A DCompressor.java147 private static final String CODE = "code"; field in Compressor
3282 versionObject.put(CODE, utility.getVersionCode()); in parseAndModifyPackInfo()
3324 if (!versionObj.containsKey(CODE)) { in parseAndModifyConfigJson()
3328 util.setOriginVersionCode(versionObj.getIntValue(CODE)); in parseAndModifyConfigJson()
3342 versionObj.put(CODE, utility.getVersionCode()); in parseAndModifyConfigJson()

Completed in 14 milliseconds