Home
last modified time | relevance | path

Searched refs:LoadPackage (Results 1 – 25 of 29) sorted by relevance

12

/base/update/updater/test/unittest/updater_binary/
Dupdate_partitions_unittest.cpp61 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
84 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
Dupdate_image_block_test.cpp82 ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
116 ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
Dupdate_processor_unittest.cpp64 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.h183 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
185 int32_t LoadPackage(std::vector<std::string> &fileNames, const PkgBuffer &buff,
Dpkg_lz4file.h67 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
Dpkg_gzipfile.h72 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
Dpkg_upgradefile.h97 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
Dpkg_pkgfile.h99 …virtual int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr…
Dpkg_lz4file.cpp142 int32_t Lz4PkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage() function in hpackage::Lz4PkgFile
Dpkg_zipfile.cpp95 int32_t ZipPkgFile::LoadPackage(std::vector<std::string> &fileNames, const PkgBuffer &buffer, in LoadPackage() function in hpackage::ZipPkgFile
136 int32_t ZipPkgFile::LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verifier) in LoadPackage() function in hpackage::ZipPkgFile
171 return LoadPackage(fileNames, buffer, endDirLen, endDirPos, readLen); in LoadPackage()
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h49 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
92 …int32_t LoadPackage(const std::string &path, std::vector<std::string> &fileNames, PkgFile::PkgType…
Dpkg_managerImpl.cpp235 int32_t ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackageWithoutUnPack()
246 int32_t ret = pkgFile->LoadPackage(fileIds, in ParsePackage()
256 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage() function in hpackage::PkgManagerImpl
277 ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackage()
281 ret = LoadPackage(packagePath, innerFileNames, pkgType); in LoadPackage()
320 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, std::vector<std::string> &fileI… in LoadPackage() function in hpackage::PkgManagerImpl
337 ret = pkgFile->LoadPackage(fileIds, in LoadPackageWithStream()
/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp98 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(type), comp… in TestPackageUnpack()
118 int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testZipPackageName, in TestZipPkgDecompress()
185 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testLz4PackageName, GetTestCertName(0), comp… in TestLz4PkgDecompress()
215 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestCombinePkgUnpack()
422 int32_t ret = pkgManager_->LoadPackage(gzipPackageName, GetTestCertName(0), components); in TestGZipPkgDecompress()
451 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(0), fileIds… in TestSecondLoadPackage()
462 … ret = pkgManager_->LoadPackage(TEST_PATH_TO + secondFile, GetTestCertName(0), secondFileIds); in TestSecondLoadPackage()
Dpkg_package_unittest.cpp61 … virtual int32_t LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verify = nullptr) in LoadPackage() function in __anon5a449ac40111::TestFile
215 int ret = zipFile->LoadPackage(components); in TestBigZipFile()
Dpkg_manager_unittest.cpp180 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgMmmapStream()
261 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgFileStream()
300 …int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testCombinePkgName, GetTestCertName(0), comp… in TestPkgProcessStream()
502 int32_t ret = pkgManager_->LoadPackage(fileName, GetTestCertName(0), components); in TestLoadPackageFail()
/base/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp85 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp151 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
/base/update/updater/services/include/package/
Dpkg_manager.h270 virtual int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
/base/update/updater/test/unittest/script/
Dscript_unittest.cpp139 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()
/base/update/updater/test/fuzztest/ExtractAndExecuteScript_fuzzer/
DExtractAndExecuteScript_fuzzer.cpp152 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()
/base/update/updater/services/updater_binary/
Dupdate_processor.cpp248 int32_t ret = pkgManager->LoadPackage(packagePath, keyPath, components); in ProcessUpdater()
/base/update/updater/services/
Dupdater.cpp66 int32_t ret = pkgManager->LoadPackage(path, utils::GetCertName(), components); in GetUpdatePackageInfo()
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz

12