Home
last modified time | relevance | path

Searched refs:oldFile (Results 1 - 3 of 3) sorted by relevance

/base/update/updater/test/unittest/diffpatch/
H A Ddiffpatch_unittest.cpp46 int BlockDiffPatchTest(const std::string &oldFile, in BlockDiffPatchTest() argument
49 int32_t ret = UpdatePatch::UpdateDiff::DiffBlock(TEST_PATH_FROM + oldFile, in BlockDiffPatchTest()
53 TEST_PATH_FROM + oldFile, TEST_PATH_FROM + restoreFile); in BlockDiffPatchTest()
62 int ImgageDiffPatchFileTest(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest() argument
65 int32_t ret = UpdatePatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest()
69 TEST_PATH_FROM + oldFile, TEST_PATH_FROM + restoreFile); in ImgageDiffPatchFileTest()
115 int ImgageDiffPatchFileTest2(size_t limit, const std::string &oldFile, in ImgageDiffPatchFileTest2() argument
118 int32_t ret = UpdatePatch::UpdateDiff::DiffImage(limit, TEST_PATH_FROM + oldFile, in ImgageDiffPatchFileTest2()
131 ret = TestApplyPatch(TEST_PATH_FROM + patchFile, TEST_PATH_FROM + oldFile, expected, in ImgageDiffPatchFileTest2()
192 int BlockDiffPatchTest2(const std::string &oldFile, in BlockDiffPatchTest2() argument
[all...]
/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp416 bool ModuleFile::CompareVersion(const ModuleFile &newFile, const ModuleFile &oldFile) in CompareVersion() argument
418 if (newFile.GetPath() == oldFile.GetPath()) { in CompareVersion()
425 !ParseVersion(oldFile.GetVersionInfo().version, " ", oldVersion)) { in CompareVersion()
434 if (!CompareSaListVersion(oldFile.GetVersionInfo().saInfoList, newFile.GetVersionInfo().saInfoList)) { in CompareVersion()
438 if (!CompareBundleList(oldFile.GetVersionInfo().bundleInfoList, newFile.GetVersionInfo().bundleInfoList)) { in CompareVersion()
/base/update/sys_installer/services/module_update/util/include/
H A Dmodule_file.h105 static bool CompareVersion(const ModuleFile &newFile, const ModuleFile &oldFile);

Completed in 3 milliseconds