Home
last modified time | relevance | path

Searched refs:CreatePackage (Results 1 – 19 of 19) 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()
188 return pkgManager_->CreatePackage(TEST_PATH_TO + testGZipPackageName, in TestGZipPkgCompress()
250 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()
297 int ret = pkgManager_->CreatePackage(fileName, "", &pkgInfo, files); in TestLz4PackageInvalidFile()
299 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), nullptr, files); in TestLz4PackageInvalidFile()
301 ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidFile()
323 int ret = pkgManager_->CreatePackage(fileName, GetTestPrivateKeyName(0), &pkgInfo, files); in TestLz4PackageInvalidPkgType()
[all …]
Dpkg_test.h173 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h37 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
40 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
43 int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr header,
99 … PkgFilePtr CreatePackage(PkgStreamPtr stream, PkgFile::PkgType type, PkgInfoPtr header = nullptr);
102 PkgFilePtr CreatePackage(const std::string &path,
Dpkg_managerImpl.cpp97 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
110 PkgFilePtr pkgFile = CreatePackage<ZipFileInfo>(path, header, files, offset); in CreatePackage()
119 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
132 PkgFilePtr pkgFile = CreatePackage<ComponentInfo>(path, header, files, offset); in CreatePackage()
142 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() function in Hpackage::PkgManagerImpl
155 PkgFilePtr pkgFile = CreatePackage<Lz4FileInfo>(path, header, files, offset); in CreatePackage()
166 PkgFilePtr PkgManagerImpl::CreatePackage(const std::string &path, PkgInfoPtr header, in CreatePackage() function in Hpackage::PkgManagerImpl
176 PkgFilePtr pkgFile = CreatePackage(PkgStreamImpl::ConvertPkgStream(stream), in CreatePackage()
221 PkgFilePtr PkgManagerImpl::CreatePackage(PkgStreamPtr stream, PkgFile::PkgType type, PkgInfoPtr hea… in CreatePackage() function in Hpackage::PkgManagerImpl
255 …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/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/updater/services/include/package/
Dpkg_manager.h230 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
232 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
234 …virtual int32_t CreatePackage(const std::string &path, const std::string &keyName, PkgInfoPtr head…
/base/update/sys_installer/test/fuzztest/
Dsys_installer_fuzzer.cpp133 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/
DUpdaterStartUpdaterProc_fuzzer.cpp143 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
/base/update/packaging_tools/
Dupdate_package.py45 from create_update_package import CreatePackage
138 package = CreatePackage(head_list, component_list, save_patch,
Dcreate_update_package.py70 class CreatePackage(object): class
/base/update/updater/test/unittest/updater_binary/
Dupdater_binary_unittest.cpp161 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/
Dextractandexecutescript_fuzzer.cpp271 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
/base/update/updater/utils/
Dutils.cpp429 int32_t ret = pkgManager->CreatePackage(pkgName, GetCertName(), &pkgInfo, files); in CompressLogs()
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...