Home
last modified time | relevance | path

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

12

/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdate_partitions_unittest.cpp61 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
85 int ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/ohos5.0/base/update/updater/test/unittest/script/
H A Dscript_unittest.h45 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage() function
131 int32_t LoadPackage(const std::string &packagePath, in LoadPackage() function
/ohos5.0/base/update/updater/services/include/package/
H A Dpkg_manager.h133 …virtual int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr…
258 virtual int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath,
374 virtual int32_t LoadPackage(const std::string &packagePath,
/ohos5.0/base/update/updater/services/package/pkg_package/
H A Dpkg_zipfile.h194 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
197 int32_t LoadPackage(std::vector<std::string> &fileNames, PkgBuffer &buffer,
H A Dpkg_lz4file.h69 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_gzipfile.h77 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_pkgfile.h47 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier = nullptr) overri…
H A Dpkg_upgradefile.h130 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
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
236 return LoadPackage(fileNames, buffer, endDirLen, endDirPos, readLen); in LoadPackage()
H A Dpkg_lz4file.cpp176 int32_t Lz4PkgFile::LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verifier) in LoadPackage() function in Hpackage::Lz4PkgFile
/ohos5.0/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> &fileI… 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,
/ohos5.0/base/update/updater/test/fuzztest/binflow_fuzzer/
H A Dbinflow_fuzzer.cpp36 int32_t ret = pkgManager->LoadPackage(packagePath, Utils::GetCertName(), components); in TestBinFlowUpdater()
/ohos5.0/base/update/updater/services/ptable_parse/
H A Dptable_process.cpp51 int32_t ret = pkgManager->LoadPackage(path, Utils::GetCertName(), components); in PtableProcess()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/base/update/updater/test/unittest/updater_test/
H A Dupdater_unittest.cpp84 int32_t ret = pkgManager->LoadPackage(packagePath, GetTestCertName(), components);
/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/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()
/ohos5.0/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
H A DUpdaterStartUpdaterProc_fuzzer.cpp165 pkgManager->LoadPackage(patch, GetTestCertName(), components); in StartUpdaterProcFun()
/ohos5.0/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
H A Dextractandexecutescript_fuzzer.cpp156 …int32_t ret = packageManager->LoadPackage(TEST_PATH_TO + testPackageName, GetTestCertName(), compo… in TestUscriptExecute()
/ohos5.0/base/update/updater/test/unittest/test_data/diffpatch/
H A DPatchGztest_new.gz1[==========] Running 25 tests from 7 test ...

12