Home
last modified time | relevance | path

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

/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dextractor.cpp32 Extractor::Extractor(const std::string &source) : zipFile_(source) in Extractor() function in OHOS::AbilityBase::Extractor
37 Extractor::~Extractor() in ~Extractor()
40 bool Extractor::Init() in Init()
92 bool Extractor::HasEntry(const std::string &fileName) const in HasEntry()
102 bool Extractor::IsDirExist(const std::string &dir) in IsDirExist()
143 bool Extractor::IsStageBasedModel(std::string abilityName) in IsStageBasedModel()
153 bool Extractor::IsSameHap(const std::string& hapPath) const in IsSameHap()
180 bool Extractor::UnzipData(std::unique_ptr<FileMapper> fileMapper, in UnzipData()
200 bool Extractor::IsStageModel() in IsStageModel()
261 bool Extractor::IsHapCompress(const std::string &fileName) const in IsHapCompress()
[all …]
/ohos5.0/foundation/ability/ability_base/test/unittest/extractor/
H A Dextractor_test.cpp89 std::shared_ptr<Extractor> extractor1 = std::make_shared<Extractor>(loadPath);
92 std::shared_ptr<Extractor> extractor2 = std::make_shared<Extractor>(testPath_);
164 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
186 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
207 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
264 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
332 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
351 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
370 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
417 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(testPath_);
[all …]
/ohos5.0/base/web/webview/ohos_adapter/ohos_resource_adapter/include/
H A Dohos_resource_adapter_impl.h27 const std::shared_ptr<OHOS::AbilityBase::Extractor>& extractor);
46 std::shared_ptr<OHOS::AbilityBase::Extractor> extractor_ = nullptr;
84 … static std::string ParseModuleName(const std::shared_ptr<OHOS::AbilityBase::Extractor> &manager);
86 static bool GetRawFileData(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
89 static bool HasEntry(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
92 static bool GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
96 const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager,
99 std::shared_ptr<OHOS::AbilityBase::Extractor> sysExtractor_;
100 std::shared_ptr<OHOS::AbilityBase::Extractor> extractor_;
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/
H A Dextractor.h40 class Extractor {
42 explicit Extractor(const std::string &source);
43 virtual ~Extractor();
111 …static std::shared_ptr<Extractor> GetExtractor(const std::string &hapPath, bool &newCreate, bool c…
116 static std::unordered_map<std::string, std::shared_ptr<Extractor>> extractorMap_;
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/ohos_resource_adapter_test/
H A Dohos_resource_adapter_test.cpp79 class ExtractorMock : public Extractor {
81 explicit ExtractorMock() : Extractor("web_test") {} in ExtractorMock()
119 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(rawFile);
178 std::shared_ptr<Extractor> extractor = std::make_shared<Extractor>(hapPath);
227 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(hapPath, newCreate);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/runtime_test/
H A Djs_module_reader_test.cpp24 using Extractor = OHOS::AbilityBase::Extractor; typedef
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_module_reader.h25 using Extractor = OHOS::AbilityBase::Extractor; variable
H A Djs_worker.cpp138 using Extractor = AbilityBase::Extractor; typedef
398 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate); in ReadFilePathData()
470 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate); in GetAmi()
H A Djs_runtime_lite.cpp32 using Extractor = OHOS::AbilityBase::Extractor; typedef
296 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in LoadAotFile()
442 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor( in GetPkgContextInfoListMap()
H A Djs_runtime.cpp71 using Extractor = OHOS::AbilityBase::Extractor; typedef
404 Extractor extractor(filePath); in GetFileBuffer()
516 Extractor extractor(hqfFile); in UnLoadRepairPatch()
664 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in LoadAotFile()
768 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate); in Initialize()
1116 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in RunScript()
1413 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor( in ReadSourceMapData()
H A Djs_module_reader.cpp62 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(realHapPath, newCreate); in operator ()()
/ohos5.0/base/web/webview/ohos_adapter/ohos_resource_adapter/src/
H A Dohos_resource_adapter_impl.cpp244 … const std::shared_ptr<Extractor>& extractor): extractor_(extractor), fileMap_(std::move(fileMap)) in OhosFileMapperImpl()
418 bool OhosResourceAdapterImpl::HasEntry(const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, in HasEntry()
427 bool OhosResourceAdapterImpl::GetFileInfo(const std::shared_ptr<OHOS::AbilityBase::Extractor>& mana… in GetFileInfo()
460 std::string OhosResourceAdapterImpl::ParseModuleName(const std::shared_ptr<Extractor> &manager) in ParseModuleName()
481 bool OhosResourceAdapterImpl::GetRawFileData(const std::shared_ptr<Extractor>& manager, in GetRawFileData()
500 const std::shared_ptr<OHOS::AbilityBase::Extractor>& manager, in GetRawFileMapper()
529 OHOS::AbilityBase::Extractor extractor(hapPath); in GetArkWebVersion()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_parser.h78 static std::string ParseModuleName(std::shared_ptr<AbilityBase::Extractor> &extractor);
86 static std::string GetRawFilePath(std::shared_ptr<AbilityBase::Extractor> &extractor,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dhap_asset_provider_impl.h65 std::shared_ptr<AbilityBase::Extractor> runtimeExtractor_;
/ohos5.0/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_utils.cpp76 …std::unique_ptr<AbilityBase::Extractor> extractor = std::make_unique<AbilityBase::Extractor>(signa… in EnforceCodeSignForApp()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dhap_asset_provider_impl.h75 std::shared_ptr<AbilityBase::Extractor> runtimeExtractor_;
H A Dutils.cpp72 …std::shared_ptr<AbilityBase::Extractor> extractor = AbilityBase::ExtractorUtil::GetExtractor(loadP… in GetStringFromHap()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp142 std::string GetIndexFilePath(std::shared_ptr<AbilityBase::Extractor> &extractor) in GetIndexFilePath()
157 …std::shared_ptr<AbilityBase::Extractor> extractor = AbilityBase::ExtractorUtil::GetExtractor(path,… in GetIndexData()
H A Dhap_manager.cpp568 std::string GetFilePathFromHap(std::shared_ptr<AbilityBase::Extractor> &extractor, in GetFilePathFromHap()
596 std::shared_ptr<AbilityBase::Extractor> GetAbilityExtractor( in GetAbilityExtractor()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp234 std::string HapParser::ParseModuleName(std::shared_ptr<AbilityBase::Extractor> &extractor) in ParseModuleName()
255 std::string GetRawFilePathFromFA(std::shared_ptr<AbilityBase::Extractor> &extractor, in GetRawFilePathFromFA()
273 std::string HapParser::GetRawFilePath(std::shared_ptr<AbilityBase::Extractor> &extractor, in GetRawFilePath()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Djs_runtime.h41 class Extractor; variable
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dappfreeze-guidelines.md642 … /system/lib64/chipset-pub-sdk/libextractortool.z.so(OHOS::AbilityBase::Extractor::Init()+124)(c48…
/ohos5.0/docs/en/application-dev/dfx/
H A Dappfreeze-guidelines.md642 … /system/lib64/chipset-pub-sdk/libextractortool.z.so(OHOS::AbilityBase::Extractor::Init()+124)(c48…