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/
H A Dupdate_partitions_unittest.cpp61 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
85 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
/base/update/updater/test/fuzztest/binflow_fuzzer/
H A Dbinflow_fuzzer.cpp36 int32_t ret = pkgManager->LoadPackage(packagePath, Utils::GetCertName(), components); in TestBinFlowUpdater()
/base/update/updater/services/ptable_parse/
H A Dptable_process.cpp51 int32_t ret = pkgManager->LoadPackage(path, Utils::GetCertName(), components); in PtableProcess()
53 LOG(ERROR) << "LoadPackage fail ret:" << ret; in PtableProcess()
/base/update/updater/services/package/pkg_package/
H A Dpkg_gzipfile.h77 int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) override;
H A Dpkg_lz4file.h69 int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) override;
H A Dpkg_zipfile.h194 int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) override;
197 int32_t LoadPackage(std::vector<std::string> &fileNames, PkgBuffer &buffer,
H A Dpkg_pkgfile.h47 int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) override
H A Dpkg_upgradefile.h130 int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
H A Dpkg_lz4file.cpp176 int32_t Lz4PkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage() function in Hpackage::Lz4PkgFile
183 PKG_LOGI("LoadPackage %s ", pkgStream_->GetFileName().c_str()); in LoadPackage()
200 PKG_LOGI("LoadPackage magic 0x%x", magicNumber); in LoadPackage()
H A Dpkg_zipfile.cpp120 int32_t ZipPkgFile::LoadPackage(std::vector<std::string> &fileNames, PkgBuffer &buffer, in LoadPackage() function in Hpackage::ZipPkgFile
185 int32_t ZipPkgFile::LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verifier) in LoadPackage() function in Hpackage::ZipPkgFile
188 PKG_LOGI("LoadPackage %s :%zu", pkgStream_->GetFileName().c_str(), pkgStream_->GetFileLength()); in LoadPackage()
236 return LoadPackage(fileNames, buffer, endDirLen, endDirPos, readLen); in LoadPackage()
H A Dpkg_gzipfile.cpp355 int32_t GZipPkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage() function in Hpackage::GZipPkgFile
363 PKG_LOGI("LoadPackage %s ", pkgStream_->GetFileName().c_str()); in LoadPackage()
/base/update/updater/test/unittest/flow_update/update_bin/
H A Dbin_flow_update_unittest.cpp53 int32_t ret = pkgManager->LoadPackage(packagePath, Utils::GetCertName(), components); in TestBinFlowUpdater()
/base/update/updater/test/unittest/script/
H A Dscript_unittest.h45 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
131 int32_t LoadPackage(const std::string &packagePath,
/base/update/updater/services/package/pkg_manager/
H A Dpkg_managerImpl.cpp243 int32_t ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackageWithoutUnPack()
264 int32_t ret = pkgFile->LoadPackage(fileIds, in ParsePackage()
278 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage() function in Hpackage::PkgManagerImpl
298 int32_t ret = LoadPackage(packagePath, fileIds, pkgType); in LoadPackage()
307 int32_t ret = LoadPackage(packagePath, innerFileNames, pkgType); in LoadPackage()
382 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, std::vector<std::string> &fileIds, in LoadPackage() function in Hpackage::PkgManagerImpl
420 ret = pkgFile->LoadPackage(fileIds, in LoadPackageWithStream()
706 ret = pkgManager->LoadPackage(packagePath, keyPath, components); in DoCreatePkgStream()
H A Dpkg_manager_impl.h49 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
99 int32_t LoadPackage(const std::string &packagePath,
/base/update/updater/test/unittest/updater_test/
H A Dupdater_unittest.cpp84 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components); in HWTEST_F()
/base/update/updater/services/include/package/
H A Dpkg_manager.h133 virtual int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) = 0;
258 virtual int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
281 * @param fileId File ID, which is obtained from the fileIds returned by the LoadPackage function
374 virtual int32_t LoadPackage(const std::string &packagePath,
/base/update/updater/test/unittest/package/
H A Dpkg_package_unittest.cpp61 virtual int32_t LoadPackage(std::vector<std::string>& fileNames, VerifyFunction verify = nullptr) in LoadPackage() function in UpdaterUt::TestFile
194 int32_t ret = pkgManager->LoadPackage(packagePath, Utils::GetCertName(), components); in TestUpdaterPreProcess()
H A Dpkg_verify_unittest.cpp228 EXPECT_EQ(PKG_SUCCESS, pkgManager_->LoadPackage(testPackagePath + invalidPkgPath, in TestHashDataVerifierFailed03()
264 EXPECT_EQ(PKG_SUCCESS, pkgManager_->LoadPackage(testPackagePath + "updater_full_with_hsd.zip", in TestHashDataVerifierSuccess()
H A Dpackage_unittest.cpp140 int32_t ret = pkgManager_->LoadPackage( in TestPackageUnpack()
160 int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testZipPackageName, in TestZipPkgDecompress()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
H A DUpdaterStartUpdaterProc_fuzzer.cpp165 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
/base/update/updater/test/fuzztest/package_fuzzer/
H A Dpackage_fuzzer.cpp138 int32_t ret = pkgManager_->LoadPackage( in TestPackageUnpack()
151 int32_t ret = pkgManager_->LoadPackage(TEST_PATH_TO + testZipPackageName, in TestZipPkgDecompress()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
H A Dextractandexecutescript_fuzzer.cpp156 int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), components); in TestUscriptExecute()
158 USCRIPT_LOGI("LoadPackage fail ret:%d", ret); in TestUscriptExecute()
/base/update/updater/services/diffpatch/patch_shared/
H A Dpatch_shared.cpp429 int32_t ret = pkgManager->LoadPackage(pckPath, components, PkgFile::PKG_TYPE_ZIP); in RestoreOriginalFile()
/base/update/updater/services/updater_binary/
H A Dupdate_processor.cpp496 ret = pkgManager->LoadPackage(packagePath, keyPath, components); in ProcessUpdater()

Completed in 15 milliseconds

12