Home
last modified time | relevance | path

Searched refs:FileInfo (Results 1 – 23 of 23) sorted by relevance

/base/update/updater/services/include/package/
Dpkg_manager.h71 struct FileInfo { struct
100 FileInfo fileInfo; argument
114 FileInfo fileInfo;
126 FileInfo fileInfo;
221 using FileInfoPtr = FileInfo *;
296 virtual const FileInfo *GetFileInfo(const std::string &fileId) = 0;
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp88 std::unique_ptr<hpackage::FileInfo> info = GetFileInfo(); in ApplyImagePatch()
119 std::unique_ptr<hpackage::FileInfo> info = GetFileInfo(); in DecompressData()
178 std::unique_ptr<hpackage::FileInfo> ZipImagePatch::GetFileInfo() const in GetFileInfo()
192 return std::unique_ptr<hpackage::FileInfo>((FileInfo *)fileInfo); in GetFileInfo()
226 std::unique_ptr<hpackage::FileInfo> Lz4ImagePatch::GetFileInfo() const in GetFileInfo()
240 return std::unique_ptr<hpackage::FileInfo>((FileInfo *)fileInfo); in GetFileInfo()
Dimage_patch.h70 virtual std::unique_ptr<hpackage::FileInfo> GetFileInfo() const = 0;
85 std::unique_ptr<hpackage::FileInfo> GetFileInfo() const override;
102 std::unique_ptr<hpackage::FileInfo> GetFileInfo() const override;
/base/update/updater/services/package/pkg_package/
Dpackages_info.cpp83 const FileInfo *info = manager->GetFileInfo(versionList); in GetOTAVersion()
108 const FileInfo *info = manager->GetFileInfo(boardIdName); in GetBoardID()
Dpkg_lz4file.h37 const FileInfo *GetFileInfo() const override in GetFileInfo()
Dpkg_upgradefile.h71 const FileInfo *GetFileInfo() const override in GetFileInfo()
Dpkg_pkgfile.h51 virtual const FileInfo *GetFileInfo() const = 0;
Dpkg_zipfile.h135 const FileInfo *GetFileInfo() const override in GetFileInfo()
/base/update/updater/services/diffpatch/diff/
Dupdate_diff.cpp43 const hpackage::FileInfo *ImageParser::GetFileInfo(const std::string &fileName) const in GetFileInfo()
105 const FileInfo *fileInfo = pkgManager_->GetFileInfo(fileName); in Extract()
Dupdate_diff.h44 const hpackage::FileInfo *GetFileInfo(const std::string &fileName) const;
Dimage_diff.cpp284 const FileInfo *newFileInfo = newParser_->GetFileInfo(fileName); in DiffFile()
300 const FileInfo *oldFileInfo = oldParser_->GetFileInfo(fileName); in DiffFile()
368 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
452 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
/base/update/updater/test/unittest/package/
Dpkg_test.h40 using hpackage::FileInfo;
119 const FileInfo *info = manager->GetFileInfo(components[i]); in ExtractFile()
Dpkg_package_unittest.cpp89 FileInfo fileInfo; in TestPkgFile()
105 FileInfo fileInfo; in TestPkgFileInvalid()
Dpkg_manager_unittest.cpp191 const FileInfo *info = pkgManager_->GetFileInfo(components[0]); in TestPkgMmmapStream()
272 const FileInfo *info = pkgManager_->GetFileInfo(components[0]); in TestPkgFileStream()
311 const FileInfo *info = pkgManager_->GetFileInfo(components[0]); in TestPkgProcessStream()
671 int TestCompressBuffer(hpackage::FileInfo &info, std::vector<uint8_t> uncompressedData, in TestCompressBuffer()
Dpkg_algo_unittest.cpp125 FileInfo config; in TestInvalidParam()
/base/update/updater/services/updater_binary/
Dupdate_processor.cpp143 const FileInfo *info = env.GetPkgManager()->GetFileInfo(imageFilename); in Execute()
185 const FileInfo *info = env.GetPkgManager()->GetFileInfo(partitionName); in Execute()
Dupdate_partitions.cpp114 const FileInfo *info = env.GetPkgManager()->GetFileInfo(filePath); in Execute()
Dupdate_image_block.cpp91 const FileInfo *file = env->GetPkgManager()->GetFileInfo(info->newPatch); in UnpackNewData()
224 const FileInfo *info = env.GetPkgManager()->GetFileInfo(infos.partitionName); in ExtractDiffPackageAndLoad()
280 const FileInfo *info = env.GetPkgManager()->GetFileInfo(infos.transferName); in ExecuteUpdateBlock()
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp89 const FileInfo *info = manager->GetFileInfo(REGISTER_CMD_SCRIPT_NAME); in Init()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/services/package/pkg_manager/
Dpkg_manager_impl.h61 const FileInfo *GetFileInfo(const std::string &path) override;
Dpkg_managerImpl.cpp303 const FileInfo *info = GetFileInfo(name); in ExtraAndLoadPackage()
371 const FileInfo *PkgManagerImpl::GetFileInfo(const std::string &path) in GetFileInfo()
/base/update/updater/services/
Dupdater_utils.cpp251 const FileInfo *info = pkgManager->GetFileInfo("update.bin"); in IsSpaceCapacitySufficient()