Home
last modified time | relevance | path

Searched defs:packagePath (Results 1 – 25 of 31) 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
75 const string packagePath = "/data/updater/updater/updater_write_diff_miscblock_img.zip"; variable
87 const string packagePath = "/data/updater/updater/updater_write_diff_miscblock_img.zip"; variable
98 const string packagePath = "/data/updater/updater/updater_diff_misc_verify_err.zip"; variable
Dupdate_processor_unittest.cpp74 const string packagePath = "/data/updater/updater/updater_write_misc_img.zip"; variable
91 const string packagePath = "/data/updater/updater/updater_write_diff_misc_img.zip"; variable
108 const string packagePath = "/data/updater/updater/updater_write_diff_misc_img.zip"; variable
139 const string packagePath = "/data/updater/updater/updater_write_extract_img.zip"; variable
146 const string packagePath = "/data/updater/updater/updater_write_not_exist.zip"; variable
Dupdate_partitions_unittest.cpp60 const string packagePath = "/data/updater/updater/parts/updaterpart01.zip"; variable
84 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()
54 int32_t VerifyOtaPackage(const std::string &packagePath, bool isSupportOldSig) override in VerifyOtaPackage()
62 int32_t VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in VerifyBinFile()
67 const PkgInfo *GetPackageInfo(const std::string &packagePath) override in GetPackageInfo()
102 int32_t LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
113 int32_t LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream()
131 …int32_t ParseComponents(const std::string &packagePath, std::vector<std::string> &fileName) overri… in ParseComponents()
135 int32_t LoadPackage(const std::string &packagePath, in LoadPackage()
[all …]
/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
122 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.cpp191 int32_t VerifyPackage(const char *packagePath, in VerifyPackage()
214 int32_t VerifyPackageWithCallback(const std::string &packagePath, in VerifyPackageWithCallback()
236 int32_t ExtraPackageDir(const char *packagePath, [[maybe_unused]] const char *keyPath, const char *… in ExtraPackageDir()
275 int32_t ExtraPackageFile(const char *packagePath, [[maybe_unused]] const char *keyPath, const char … in ExtraPackageFile()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp249 int32_t PkgManagerImpl::LoadPackageWithoutUnPack(const std::string &packagePath, in LoadPackageWithoutUnPack()
288 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
392 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, std::vector<std::string> &fileI… in LoadPackage()
445 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, const std::string &ke… in LoadPackageWithStream()
458 int32_t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, in LoadPackageWithStream()
503 int32_t PkgManagerImpl::ParseComponents(const std::string &packagePath, std::vector<std::string> &f… in ParseComponents()
515 const PkgInfo *PkgManagerImpl::GetPackageInfo(const std::string &packagePath) in GetPackageInfo()
738 int32_t PkgManagerImpl::VerifyPackage(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
1021 int32_t PkgManagerImpl::VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) in DoCreatePkgStream()
1098 int32_t PkgManagerImpl::VerifyOtaPackage(const std::string &packagePath) in DoCreatePkgStream()
[all …]
/base/update/updater/services/updater_binary/
Dmain.cpp38 std::string packagePath; in main() local
Dupdate_processor_stream.cpp87 static int ProcessUpdateFile(const std::string &packagePath, FILE* pipeWrite) in ProcessUpdateFile()
145 int ProcessUpdaterStream(bool retry, int pipeFd, const std::string &packagePath, const std::string … in ProcessUpdaterStream()
Dupdate_processor.cpp475 int ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPa… in ProcessUpdater()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp48 static int32_t BuildFileDigest(uint8_t &digest, size_t size, const std::string &packagePath) in BuildFileDigest()
140 std::string packagePath = TEST_PATH_TO; in CreatePackageZip() local
/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/updateservice/services/engine/src/
Dupdate_service_local_updater.cpp43 int32_t UpdateServiceLocalUpdater::VerifyUpgradePackage(const std::string &packagePath, const std::… 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.cpp86 static int GetUpdateBlockInfo(UpdateBlockInfo &infos, const std::string &packagePath, in GetUpdateBlockInfo()
416 int RestoreOriginalFile(const std::string &packagePath, const std::string &srcImage, const std::str… in RestoreOriginalFile()
/base/update/updater/services/include/package/
Dpkg_manager.h38 std::string packagePath; member
/base/update/updater/services/
Dupdater_main.cpp133 static UpdaterStatus ReadUpdateStreamzip(const std::string &packagePath) in ReadUpdateStreamzip()
195 static UpdaterStatus GetReadUpdateStreamzipFromBinfile(const std::string &packagePath) in GetReadUpdateStreamzipFromBinfile()
207 int OtaUpdatePreCheck(PkgManager::PkgManagerPtr pkgManager, const std::string &packagePath) in OtaUpdatePreCheck()

12