Home
last modified time | relevance | path

Searched defs:packagePath (Results 1 – 25 of 28) sorted by relevance

12

/base/update/updater/test/unittest/updater_binary/
Dupdate_image_block_test.cpp63 const string packagePath = "/data/updater/updater/updater_write_miscblock_img.zip"; variable
71 const string packagePath = "/data/updater/updater/updater_write_diff_miscblock_img.zip"; variable
79 const string packagePath = "/data/updater/updater/updater_write_diff_miscblock_img.zip"; variable
Dupdate_processor_unittest.cpp74 const string packagePath = "/data/updater/updater/updater_write_misc_img.zip"; variable
87 const string packagePath = "/data/updater/updater/updater_write_diff_misc_img.zip"; variable
100 const string packagePath = "/data/updater/updater/updater_write_diff_misc_img.zip"; variable
Dupdate_partitions_unittest.cpp57 const string packagePath = "/data/updater/updater/parts/updaterpart01.zip"; variable
80 const string packagePath = "/data/updater/updater/parts/updaterpart02.zip"; variable
Dupdater_binary_unittest.cpp159 std::string packagePath = TEST_PATH_TO; in CreatePackageBin() local
/base/update/updater/test/unittest/script/
Dscript_unittest.h40 int32_t VerifyPackage(const std::string &packagePath, const std::string &keyPath, in VerifyPackage()
45 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
50 int32_t VerifyOtaPackage(const std::string &packagePath) override in VerifyOtaPackage()
54 int32_t VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in VerifyBinFile()
59 const PkgInfo *GetPackageInfo(const std::string &packagePath) override in GetPackageInfo()
94 int32_t LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
105 int32_t LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream()
122 …int32_t ParseComponents(const std::string &packagePath, std::vector<std::string> &fileName) overri… in ParseComponents()
/base/update/updater/services/updater_binary/
Dmain.cpp46 std::string packagePath = argv[0]; in main() local
Dupdate_processor.cpp439 int ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPa… in ProcessUpdater()
/base/update/updater/test/unittest/package/
Dpkg_package_unittest.cpp78 std::string packagePath = TEST_PATH_TO; in TestPkgFile() local
100 std::string packagePath = TEST_PATH_TO; in TestPkgFileInvalid() local
119 std::string packagePath = TEST_PATH_TO; in TestBigZipEntry() local
192 std::string packagePath = testPackagePath + "test_package.zip"; in TestUpdaterPreProcess() local
Dpackage_unittest.cpp57 std::string packagePath = TEST_PATH_TO + testPackageName; in TestInvalidCreatePackage() local
118 std::string packagePath = TEST_PATH_TO; in TestPackagePack() local
Dpkg_manager_unittest.cpp138 std::string packagePath = TEST_PATH_TO; in TestPackagePack() local
153 std::string packagePath = TEST_PATH_TO; in TestPackagePackFileNotExist() local
167 std::string packagePath = TEST_PATH_TO; in TestPackagePackParamInvalid() local
199 std::string packagePath = TEST_PATH_TO; in TestInvalidStream() local
259 std::string packagePath = TEST_PATH_TO; in TestCreatePackageInvalidFile() local
272 std::string packagePath = TEST_PATH_TO; in TestCreatePackageInvalidSignMethod() local
Dpkg_verify_unittest.cpp58 std::string packagePath = "invalid_path"; in TestExtraPackageFile() local
78 std::string packagePath = "invalid_path"; in TestExtraPackageDir() local
Dpkg_test.h70 int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp171 int32_t VerifyPackage(const char *packagePath, in VerifyPackage()
189 int32_t VerifyPackageWithCallback(const std::string &packagePath, in VerifyPackageWithCallback()
207 int32_t ExtraPackageDir(const char *packagePath, [[maybe_unused]] const char *keyPath, const char *… in ExtraPackageDir()
242 int32_t ExtraPackageFile(const char *packagePath, [[maybe_unused]] const char *keyPath, const char … in ExtraPackageFile()
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp42 static int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
131 std::string packagePath = TEST_PATH_TO; in CreatePackageZip() local
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp236 int32_t PkgManagerImpl::LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
275 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
370 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, std::vector<std::string> &fileI… in LoadPackage()
383 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, const std::string &ke… in LoadPackageWithStream()
396 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, in LoadPackageWithStream()
439 int32_t PkgManagerImpl::ParseComponents(const std::string &packagePath, std::vector<std::string> &f… in ParseComponents()
451 const PkgInfo *PkgManagerImpl::GetPackageInfo(const std::string &packagePath) in GetPackageInfo()
678 int32_t PkgManagerImpl::VerifyPackage(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
958 int32_t PkgManagerImpl::VerifyOtaPackage(const std::string &packagePath) in DoCreatePkgStream()
981 int32_t PkgManagerImpl::VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
/base/update/updateservice/services/engine/src/
Dupdate_service_local_updater.cpp45 int32_t UpdateServiceLocalUpdater::VerifyUpgradePackage(const std::string &packagePath, const std::… in VerifyUpgradePackage()
Dupdate_service.cpp331 int32_t UpdateService::VerifyUpgradePackage(const std::string &packagePath, const std::string &keyP… in VerifyUpgradePackage()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp49 static int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
141 std::string packagePath = TEST_PATH_TO; in CreatePackageZip() local
/base/update/updater/test/unittest/updater_test/
Dupdater_unittest.cpp72 std::string packagePath = "/data/updater/updater/updater_without_updater_binary.zip"; variable
/base/update/updater/services/
Dupdater.cpp61 int32_t ExtractUpdaterBinary(PkgManager::PkgManagerPtr manager, std::string &packagePath, in ExtractUpdaterBinary()
103 UpdaterStatus IsSpaceCapacitySufficient(const std::vector<std::string> &packagePath) in IsSpaceCapacitySufficient()
125 std::vector<uint64_t> GetStashSizeList(const std::vector<std::string> &packagePath) in GetStashSizeList()
Dupdater_main.cpp92 static int OtaUpdatePreCheck(PkgManager::PkgManagerPtr pkgManager, const std::string &packagePath) in OtaUpdatePreCheck()
/base/update/updater/test/unittest/flow_update/update_bin/
Dbin_flow_update_unittest.cpp45 std::string packagePath = "/data/updater/package/updater_flow.zip"; in TestBinFlowUpdater() local
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp181 int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
269 std::string packagePath = TEST_PATH_TO; in CreatePackageBin() local
/base/update/updater/test/unittest/service_test/
Dupdater_service_unittest.cpp240 std::vector<std::string> packagePath; variable
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_kits_impl.cpp307 int32_t UpdateServiceKitsImpl::VerifyUpgradePackage(const std::string &packagePath, const std::stri… in VerifyUpgradePackage()

12