Home
last modified time | relevance | path

Searched refs:PkgAlgorithm (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algorithm.h63 class PkgAlgorithm {
65 using PkgAlgorithmPtr = std::shared_ptr<PkgAlgorithm>;
68 PkgAlgorithm() {} in PkgAlgorithm() function
70 virtual ~PkgAlgorithm() {} in ~PkgAlgorithm()
93 … static PkgAlgorithm::PkgAlgorithmPtr GetAlgorithm(const PkgManager::FileInfoPtr config = nullptr);
H A Dpkg_algorithm.cpp25 int32_t PkgAlgorithm::ReadData(const PkgStreamPtr inStream, size_t offset, PkgBuffer &buffer, in ReadData()
42 int32_t PkgAlgorithm::FinalDigest(DigestAlgorithm::DigestAlgorithmPtr algorithm, in FinalDigest()
59 int32_t PkgAlgorithm::Pack(const PkgStreamPtr inStream, const PkgStreamPtr outStream, in Pack()
106 int32_t PkgAlgorithm::Unpack(const PkgStreamPtr inStream, const PkgStreamPtr outStream, in Unpack()
152 int32_t PkgAlgorithm::UnpackWithVerify(const PkgStreamPtr inStream, const PkgStreamPtr outStream, in UnpackWithVerify()
207 PkgAlgorithm::PkgAlgorithmPtr PkgAlgorithmFactory::GetAlgorithm(const PkgManager::FileInfoPtr confi… in GetAlgorithm()
224 return std::make_shared<PkgAlgorithm>(); in GetAlgorithm()
H A Dpkg_algo_deflate.h24 class PkgAlgoDeflate : public PkgAlgorithm {
H A Dpkg_algo_lz4.h34 class PkgAlgorithmLz4 : public PkgAlgorithm {
H A Dpkg_algo_lz4.cpp24 PkgAlgorithmLz4::PkgAlgorithmLz4(const Lz4FileInfo &config) : PkgAlgorithm(), in PkgAlgorithmLz4()
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_lz4file.cpp49PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack()
79PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack()
H A Dpkg_gzipfile.cpp128PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack()
197PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack()
H A Dpkg_zipfile.h176 const PkgAlgorithm::PkgAlgorithmPtr algorithm, const PkgStreamPtr outStream);
H A Dpkg_zipfile.cpp291 const PkgAlgorithm::PkgAlgorithmPtr algorithm, const PkgStreamPtr outStream) in PackStream()
354PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack()
664PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack()
H A Dpkg_upgradefile.cpp834PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Pack()
923PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(&fileInfo_.fileInfo); in Unpack()
/ohos5.0/base/update/updater/test/unittest/package/
H A Dpkg_algo_unittest.cpp122 PkgAlgorithm::PkgAlgorithmPtr algo = PkgAlgorithmFactory::GetAlgorithm(nullptr); in TestInvalidParam()
/ohos5.0/base/update/updater/test/fuzztest/fuzz_src_data/
H A DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
/ohos5.0/base/update/updater/test/unittest/test_data/applypatch/
H A DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
/ohos5.0/base/update/updater/services/package/pkg_manager/
H A Dpkg_managerImpl.cpp904 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream()
936 PkgAlgorithm::PkgAlgorithmPtr algorithm = PkgAlgorithmFactory::GetAlgorithm(info); in DoCreatePkgStream()