/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() 191 return pkgManager_->CreatePackage(TEST_PATH_TO + testGZipPackageName, in TestGZipPkgCompress() 254 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() 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 …]
|
D | pkg_test.h | 163 …int32_t ret = pkgManager->CreatePackage(packageName, GetTestPrivateKeyName(digestMethod), &pkgInfo… in CreateZipPackage()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_manager_impl.h | 35 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,
|
D | pkg_managerImpl.cpp | 102 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/ |
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/services/include/package/ |
D | pkg_manager.h | 240 …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/ |
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/packaging_tools/ |
D | update_package.py | 43 from create_update_package import CreatePackage 143 package = CreatePackage(head_list, component_list, save_patch,
|
D | create_update_package.py | 67 class CreatePackage(object): class
|
/base/update/updater/test/unittest/updater_binary/ |
D | updater_binary_unittest.cpp | 146 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
D | UpdaterStartUpdaterProc_fuzzer.cpp | 128 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageZip()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
D | extractandexecutescript_fuzzer.cpp | 256 ret = CreatePackage(&pkgInfo, comp, packagePath.c_str(), GetTestPrivateKeyName().c_str()); in CreatePackageBin()
|
/base/update/updater/utils/ |
D | utils.cpp | 386 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 |
|