Home
last modified time | relevance | path

Searched refs:CreatePackage (Results 1 – 18 of 18) sorted by relevance

/base/update/updater/test/unittest/package/
Dpackage_unittest.cpp45 int ret = CreatePackage(nullptr, &compInfo, nullptr, GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
50 ret = CreatePackage(&pkgInfoExt, &compInfo, nullptr, GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
59 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
64 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
69 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
74 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
79 …ret = CreatePackage(&pkgInfoExt, &compInfo, packagePath.c_str(), GetTestPrivateKeyName(0).c_str()); in TestInvalidCreatePackage()
120 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), in TestPackagePack()
191 return pkgManager_->CreatePackage(TEST_PATH_TO + testGZipPackageName, in TestGZipPkgCompress()
254 return pkgManager_->CreatePackage(TEST_PATH_TO + testLz4PackageName, in TestLz4PkgCompress()
Dpkg_manager_unittest.cpp140 int32_t ret = pkgManager_->CreatePackage(packagePath, "", &pkgInfo.pkgInfo, files); in TestPackagePack()
142 … ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, files); in TestPackagePack()
158 …int32_t ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, … in TestPackagePackFileNotExist()
169 … int32_t ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), nullptr, files); in TestPackagePackParamInvalid()
262 …int ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, file… in TestCreatePackageInvalidFile()
276 …int ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, file… in TestCreatePackageInvalidSignMethod()
298 int ret = pkgManager_->CreatePackage(fileName, "", &pkgInfo, files); in TestLz4PackageInvalidFile()
300 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), nullptr, files); in TestLz4PackageInvalidFile()
302 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidFile()
325 int ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidPkgType()
[all …]
Dpkg_test.h163 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h35 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
38 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
41 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
88 … PkgFilePtr CreatePackage(PkgStreamPtr stream, PkgFile::PkgType type, PkgInfoPtr header = nullptr);
91 PkgFilePtr CreatePackage(const std::string &path,
Dpkg_managerImpl.cpp102 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
115 PkgFilePtr pkgFile = CreatePackage<ZipFileInfo>(path, header, files, offset); in CreatePackage()
124 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
137 PkgFilePtr pkgFile = CreatePackage<ComponentInfo>(path, header, files, offset); in CreatePackage()
147 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
160 PkgFilePtr pkgFile = CreatePackage<Lz4FileInfo>(path, header, files, offset); in CreatePackage()
171 PkgFilePtr PkgManagerImpl::CreatePackage(const std::string &path, PkgInfoPtr header, in CreatePackage() function in Hpackage::PkgManagerImpl
181 PkgFilePtr pkgFile = CreatePackage(PkgStreamImpl::ConvertPkgStream(stream), in CreatePackage()
219 PkgFilePtr PkgManagerImpl::CreatePackage(PkgStreamPtr stream, PkgFile::PkgType type, PkgInfoPtr hea… in CreatePackage() function in Hpackage::PkgManagerImpl
260 …PkgFilePtr pkgFile = CreatePackage(static_cast<PkgStreamPtr>(stream), static_cast<PkgFile::PkgType… in ParsePackage()
[all …]
/base/update/updater/test/unittest/script/
Dscript_unittest.h25 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header, in CreatePackage() function
30 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header, in CreatePackage() function
35 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header, in CreatePackage() function
/base/update/updater/services/include/package/
Dpkg_manager.h240 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
242 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
244 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
/base/update/updater/interfaces/kits/packages/
Dpackage.cpp122 int32_t CreatePackage(const UpgradePkgInfoExt *pkgInfoExt, in CreatePackage() function
140 ret = manager->CreatePackage(path, keyPath, &upgradePackageInfo.pkgInfo, files); in CreatePackage()
150 ret = manager->CreatePackage(path, keyPath, &info, files); in CreatePackage()
159 ret = manager->CreatePackage(path, keyPath, &info, files); in CreatePackage()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/interfaces/kits/include/package/
Dpackage.h110 int32_t CreatePackage(const UpgradePkgInfoExt *pkgInfo, ComponentInfoExt comp[],
/base/update/packaging_tools/
Dupdate_package.py43 from create_update_package import CreatePackage
143 package = CreatePackage(head_list, component_list, save_patch,
Dcreate_update_package.py67 class CreatePackage(object): class
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp146 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp128 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp256 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
/base/update/updater/utils/
Dutils.cpp386 int32_t ret = pkgManager->CreatePackage(pkgName, GetCertName(), &pkgInfo, files); in CompressLogs()
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz