Home
last modified time | relevance | path

Searched refs:GetFileInfo (Results 1 – 25 of 38) sorted by relevance

12

/base/update/updater/services/diffpatch/patch/
Dimage_patch.h74 virtual std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const = 0;
90 std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const override;
107 std::unique_ptr<Hpackage::FileInfo> GetFileInfo() const override;
Dimage_patch.cpp122 std::unique_ptr<Hpackage::FileInfo> info = GetFileInfo(); in ApplyImagePatch()
165 std::unique_ptr<Hpackage::FileInfo> info = GetFileInfo(); in DecompressData()
243 std::unique_ptr<Hpackage::FileInfo> ZipImagePatch::GetFileInfo() const in GetFileInfo() function in UpdatePatch::ZipImagePatch
297 std::unique_ptr<Hpackage::FileInfo> Lz4ImagePatch::GetFileInfo() const in GetFileInfo() function in UpdatePatch::Lz4ImagePatch
/base/update/updater/services/diffpatch/diff/
Dupdate_diff.cpp47 const Hpackage::FileInfo *ImageParser::GetFileInfo(const std::string &fileName) const in GetFileInfo() function in UpdatePatch::ImageParser
50 return pkgManager_->GetFileInfo(fileName); 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.cpp320 const FileInfo *newFileInfo = newParser_->GetFileInfo(fileName); in DiffFile()
341 const FileInfo *oldFileInfo = oldParser_->GetFileInfo(fileName); in DiffFile()
425 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
519 const FileInfo *fileInfo = newParser_->GetFileInfo(fileName); in TestAndSetConfig()
/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
Dohos_resource_adapter_impl.cpp176 if (GetFileInfo(isSys? sysExtractor_: extractor_, rawFile, info)) { in GetRawFileLastModTime()
187 if (GetFileInfo(isSys? sysExtractor_: extractor_, rawFile, info)) { in GetRawFileLastModTime()
214 bool OhosResourceAdapterImpl::GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& mana… in GetFileInfo() function in OHOS::NWeb::OhosResourceAdapterImpl
220 return manager->GetFileInfo(rawFile, info); in GetFileInfo()
/base/update/updater/services/script/script_manager/
Dscript_managerImpl.cpp114 const FileInfo *info = manager->GetFileInfo(REGISTER_CMD_SCRIPT_NAME); in Init()
163 const FileInfo *info = manager->GetFileInfo(scriptName); in ExtractAndExecuteScript()
265 if (manager->GetFileInfo(scriptName) == nullptr) { in AddScript()
/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() function
Dpkg_upgradefile.cpp103 compDataLen += (*it.second).GetFileInfo()->packedSize; in GetEntryOffset()
611 if (entry->GetFileInfo() == nullptr) { in SaveEntry()
617 info.dataOffset += entry->GetFileInfo()->packedSize; in SaveEntry()
619 PKG_LOGI("Component packedSize %zu unpackedSize %zu %s", entry->GetFileInfo()->packedSize, in SaveEntry()
620 entry->GetFileInfo()->unpackedSize, entry->GetFileInfo()->identity.c_str()); in SaveEntry()
/base/update/updater/test/unittest/updater_binary/
Dupdate_binary_unittest.h62 const Hpackage::FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() function
/base/update/updater/test/unittest/package/
Dpkg_test.h129 const FileInfo *info = manager->GetFileInfo(components[i]); in ExtractFile()
132 … const ComponentInfo* compInfo = (const ComponentInfo*)manager->GetFileInfo(components[i]); in ExtractFile()
/base/update/updater/services/flow_update/update_bin/
Dcomponent_processor.cpp154 const FileInfo *info = env.GetPkgManager()->GetFileInfo(partitionName); in PreProcess()
185 const FileInfo *info = env.GetPkgManager()->GetFileInfo(partitionName); in DoProcess()
317 const FileInfo *info = env.GetPkgManager()->GetFileInfo(partitionName); in DoProcess()
/base/update/updater/test/unittest/script/script_instruction/
Dscript_registercmd_unittest.cpp38 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() function in TestPkgManager
Dscript_loadscript_unittest.cpp37 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() function in TestPkgManager
Dscript_updateprocesser_unittest.cpp56 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() function in __anon58af36cc0111::TestPkgManager
/base/web/webview/ohos_adapter/ohos_resource_adapter/include/
Dohos_resource_adapter_impl.h83 static bool GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
/base/update/updater/services/ptable_parse/
Dptable_manager.cpp274 const Hpackage::FileInfo *info = pkgManager->GetFileInfo(PtableManager::ptbImgTag_); in GetPtableBufferFromPkg()
276 info = pkgManager->GetFileInfo("/ptable"); in GetPtableBufferFromPkg()
/base/update/updater/services/package/pkg_verify/
Dhash_data_verifier.cpp69 auto info = manager_->GetFileInfo(UPDATER_HASH_SIGNED_DATA); in LoadHashDataFromPackage()
/base/update/updater/services/include/package/
Dpkg_manager.h170 virtual const FileInfo *GetFileInfo() const = 0;
289 virtual const FileInfo *GetFileInfo(const std::string &fileId) = 0;
/base/update/updater/services/updater_binary/
Dupdate_image_patch.cpp127 const FileInfo *info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream()
131 info = env.GetPkgManager()->GetFileInfo(patchName); in CreatePatchStream()
Dupdate_image_block.cpp102 const FileInfo *file = env->GetPkgManager()->GetFileInfo(info->newPatch); in UnpackNewData()
244 const FileInfo *info = env.GetPkgManager()->GetFileInfo(infos.partitionName); in ExtractDiffPackageAndLoad()
307 const FileInfo *info = env.GetPkgManager()->GetFileInfo(fileName); in ExtractFileByName()
Dupdate_partitions.cpp198 const FileInfo *info = env.GetPkgManager()->GetFileInfo(filePath); in Execute()
/base/update/updater/test/unittest/script/
Dscript_unittest.h67 const FileInfo *GetFileInfo(const std::string &fileId) override in GetFileInfo() function
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage.c846 static int32_t GetFileInfo(const struct HksProcessInfo *processInfo, in GetFileInfo() function
904 return GetFileInfo(processInfo, keyAlias, storageType, fileInfo); in HksGetFileInfo()
960 ret = GetFileInfo(processInfo, keyAlias, storageType, &fileInfo); in HksStoreKeyBlob()
987 ret = GetFileInfo(processInfo, keyAlias, storageType, &fileInfo); in HksStoreDeleteKeyBlob()
1008 ret = GetFileInfo(processInfo, keyAlias, storageType, &fileInfo); in HksStoreIsKeyBlobExist()
1027 ret = GetFileInfo(processInfo, keyAlias, storageType, &fileInfo); in HksStoreGetKeyBlob()
1049 ret = GetFileInfo(processInfo, keyAlias, storageType, &fileInfo); in HksStoreGetKeyBlobSize()

12