/base/update/updater/test/unittest/package/ |
D | package_unittest.cpp | 45 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()
|
D | pkg_manager_unittest.cpp | 140 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 …]
|
D | pkg_test.h | 173 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_manager_impl.h | 37 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,
|
D | pkg_managerImpl.cpp | 97 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/ |
D | script_unittest.h | 25 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/ |
D | package.cpp | 122 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/ |
D | TestDecompressGzip.new.gz |
|
/base/update/updater/interfaces/kits/include/package/ |
D | package.h | 110 int32_t CreatePackage(const UpgradePkgInfoExt *pkgInfo, ComponentInfoExt comp[],
|
/base/update/updater/services/include/package/ |
D | pkg_manager.h | 230 …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/ |
D | sys_installer_fuzzer.cpp | 133 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 143 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
|
/base/update/packaging_tools/ |
D | update_package.py | 45 from create_update_package import CreatePackage 138 package = CreatePackage(head_list, component_list, save_patch,
|
D | create_update_package.py | 70 class CreatePackage(object): class
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 161 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 271 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
|
/base/update/updater/utils/ |
D | utils.cpp | 429 int32_t ret = pkgManager->CreatePackage(pkgName, GetCertName(), &pkgInfo, files); in CompressLogs()
|
/base/update/updater/test/unittest/test_data/diffpatch/ |
D | PatchGztest_new.gz |
|
D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |