Home
last modified time | relevance | path

Searched refs:assetBasePathStr (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_service_ability.cpp101 std::vector<std::string> assetBasePathStr; in OnStart() local
104 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in OnStart()
106 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart()
109 workerPath->assetBasePathStr = assetBasePathStr; in OnStart()
119 …form::PaContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dace_data_ability.cpp101 std::vector<std::string> assetBasePathStr; in OnStart() local
105 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in OnStart()
107 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart()
109 workerPath->assetBasePathStr = assetBasePathStr; in OnStart()
119 …form::PaContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dace_form_ability.cpp95 std::vector<std::string> assetBasePathStr; in LoadFormEnv() local
98 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in LoadFormEnv()
100 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in LoadFormEnv()
103 workerPath->assetBasePathStr = assetBasePathStr; in LoadFormEnv()
113 …orm::PaContainer::AddAssetPath(instanceId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in LoadFormEnv()
H A Dace_ability.cpp404 … auto assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart() local
405 …orm::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
407 auto assetBasePathStr = { "assets/js/" + srcPath + "/", std::string("assets/js/share/"), in OnStart() local
409 …orm::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dpa_container.h42 std::vector<std::string> assetBasePathStr; member
H A Dui_content_impl.cpp1184 auto assetBasePathStr = { std::string("ets/"), std::string("resources/base/profile/") }; in CommonInitializeForm() local
1187 if (assetProvider->Initialize(resPath, assetBasePathStr)) { in CommonInitializeForm()
1209 auto assetBasePathStr = { "assets/js/" + (srcPath.empty() ? "default" : srcPath) + "/", in CommonInitializeForm() local
1213 if (fileAssetProvider->Initialize(packagePathStr, assetBasePathStr)) { in CommonInitializeForm()
1731 auto assetBasePathStr = { std::string("ets/"), std::string("resources/base/profile/") }; in CommonInitialize() local
1734 if (fileAssetProvider->Initialize(resPath, assetBasePathStr)) { in CommonInitialize()
1756 auto assetBasePathStr = { "assets/js/" + (srcPath.empty() ? "default" : srcPath) + "/", in CommonInitialize() local
1761 if (fileAssetProvider->Initialize(packagePathStr, assetBasePathStr)) { in CommonInitialize()
/ohos5.0/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/
H A Djs_environment_impl.h34 std::vector<std::string> assetBasePathStr; member
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime_lite.cpp385 workerInfo->assetBasePathStr = options.assetBasePathStr; in InitWorkerModule()
421 childOptions_->assetBasePathStr = options.assetBasePathStr; in SetChildOptions()
H A Djs_worker.cpp408 for (const auto& basePath : workerInfo_->assetBasePathStr) { in ReadFilePathData()
476 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
509 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
H A Djs_runtime.cpp1516 workerInfo->assetBasePathStr = options.assetBasePathStr; in InitWorkerModule()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Druntime.h46 std::vector<std::string> assetBasePathStr; member
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp267 options.assetBasePathStr = GetWorkerPath()->assetBasePathStr; in InitJsRuntimeOptions()