Home
last modified time | relevance | path

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

12

/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 *;
299 virtual const FileInfo *GetFileInfo(const std::string &fileId) = 0;
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp106 std::unique_ptr<Hpackage::FileInfo> info = GetFileInfo(); in ApplyImagePatch()
137 std::unique_ptr<Hpackage::FileInfo> info = GetFileInfo(); in DecompressData()
199 std::unique_ptr<Hpackage::FileInfo> ZipImagePatch::GetFileInfo() const in GetFileInfo()
216 return std::unique_ptr<Hpackage::FileInfo>((FileInfo *)fileInfo); in GetFileInfo()
253 std::unique_ptr<Hpackage::FileInfo> Lz4ImagePatch::GetFileInfo() const in GetFileInfo()
270 return std::unique_ptr<Hpackage::FileInfo>((FileInfo *)fileInfo); in GetFileInfo()
Dimage_patch.h74 virtual std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const = 0;
89 std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const override;
106 std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const override;
/base/update/updater/test/unittest/updater_binary/
Dupdate_binary_unittest.h62 const Hpackage::FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
64 static Hpackage::FileInfo fileInfo {}; in GetFileInfo()
/base/update/updater/test/unittest/script/script_instruction/
Dscript_registercmd_unittest.cpp38 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
40 static FileInfo fileInfo {}; in GetFileInfo()
Dscript_loadscript_unittest.cpp37 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
39 static FileInfo fileInfo {}; in GetFileInfo()
Dscript_instructionhelper_unittest.cpp94 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
96 const static std::unordered_map<std::string, FileInfo> fileMap { in GetFileInfo()
97 {"script1", FileInfo {}}, in GetFileInfo()
98 {"script2", FileInfo {}}, in GetFileInfo()
Dscript_updateprocesser_unittest.cpp56 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
58 static FileInfo fileInfo {}; in GetFileInfo()
/base/update/updater/services/package/pkg_package/
Dpackages_info.cpp86 const FileInfo *info = manager->GetFileInfo(versionList); in GetOTAVersion()
126 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/test/unittest/script/
Dscript_unittest.cpp50 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
52 static FileInfo fileInfo {}; in GetFileInfo()
Dscript_unittest.h67 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo()
/base/update/updater/services/diffpatch/diff/
Dupdate_diff.cpp47 const Hpackage::FileInfo *ImageParser::GetFileInfo(const std::string &fileName) const in GetFileInfo()
124 const FileInfo *fileInfo = pkgManager_->GetFileInfo(fileName); in Extract()
Dupdate_diff.h42 const Hpackage::FileInfo *GetFileInfo(const std::string &fileName) const;
Dimage_diff.cpp319 const FileInfo *newFileInfo = newParser_->GetFileInfo(fileName); in DiffFile()
335 const FileInfo *oldFileInfo = oldParser_->GetFileInfo(fileName); in DiffFile()
406 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
411 ZipFileInfo *info = reinterpret_cast<ZipFileInfo *>(const_cast<FileInfo *>(fileInfo)); in TestAndSetConfig()
499 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
501 Lz4FileInfo *info = reinterpret_cast<Lz4FileInfo *>(const_cast<FileInfo *>(fileInfo)); 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_algo_unittest.cpp124 FileInfo config; in TestInvalidParam()
/base/update/updater/services/updater_binary/
Dupdate_partitions.cpp114 const FileInfo *info = env.GetPkgManager()->GetFileInfo(filePath); in Execute()
Dupdate_image_block.cpp96 const FileInfo *file = env->GetPkgManager()->GetFileInfo(info->newPatch); in UnpackNewData()
251 const FileInfo *info = env.GetPkgManager()->GetFileInfo(infos.partitionName); in ExtractDiffPackageAndLoad()
324 const FileInfo *info = env.GetPkgManager()->GetFileInfo(infos.transferName); in ExecuteUpdateBlock()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp93 const FileInfo *info = manager->GetFileInfo(REGISTER_CMD_SCRIPT_NAME); in Init()

12