Searched refs:assetBasePathStr (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_service_ability.cpp | 101 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 D | ace_data_ability.cpp | 101 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 D | ace_form_ability.cpp | 95 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 D | ace_ability.cpp | 404 … 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 D | pa_container.h | 42 std::vector<std::string> assetBasePathStr; member
|
H A D | ui_content_impl.cpp | 1184 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 D | js_environment_impl.h | 34 std::vector<std::string> assetBasePathStr; member
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime_lite.cpp | 385 workerInfo->assetBasePathStr = options.assetBasePathStr; in InitWorkerModule() 421 childOptions_->assetBasePathStr = options.assetBasePathStr; in SetChildOptions()
|
H A D | js_worker.cpp | 408 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 D | js_runtime.cpp | 1516 workerInfo->assetBasePathStr = options.assetBasePathStr; in InitWorkerModule()
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | runtime.h | 46 std::vector<std::string> assetBasePathStr; member
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | jsi_pa_engine.cpp | 267 options.assetBasePathStr = GetWorkerPath()->assetBasePathStr; in InitJsRuntimeOptions()
|