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.cpp223 if (info->packMethod == PKG_COMPRESS_METHOD_ZIP) { in DeflateAdapterTest()
225 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4) { in DeflateAdapterTest()
227 } else if (info->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in DeflateAdapterTest()
269 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP;
282 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
294 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
306 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
318 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
330 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4;
343 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK;
[all …]
/base/update/updater/test/unittest/package/
Dpkg_test.h121 if (info->packMethod == PKG_COMPRESS_METHOD_NONE) { in ExtractFile()
137 PKG_LOGI("FileInfo [%zu] packMethod: %d \n", i, info->packMethod); in ExtractFile()
153 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CreateZipPackage()
Dpkg_manager_unittest.cpp122 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()
396 info.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in TestCreatePackageInvalidFile()
434 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidFile()
456 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestLz4PackageInvalidPkgType()
480 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in TestZipPackageInvalidFile()
513 lz4Info.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestDecompressLz4plus()
581 zipInfo.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestDecompressGzipInitFile()
Dpackage_unittest.cpp138 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in TestLz4PkgCompress()
163 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in TestLz4PkgCompressBlock()
404 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in TestGZipPkgCompress()
Dpkg_algo_unittest.cpp126 config.packMethod = invalidType; in TestInvalidParam()
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp182 fileInfo->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetFileInfo()
230 …fileInfo->fileInfo.packMethod = (method_ == LZ4B_MAGIC) ? PKG_COMPRESS_METHOD_LZ4_BLOCK : PKG_COMP… in GetFileInfo()
246 if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_ZIP) { in Init()
248 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4) { in Init()
250 } else if (fileInfo_->packMethod == PKG_COMPRESS_METHOD_LZ4_BLOCK) { in Init()
/base/update/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp133 localFileInfo->packMethod = fileInfo->packMethod; in Init()
Dpkg_lz4file.cpp101 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in DecodeHeader()
103 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4_BLOCK; in DecodeHeader()
Dpkg_gzipfile.cpp228 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_GZIP; in DecodeHeader()
Dpkg_upgradefile.cpp436 fileInfo_.fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in DecodeHeader()
Dpkg_zipfile.cpp554 fileInfo_.fileInfo.packMethod = PKG_DIGEST_TYPE_CRC; in DecodeHeader()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp62 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_NONE; in GetUpgradePkgInfo()
88 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in GetZipPkgInfo()
108 info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in GetLz4PkgInfo()
/base/update/updater/services/diffpatch/diff/
Dimage_diff.cpp381 zipInfo.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
455 method_ = info->fileInfo.packMethod; in TestAndSetConfig()
466 lz4Info.fileInfo.packMethod = info->fileInfo.packMethod; in TestAndSetConfig()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algorithm.cpp122 switch (config->packMethod) { in GetAlgorithm()
Dpkg_algo_lz4.cpp358 lz4Info->fileInfo.packMethod = PKG_COMPRESS_METHOD_LZ4; in UpdateFileInfo()
/base/update/updater/services/include/package/
Dpkg_manager.h74 uint16_t packMethod = 0; member
/base/update/updater/services/
Dupdater_utils.cpp52 file.fileInfo.packMethod = PKG_COMPRESS_METHOD_ZIP; in CompressLogs()