Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_service_ability.cpp90 std::vector<std::string> assetBasePathStr; in OnStart() local
93 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in OnStart()
95 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart()
98 workerPath->assetBasePathStr = assetBasePathStr; in OnStart()
108 Platform::PaContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dace_form_ability.cpp86 std::vector<std::string> assetBasePathStr; in LoadFormEnv() local
89 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in LoadFormEnv()
91 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in LoadFormEnv()
94 workerPath->assetBasePathStr = assetBasePathStr; in LoadFormEnv()
104 Platform::PaContainer::AddAssetPath(instanceId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in LoadFormEnv()
H A Dace_data_ability.cpp91 std::vector<std::string> assetBasePathStr; in OnStart() local
95 assetBasePathStr = { "assets/js/" + abilityInfo->srcPath + "/", std::string("assets/js/") }; in OnStart()
97 assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart()
99 workerPath->assetBasePathStr = assetBasePathStr; in OnStart()
109 Platform::PaContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dpa_container.h42 std::vector<std::string> assetBasePathStr; member
H A Dace_ability.cpp409 auto assetBasePathStr = { std::string("assets/js/default/"), std::string("assets/js/share/") }; in OnStart() local
410 Platform::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
412 auto assetBasePathStr = { "assets/js/" + srcPath + "/", std::string("assets/js/share/"), in OnStart() local
414 Platform::AceContainer::AddAssetPath(abilityId_, packagePathStr, moduleInfo->hapPath, assetBasePathStr); in OnStart()
H A Dui_content_impl.cpp1132 auto assetBasePathStr = { std::string("ets/"), std::string("resources/base/profile/") }; in CommonInitializeForm() local
1135 if (assetProvider->Initialize(resPath, assetBasePathStr)) { in CommonInitializeForm()
1157 auto assetBasePathStr = { "assets/js/" + (srcPath.empty() ? "default" : srcPath) + "/", in CommonInitializeForm() local
1161 if (fileAssetProvider->Initialize(packagePathStr, assetBasePathStr)) { in CommonInitializeForm()
1679 auto assetBasePathStr = { std::string("ets/"), std::string("resources/base/profile/") }; in CommonInitialize() local
1682 if (fileAssetProvider->Initialize(resPath, assetBasePathStr)) { in CommonInitialize()
1704 auto assetBasePathStr = { "assets/js/" + (srcPath.empty() ? "default" : srcPath) + "/", in CommonInitialize() local
1709 if (fileAssetProvider->Initialize(packagePathStr, assetBasePathStr)) { in CommonInitialize()
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/
H A Djs_environment_impl.h34 std::vector<std::string> assetBasePathStr; member
/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.cpp409 for (const auto& basePath : workerInfo_->assetBasePathStr) { in ReadFilePathData()
477 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
510 for (const auto& basePath : workerInfo_->assetBasePathStr) { in GetAmi()
H A Djs_runtime.cpp1448 workerInfo->assetBasePathStr = options.assetBasePathStr; in InitWorkerModule()
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/
H A Druntime.h46 std::vector<std::string> assetBasePathStr; member
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp253 options.assetBasePathStr = GetWorkerPath()->assetBasePathStr; in InitJsRuntimeOptions()

Completed in 33 milliseconds