Home
last modified time | relevance | path

Searched refs:packMethod (Results 1 – 17 of 17) sorted by relevance

/base/update/updater/test/unittest/diffpatch/
Dbzip2_unittest.cpp236 if (info->packMethod == PKG_COMPRESS_METHOD_ZIP) { in DeflateAdapterTest()
238 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4) { in DeflateAdapterTest()
240 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in DeflateAdapterTest()
285 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP;
298 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
310 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
322 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
334 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
346 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
359 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK;
[all …]
/base/update/updater/test/unittest/package/
Dpkg_test.h131 if (info->packMethod == PKG_COMPRESS_METHOD_NONE) { in ExtractFile()
147 PKG_LOGI("FileInfo [%zu] packMethod: %d \n", i, info->packMethod); in ExtractFile()
163 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CreateZipPackage()
Dpkg_manager_unittest.cpp122 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()
251 info.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in TestCreatePackageInvalidFile()
288 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidFile()
313 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidPkgType()
336 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestZipPackageInvalidFile()
371 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestDecompressLz4plus()
458 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestDecompressGzipInitFile()
Dpackage_unittest.cpp179 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestGZipPkgCompress()
237 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestLz4PkgCompress()
Dpkg_algo_unittest.cpp125 config.packMethod = invalidType; in TestInvalidParam()
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp250 fileInfo->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetFileInfo()
304 …fileInfo->fileInfo.packMethod = (method_ == LZ4B_MAGIC) ? PKG_COMPRESS_METHOD_LZ4_BLOCK : PKG_COMP… in GetFileInfo()
320 if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_ZIP) { in Init()
322 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4) { in Init()
324 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in Init()
/base/update/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp148 localFileInfo->packMethod = fileInfo->packMethod; in Init()
Dpkg_lz4file.cpp118 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in DecodeHeader()
120 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in DecodeHeader()
Dpkg_gzipfile.cpp281 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in DecodeHeader()
Dpkg_zipfile.cpp715 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in DecodeHeader()
Dpkg_upgradefile.cpp880 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in DecodeHeader()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp65 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()
91 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetZipPkgInfo()
111 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in GetLz4PkgInfo()
/base/update/updater/services/include/package/
Dpkg_info_utils.h77 uint16_t packMethod = 0; member
/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp444 zipInfo.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
525 method_ = static_cast<int32_t>(info->fileInfo.packMethod); in TestAndSetConfig()
540 lz4Info.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algorithm.cpp213 switch (config->packMethod) { in GetAlgorithm()
Dpkg_algo_lz4.cpp499 lz4Info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in UpdateFileInfo()
/base/update/updater/utils/
Dutils.cpp405 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CompressLogs()