Searched refs:patchName (Results 1 – 6 of 6) sorted by relevance
| /base/update/updater/services/diffpatch/diff/ |
| 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 211 std::ofstream patchFile(patchName, std::ios::out | std::ios::trunc | std::ios::binary); in DiffImage() 213 PATCH_LOGE("Failed to open %s", patchName.c_str()); in DiffImage() 231 …blockPatchFile.open(patchName + ".bspatch", std::ios::in | std::ios::out | std::ios::trunc | std::… in DiffImage() 233 PATCH_LOGE("Failed to open bspatch %s", patchName.c_str()); in DiffImage() 254 …"DiffImage success patchOffset %zu %s", static_cast<size_t>(patchFile.tellp()), patchName.c_str()); in DiffImage() 259 int32_t CompressedImageDiff::MakePatch(const std::string &patchName) in MakePatch() argument [all …]
|
| 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;
|
| /base/update/updater/test/unittest/diffpatch/ |
| 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()
|
| /base/update/updater/services/updater_binary/ |
| D | update_image_patch.cpp | 126 std::string patchName = para.patchFile; in CreatePatchStream() local 127 const FileInfo *info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream() 130 patchName = para.partName; in CreatePatchStream() 131 info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream() 145 ret = env.GetPkgManager()->ExtractFile(patchName, patchStream); in CreatePatchStream()
|
| /base/update/updater/services/diffpatch/patch/ |
| 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 int32_t ret = PatchMapFile(patchName, patchData); in ApplyPatch()
|
| /base/update/updater/services/include/patch/ |
| D | update_patch.h | 68 …static int32_t ApplyPatch(const std::string &patchName, const std::string &oldfile, const std::str…
|