Searched refs:PkgManagerImpl (Results 1 – 7 of 7) sorted by relevance
/base/update/updater/services/package/pkg_manager/ |
D | pkg_managerImpl.cpp | 44 static PkgManagerImpl *g_pkgManagerInstance = nullptr; 48 g_pkgManagerInstance = new PkgManagerImpl(); in GetPackageInstance() 55 PkgManager::PkgManagerPtr impl = new PkgManagerImpl(); in CreatePackageInstance() 75 PkgManagerImpl::~PkgManagerImpl() in ~PkgManagerImpl() 80 void PkgManagerImpl::ClearPkgFile() in ClearPkgFile() 96 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() 113 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() 130 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage() 147 int32_t PkgManagerImpl::CreatePackage(const std::string &path, PkgInfoPtr header, in CreatePackage() 176 PkgFilePtr PkgManagerImpl::CreatePackage(const std::string &path, PkgInfoPtr header, in CreatePackage() [all …]
|
D | pkg_manager_impl.h | 28 class PkgManagerImpl : public PkgManager { 30 PkgManagerImpl() {}; in PkgManagerImpl() function 32 ~PkgManagerImpl() override;
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestDecompressGzip.new.gz |
|
/base/update/updater/test/unittest/package/ |
D | pkg_test.h | 35 using hpackage::PkgManagerImpl; 50 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in PkgTest() 54 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in ~PkgTest() 180 PkgManagerImpl* pkgManager_ = nullptr;
|
D | pkg_package_unittest.cpp | 74 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPkgFile() 97 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPkgFileInvalid() 119 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestBigZipEntry() 171 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestBigZipFile()
|
D | pkg_manager_unittest.cpp | 174 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPkgMmmapStream() 255 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPkgFileStream() 294 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPkgProcessStream() 428 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PackageInvalidFile() 450 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PackageInvalidPkgType() 473 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestZipPackageInvalidFile() 497 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLoadPackageFail() 509 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestDecompressLz4plus() 648 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestDecompressGzip() 674 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestCompressBuffer()
|
D | package_unittest.cpp | 94 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPackageUnpack() 115 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestZipPkgDecompress() 131 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PkgCompress() 157 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PkgCompressBlock() 182 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PkgDecompress() 212 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestCombinePkgUnpack() 398 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestGZipPkgCompress() 419 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestGZipPkgDecompress() 448 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestSecondLoadPackage()
|