Searched refs:patchName (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/update/updater/services/diffpatch/diff/ |
H A D | image_diff.cpp | 51 int32_t ImageDiff::MakePatch(const std::string &patchName) in MakePatch() argument 53 PATCH_LOGI("ImageDiff::MakePatch %s limit_:%d", patchName.c_str(), limit_); in MakePatch() 85 return DiffImage(patchName); in MakePatch() 208 int32_t ImageDiff::DiffImage(const std::string &patchName) in DiffImage() argument 213 PATCH_LOGE("Failed to open %s", patchName.c_str()); in DiffImage() 233 PATCH_LOGE("Failed to open bspatch %s", patchName.c_str()); in DiffImage() 259 int32_t CompressedImageDiff::MakePatch(const std::string &patchName) in MakePatch() argument 261 PATCH_DEBUG("CompressedImageDiff::MakePatch %s limit_:%d", patchName.c_str(), limit_); in MakePatch() 280 return DiffImage(patchName); in MakePatch() 291 return ImageDiff::MakePatch(patchName); in MakePatch() [all …]
|
H A D | image_diff.h | 46 virtual int32_t MakePatch(const std::string &patchName); 52 int32_t DiffImage(const std::string &patchName); 71 int32_t MakePatch(const std::string &patchName) override;
|
/ohos5.0/base/update/updater/test/unittest/diffpatch/ |
H A D | diffpatch_unittest.cpp | 79 int32_t TestApplyPatch(const std::string &patchName, const std::string &oldName, in TestApplyPatch() argument 82 PATCH_DEBUG("UpdateApplyPatch::ApplyPatch : %s ", patchName.c_str()); in TestApplyPatch() 86 int32_t ret = PatchMapFile(patchName, patchData); in TestApplyPatch() 142 int32_t TestApplyBlockPatch(const std::string &patchName, in TestApplyBlockPatch() argument 145 PATCH_DEBUG("UpdateApplyPatch::ApplyPatch : %s ", patchName.c_str()); in TestApplyBlockPatch() 149 int32_t ret = PatchMapFile(patchName, patchData); in TestApplyBlockPatch()
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_image_patch.cpp | 127 std::string patchName = para.patchFile; in CreatePatchStream() local 128 const FileInfo *info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream() 131 patchName = para.partName; in CreatePatchStream() 132 info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream() 146 ret = env.GetPkgManager()->ExtractFile(patchName, patchStream); in CreatePatchStream()
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | update_patch.cpp | 223 int32_t UpdateApplyPatch::ApplyPatch(const std::string &patchName, in ApplyPatch() argument 226 PATCH_DEBUG("UpdatePatch::ApplyPatch : %s ", patchName.c_str()); in ApplyPatch() 230 if (PatchMapFile(patchName, patchData) != 0) { in ApplyPatch()
|
/ohos5.0/base/update/updater/services/include/patch/ |
H A D | update_patch.h | 68 …static int32_t ApplyPatch(const std::string &patchName, const std::string &oldfile, const std::str…
|