Home
last modified time | relevance | path

Searched defs:packagePath (Results 1 – 25 of 29) 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
74 const string packagePath = "/data/updater/updater/updater_write_diff_miscblock_img.zip"; variable
85 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
90 const string packagePath = "/data/updater/updater/updater_write_diff_misc_img.zip"; variable
106 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
81 const string packagePath = "/data/updater/updater/parts/updaterpart02.zip"; variable
Dupdater_binary_unittest.cpp157 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()
58 int32_t VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in VerifyBinFile()
63 const PkgInfo *GetPackageInfo(const std::string &packagePath) override in GetPackageInfo()
98 int32_t LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
109 int32_t LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream()
127 …int32_t ParseComponents(const std::string &packagePath, std::vector<std::string> &fileName) overri… in ParseComponents()
131 int32_t LoadPackage(const std::string &packagePath, in LoadPackage()
136 int32_t VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) override in VerifyAccPackage()
/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
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
Dpackage_unittest.cpp57 std::string packagePath = TEST_PATH_TO + testPackageName; in TestInvalidCreatePackage() local
118 std::string packagePath = TEST_PATH_TO; in TestPackagePack() 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.cpp175 int32_t VerifyPackage(const char *packagePath, in VerifyPackage()
198 int32_t VerifyPackageWithCallback(const std::string &packagePath, in VerifyPackageWithCallback()
220 int32_t ExtraPackageDir(const char *packagePath, [[maybe_unused]] const char *keyPath, const char *… in ExtraPackageDir()
259 int32_t ExtraPackageFile(const char *packagePath, [[maybe_unused]] const char *keyPath, const char … in ExtraPackageFile()
/base/update/updater/services/updater_binary/
Dmain.cpp37 std::string packagePath; in main() local
Dupdate_processor.cpp470 int ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPa… in ProcessUpdater()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp239 int32_t PkgManagerImpl::LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
278 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
382 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, std::vector<std::string> &fileI… in LoadPackage()
395 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, const std::string &ke… in LoadPackageWithStream()
408 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, in LoadPackageWithStream()
451 int32_t PkgManagerImpl::ParseComponents(const std::string &packagePath, std::vector<std::string> &f… in ParseComponents()
463 const PkgInfo *PkgManagerImpl::GetPackageInfo(const std::string &packagePath) in GetPackageInfo()
685 int32_t PkgManagerImpl::VerifyPackage(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
968 int32_t PkgManagerImpl::VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) in DoCreatePkgStream()
1044 int32_t PkgManagerImpl::VerifyOtaPackage(const std::string &packagePath) in DoCreatePkgStream()
[all …]
/base/update/updater/test/fuzztest/binflow_fuzzer/
Dbinflow_fuzzer.cpp28 std::string packagePath = std::string(reinterpret_cast<const char*>(data), size); in TestBinFlowUpdater() local
/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/updateservice/services/engine/src/
Dupdate_service_local_updater.cpp43 int32_t UpdateServiceLocalUpdater::VerifyUpgradePackage(const std::string &packagePath, const std::… in VerifyUpgradePackage()
Dupdate_service.cpp336 int32_t UpdateService::VerifyUpgradePackage(const std::string &packagePath, const std::string &keyP… in VerifyUpgradePackage()
/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/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.cpp186 int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
274 std::string packagePath = TEST_PATH_TO; in CreatePackageBin() local
/base/update/updater/test/fuzztest/package_fuzzer/
Dpackage_fuzzer.cpp58 std::string packagePath = TEST_PATH_TO + testPackageName; in TestInvalidCreatePackage() local
113 std::string packagePath = TEST_PATH_TO; in TestPackagePack() local
/base/update/updater/services/diffpatch/patch_shared/
Dpatch_shared.cpp66 static int GetUpdateBlockInfo(UpdateBlockInfo &infos, const std::string &packagePath, in GetUpdateBlockInfo()
387 int RestoreOriginalFile(const std::string &packagePath, const std::string &srcImage, const std::str… in RestoreOriginalFile()
/base/update/updater/services/
Dupdater.cpp63 int32_t ExtractUpdaterBinary(PkgManager::PkgManagerPtr manager, std::string &packagePath, in ExtractUpdaterBinary()
/base/update/updateservice/interfaces/inner_api/engine/src/
Dupdate_service_kits_impl.cpp255 int32_t UpdateServiceKitsImpl::VerifyUpgradePackage(const std::string &packagePath, const std::stri… in VerifyUpgradePackage()

12