Home
last modified time | relevance | path

Searched refs:patchVersionCode (Results 1 – 7 of 7) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DHQFInfo.java30 private int patchVersionCode = -1; field in HQFInfo
67 return patchVersionCode; in getPatchVersionCode()
70 public void setPatchVersionCode(int patchVersionCode) { in setPatchVersionCode() argument
71 this.patchVersionCode = patchVersionCode; in setPatchVersionCode()
DHQFVerify.java60 int patchVersionCode = hqfVerifyInfos.get(0).getPatchVersionCode(); in checkAppFields() local
78 if (patchVersionCode != hqfVerifyInfo.getPatchVersionCode()) { in checkAppFields()
/developtools/packing_tool/packing_tool/frameworks/src/json/
Dpatch_json.cpp202 bool PatchJson::GetPatchVersionCode(int32_t& patchVersionCode) in GetPatchVersionCode() argument
209 return GetPatchVersionCodeByAppObj(appObj, patchVersionCode); in GetPatchVersionCode()
212 …Json::GetPatchVersionCodeByAppObj(const std::unique_ptr<PtJson>& appObj, int32_t& patchVersionCode) in GetPatchVersionCodeByAppObj() argument
222 if (appObj->GetInt(PATCH_VERSION_CODE.c_str(), &patchVersionCode) != Result::SUCCESS) { in GetPatchVersionCodeByAppObj()
379 int32_t patchVersionCode = -1; in GetHqfInfo() local
388 !GetPatchVersionCodeByAppObj(appObj, patchVersionCode) || in GetHqfInfo()
400 hqfInfo.SetPatchVersionCode(patchVersionCode); in GetHqfInfo()
/developtools/packing_tool/packing_tool/frameworks/src/
Dhqf_verify.cpp45 int32_t patchVersionCode = hqfInfos[0].GetPatchVersionCode(); in CheckAppFields() local
61 if (patchVersionCode != info.GetPatchVersionCode()) { in CheckAppFields()
/developtools/packing_tool/packing_tool/frameworks/include/json/
Dhqf_info.h65 void SetPatchVersionCode(const int32_t& patchVersionCode) in SetPatchVersionCode() argument
67 patchVersionCode_ = patchVersionCode; in SetPatchVersionCode()
Dpatch_json.h50 bool GetPatchVersionCode(int32_t& patchVersionCode);
51 …bool GetPatchVersionCodeByAppObj(const std::unique_ptr<PtJson>& appObj, int32_t& patchVersionCode);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/patch_json_test/
Dpatch_json_test.cpp246 int32_t patchVersionCode; variable
247 EXPECT_TRUE(patchJson.GetPatchVersionCode(patchVersionCode));
248 EXPECT_EQ(patchVersionCode, 200);
542 int32_t patchVersionCode; variable
544 bool ret = patchJson.GetPatchVersionCode(patchVersionCode);
558 int32_t patchVersionCode; variable
559 bool ret = patchJson.GetPatchVersionCodeByAppObj(appObj, patchVersionCode);
563 ret = patchJson.GetPatchVersionCodeByAppObj(appObj, patchVersionCode);
567 ret = patchJson.GetPatchVersionCodeByAppObj(appObj, patchVersionCode);