Home
last modified time | relevance | path

Searched refs:PkgManagerImpl (Results 1 – 7 of 7) sorted by relevance

/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp50 static thread_local PkgManagerImpl *g_pkgManagerInstance = nullptr;
54 g_pkgManagerInstance = new PkgManagerImpl(); in GetPackageInstance()
61 return new PkgManagerImpl(); in CreatePackageInstance()
78 PkgManagerImpl::~PkgManagerImpl() in ~PkgManagerImpl()
83 void PkgManagerImpl::ClearPkgFile() in ClearPkgFile()
102 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage()
124 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage()
147 int32_t PkgManagerImpl::CreatePackage(const std::string &path, const std::string &keyName, PkgInfoP… in CreatePackage()
171 PkgFilePtr PkgManagerImpl::CreatePackage(const std::string &path, PkgInfoPtr header, in CreatePackage()
219 PkgFilePtr PkgManagerImpl::CreatePackage(PkgStreamPtr stream, PkgFile::PkgType type, PkgInfoPtr hea… in CreatePackage()
[all …]
Dpkg_manager_impl.h29 class PkgManagerImpl : public PkgManager {
31 PkgManagerImpl() {} in PkgManagerImpl() function
33 ~PkgManagerImpl() override;
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/test/unittest/package/
Dpkg_test.h35 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;
Dpkg_package_unittest.cpp74 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()
Dpackage_unittest.cpp137 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestPackageUnpack()
159 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestZipPkgDecompress()
177 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestGZipPkgCompress()
235 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PkgCompress()
Dpkg_manager_unittest.cpp283 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PackageInvalidFile()
309 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLz4PackageInvalidPkgType()
332 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestZipPackageInvalidFile()
360 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestLoadPackageFail()
372 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestDecompressLz4plus()
511 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestDecompressGzip()
537 pkgManager_ = static_cast<PkgManagerImpl*>(PkgManager::GetPackageInstance()); in TestCompressBuffer()