/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/ |
H A D | js_backend_asset_manager.h | 29 bool GetAssetContent(const std::string& url, std::string& content); 30 bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content);
|
H A D | js_backend_asset_manager.cpp | 30 bool JsBackendAssetManager::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::JsBackendAssetManager 35 bool JsBackendAssetManager::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::JsBackendAssetManager 118 LOGE("GetResourceData GetAssetContent failed."); in GetResourceData()
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.h | 178 bool GetAssetContent(const std::string& url, std::string& content) override; 179 bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content) override;
|
H A D | plugin_frontend_delegate.cpp | 117 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 181 if (GetAssetContent(fileFullPath, content)) { in GetConfigurationCommon() 211 if (GetAssetContent(fileFullPath, content)) { in LoadResourceConfiguration() 1059 bool PluginFrontendDelegate::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::Framework::PluginFrontendDelegate 1064 bool PluginFrontendDelegate::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::Framework::PluginFrontendDelegate
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.h | 249 virtual bool GetAssetContent(const std::string& url, std::string& content) = 0; 250 virtual bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content) = 0;
|
H A D | frontend_delegate_impl.h | 288 bool GetAssetContent(const std::string& url, std::string& content) override; 289 bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content) override;
|
H A D | frontend_delegate_impl.cpp | 98 if (!delegate->GetAssetContent(MANIFEST_JSON, jsonContent)) { in ParseManifest() 217 if (GetAssetContent(fileFullPath, content)) { in GetConfigurationCommon() 1207 bool FrontendDelegateImpl::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateImpl 1212 bool FrontendDelegateImpl::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateImpl 2009 if (GetAssetContent(fileFullPath, content)) { in LoadResourceConfiguration()
|
H A D | js_frontend.cpp | 817 if (!delegate_->GetAssetContent("module_collection.txt", data)) { in GetPluginsUsed()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/ |
H A D | mock_plugin_frontend_delegate.cpp | 267 bool PluginFrontendDelegate::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::Framework::PluginFrontendDelegate 272 bool PluginFrontendDelegate::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::Framework::PluginFrontendDelegate
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 163 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 166 } else if (!profile.empty() && GetAssetContent(profile, jsonContent)) { in RunPage() 168 } else if (GetAssetContent(PAGES_JSON, jsonContent)) { in RunPage() 536 bool FrontendDelegateDeclarativeNG::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateDeclarativeNG 541 bool FrontendDelegateDeclarativeNG::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateDeclarativeNG 982 if (GetAssetContent("app.js.map", appMap)) { in GetFaAppSourceMap() 993 if (GetAssetContent(MERGE_SOURCEMAPS_PATH, maps)) { in GetStageSourceMap()
|
H A D | frontend_delegate_declarative_ng.h | 178 bool GetAssetContent(const std::string& url, std::string& content) override; 179 bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.cpp | 557 if (!frontendDelegate_->GetAssetContent(filename, content)) { in InitAceModule() 1381 if (!delegate->GetAssetContent(fileName, content)) { in ExecuteAbc() 1420 if (!delegate->GetAssetContent(fileName, content)) { in ExecuteCardAbc() 1429 if (!delegate->GetAssetContent(FORM_ES_MODULE_CARD_PATH, content)) { in ExecuteCardAbc() 1463 if (!delegate->GetAssetContent(fileName, content)) { in ExecuteCardAbc() 1540 if (delegate->GetAssetContent(url + ".map", jsSourceMap)) { in LoadJs() 1572 if (delegate->GetAssetContent("app.js.map", appMap)) { in LoadJs() 1591 if (!delegate->GetAssetContent("modules.abc", content)) { in LoadJs() 1592 LOGW("GetAssetContent \"%{public}s\" failed.", urlName.c_str()); in LoadJs() 1619 if (!delegate->GetAssetContent("et in LoadPluginJsWithModule() [all...] |
H A D | jsi_view_register_impl.cpp | 1113 if (delegate && delegate->GetAssetContent("component_collection.txt", jsModules)) { in JsBindViews()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.h | 252 bool GetAssetContent(const std::string& url, std::string& content) override; 253 bool GetAssetContent(const std::string& url, std::vector<uint8_t>& content) override;
|
H A D | frontend_delegate_declarative.cpp | 142 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 145 } else if (!profile.empty() && GetAssetContent(profile, jsonContent)) { in RunPage() 147 } else if (GetAssetContent(PAGES_JSON, jsonContent)) { in RunPage() 250 if (GetAssetContent(fileFullPath, content)) { in GetConfigurationCommon() 281 if (GetAssetContent(fileFullPath, content)) { in LoadResourceConfiguration() 757 if (GetAssetContent("app.js.map", appMap)) { in GetFaAppSourceMap() 774 if (GetAssetContent(MERGE_SOURCEMAPS_PATH, maps)) { in GetStageSourceMap() 2203 bool FrontendDelegateDeclarative::GetAssetContent(const std::string& url, std::string& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateDeclarative 2208 bool FrontendDelegateDeclarative::GetAssetContent(const std::string& url, std::vector<uint8_t>& content) in GetAssetContent() function in OHOS::Ace::Framework::FrontendDelegateDeclarative
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.cpp | 950 if (delegate != nullptr && delegate->GetAssetContent(MERGE_SOURCEMAPS_PATH, maps)) { in GetStageSourceMap()
|
H A D | jsi_engine.cpp | 3290 if (!delegate->GetAssetContent(fileName, content)) { 3320 if (delegate->GetAssetContent(url + ".map", jsSourceMap)) { 3342 if (delegate->GetAssetContent("app.js.map", appMap)) {
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | jsi_pa_engine.cpp | 447 LOGI("GetAssetContent: %{public}s", urlName.c_str()); in LoadJs() 449 if (jsBackendAssetManager_ == nullptr || !jsBackendAssetManager_->GetAssetContent(urlName, content)) { in LoadJs() 450 LOGE("GetAssetContent \"%{public}s\" failed.", urlName.c_str()); in LoadJs()
|