Home
last modified time | relevance | path

Searched refs:loadPath (Results 1 - 17 of 17) sorted by relevance

/foundation/ability/ability_base/test/unittest/extractor/
H A Dextractor_test.cpp88 std::string loadPath; in HWTEST_F() local
89 std::shared_ptr<Extractor> extractor1 = std::make_shared<Extractor>(loadPath); in HWTEST_F()
107 std::string loadPath; in HWTEST_F() local
108 std::shared_ptr<Extractor> extractor1 = ExtractorUtil::GetExtractor(loadPath, newCreate); in HWTEST_F()
112 loadPath = ERROR_HAP_PATH; in HWTEST_F()
113 std::shared_ptr<Extractor> extractor2 = ExtractorUtil::GetExtractor(loadPath, newCreate); in HWTEST_F()
120 loadPath = TEST_THIRD_HAP_PATH; in HWTEST_F()
121 std::shared_ptr<Extractor> extractor4 = ExtractorUtil::GetExtractor(loadPath, newCreate); in HWTEST_F()
136 std::string loadPath; in HWTEST_F() local
137 std::string loadFilePath = ExtractorUtil::GetLoadFilePath(loadPath); in HWTEST_F()
[all...]
/foundation/arkui/napi/module_manager/
H A Dnative_module_manager.cpp231 std::string loadPath; in GetModuleFileName() local
237 return loadPath; in GetModuleFileName()
245 return loadPath; in GetModuleFileName()
247 loadPath = nativeModulePath[0]; in GetModuleFileName()
250 loadPath = std::string(appLibPathMap_[pathKey]) + "/" + nativeModulePath[0]; in GetModuleFileName()
253 return loadPath; in GetModuleFileName()
1001 char* loadPath = nativeModulePath[0]; in FindNativeModuleByDisk() local
1002 HILOG_DEBUG("moduleName is %{public}s. get primary module path is %{public}s", moduleName, loadPath); in FindNativeModuleByDisk()
1005 LIBHANDLE lib = LoadModuleLibrary(moduleKey, loadPath, path, isAppModule, errInfo, errReason0); in FindNativeModuleByDisk()
1008 loadPath in FindNativeModuleByDisk()
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dcontext_container.cpp337 std::string loadPath; in LoadResources() local
339 loadPath = hapModuleInfo.hapPath; in LoadResources()
341 loadPath = hapModuleInfo.resourcePath; in LoadResources()
343 if (loadPath.empty()) { in LoadResources()
346 loadPath = std::regex_replace(loadPath, pattern, AbilityBase::Constants::LOCAL_BUNDLES); in LoadResources()
347 TAG_LOGD(AAFwkTag::APPKIT, "loadPath: %{private}s", loadPath.c_str()); in LoadResources()
348 if (!resourceManager->AddResource(loadPath.c_str())) { in LoadResources()
H A Dmain_thread.cpp1047 std::string loadPath = in OnStartAbility() local
1049 if (!loadPath.empty()) { in OnStartAbility()
1050 loadPath = std::regex_replace(loadPath, pattern, std::string(LOCAL_CODE_PATH)); in OnStartAbility()
1051 TAG_LOGD(AAFwkTag::APPKIT, "ModuleResPath: %{public}s", loadPath.c_str()); in OnStartAbility()
1054 if (!resourceManager->AddResource(loadPath.c_str())) { in OnStartAbility()
1060 if (!resourceManager->AddResource(loadPath, overlayPaths)) { in OnStartAbility()
1063 SubscribeOverlayChange(bundleName, loadPath, resourceManager, entryHapModuleInfo); in OnStartAbility()
1069 loadPath.c_str(), hqfPath.c_str()); in OnStartAbility()
1070 if (!resourceManager->AddPatchResource(loadPath in OnStartAbility()
1096 SubscribeOverlayChange(const std::string &bundleName, const std::string &loadPath, std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const AppExecFwk::HapModuleInfo &entryHapModuleInfo) SubscribeOverlayChange() argument
1121 OnOverlayChanged(const EventFwk::CommonEventData &data, const std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &bundleName, const std::string &moduleName, const std::string &loadPath) OnOverlayChanged() argument
1143 HandleOnOverlayChanged(const EventFwk::CommonEventData &data, const std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &bundleName, const std::string &moduleName, const std::string &loadPath) HandleOnOverlayChanged() argument
1680 std::string loadPath = HandleLaunchApplication() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/
H A Dcontext_impl.cpp873 std::string loadPath = in InitResourceManagerInner() local
875 if (loadPath.empty()) { in InitResourceManagerInner()
876 TAG_LOGD(AAFwkTag::APPKIT, "loadPath is empty"); in InitResourceManagerInner()
880 loadPath = std::regex_replace(loadPath, inner_pattern, LOCAL_CODE_PATH); in InitResourceManagerInner()
882 loadPath = std::regex_replace(loadPath, hsp_pattern, hsp_sandbox); in InitResourceManagerInner()
886 loadPath = std::regex_replace(loadPath, outer_pattern, LOCAL_BUNDLES); in InitResourceManagerInner()
889 TAG_LOGD(AAFwkTag::APPKIT, "loadPath in InitResourceManagerInner()
900 AddPatchResource(std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &loadPath, const std::string &hqfPath, bool isDebug, std::shared_ptr<Context> inputContext) AddPatchResource() argument
915 GetOverlayPath(std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &bundleName, const std::string &moduleName, std::string &loadPath, bool currentBundle, std::shared_ptr<Context> inputContext) GetOverlayPath() argument
954 SubscribeToOverlayEvents(std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &name, const std::string &hapModuleName, std::string &loadPath, std::vector<AppExecFwk::OverlayModuleInfo> overlayModuleInfos) SubscribeToOverlayEvents() argument
1369 OnOverlayChanged(const EventFwk::CommonEventData &data, const std::shared_ptr<Global::Resource::ResourceManager> &resourceManager, const std::string &bundleName, const std::string &moduleName, const std::string &loadPath) OnOverlayChanged() argument
[all...]
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dextractor.cpp252 std::string loadPath; in GetLoadFilePath() local
254 loadPath = GetLoadPath(hapPath); in GetLoadFilePath()
256 loadPath = hapPath; in GetLoadFilePath()
258 return loadPath; in GetLoadFilePath()
H A Dfile_path_utils.cpp445 std::string loadPath = std::regex_replace(hapPath, hapPattern, ""); in GetLoadPath() local
446 loadPath = std::string(Constants::LOCAL_CODE_PATH) + std::string(Constants::FILE_SEPARATOR) + in GetLoadPath()
447 loadPath.substr(loadPath.find(std::string(Constants::FILE_SEPARATOR)) + 1); in GetLoadPath()
448 return loadPath; in GetLoadPath()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dutils.cpp67 std::string loadPath = AbilityBase::ExtractorUtil::GetLoadFilePath(hapPath); in GetStringFromHap() local
68 std::shared_ptr<AbilityBase::Extractor> extractor = AbilityBase::ExtractorUtil::GetExtractor(loadPath, newCreate); in GetStringFromHap()
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_worker.cpp398 std::string loadPath = ExtractorUtil::GetLoadFilePath(newHapPath); in ReadFilePathData() local
399 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate); in ReadFilePathData()
401 TAG_LOGE(AAFwkTag::JSRUNTIME, "LoadPath %{private}s GetExtractor failed", loadPath.c_str()); in ReadFilePathData()
469 std::string loadPath = ExtractorUtil::GetLoadFilePath((workerInfo_->hapPath).GetOriginString()); in GetAmi() local
471 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate); in GetAmi()
473 TAG_LOGE(AAFwkTag::JSRUNTIME, "loadPath %{private}s GetExtractor failed", loadPath.c_str()); in GetAmi()
H A Djs_runtime_lite.cpp295 std::string loadPath = ExtractorUtil::GetLoadFilePath(options.hapPath); in LoadAotFile() local
296 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in LoadAotFile()
H A Djs_runtime.cpp632 std::string loadPath = ExtractorUtil::GetLoadFilePath(options.hapPath); in LoadAotFile() local
633 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in LoadAotFile()
1079 std::string loadPath = ExtractorUtil::GetLoadFilePath(hapPath); in RunScript() local
1080 std::shared_ptr<Extractor> extractor = ExtractorUtil::GetExtractor(loadPath, newCreate, true); in RunScript()
1089 resourceManager->AddResource(loadPath.c_str()); in RunScript()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context/
H A Dcontext_impl.h438 const std::string &moduleName, const std::string &loadPath);
461 const std::string &bundleName, const std::string &moduleName, std::string &loadPath, bool currentBundle,
464 const std::string &loadPath, const std::string &hqfPath, bool isDebug,
467 const std::string &name, const std::string &hapModuleName, std::string &loadPath,
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dmain_thread.h602 const std::string &moduleName, const std::string &loadPath);
606 const std::string &moduleName, const std::string &loadPath);
713 void SubscribeOverlayChange(const std::string &bundleName, const std::string &loadPath,
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/
H A Dmain_thread_test.cpp1509 std::string loadPath = "test"; in HWTEST_F() local
1515 bundleName, moduleName, loadPath, overlayPaths, *resConfig, appType)); in HWTEST_F()
2183 std::string loadPath = "test"; in HWTEST_F() local
2198 mainThread_->OnOverlayChanged(data, resourceManager, bundleName, moduleName, loadPath); in HWTEST_F()
2214 std::string loadPath = "test"; in HWTEST_F() local
2229 mainThread_->HandleOnOverlayChanged(data, resourceManager, bundleName, moduleName, loadPath); in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_record.cpp1021 std::string loadPath; in CreateResourceManager() local
1023 loadPath = abilityInfo_.hapPath; in CreateResourceManager()
1025 loadPath = abilityInfo_.resourcePath; in CreateResourceManager()
1028 if (loadPath.empty()) { in CreateResourceManager()
1033 if (!resourceMgr->AddResource(loadPath.c_str())) { in CreateResourceManager()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dcontext_impl_test.cpp1304 std::string loadPath = "test"; in HWTEST_F() local
1319 contextImpl->OnOverlayChanged(data, resourceManager, bundleName, moduleName, loadPath); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp3367 std::string loadPath; in GetResourceManager() local
3369 loadPath = abilityInfo.hapPath; in GetResourceManager()
3371 loadPath = abilityInfo.resourcePath; in GetResourceManager()
3374 if (!resourceMgr->AddResource(loadPath.c_str(), Global::Resource::SELECT_COLOR | Global::Resource::SELECT_MEDIA)) { in GetResourceManager()
3375 WLOGFW("Add resource %{private}s failed.", loadPath.c_str()); in GetResourceManager()
6704 std::string loadPath = abilityInfo.hapPath.empty() ? abilityInfo.resourcePath : abilityInfo.hapPath; in GetOrientationFromResourceManager() local
6705 if (!resourceMgr->AddResource(loadPath.c_str(), Global::Resource::SELECT_STRING)) { in GetOrientationFromResourceManager()
6706 TLOGE(WmsLogTag::DEFAULT, "Add resource %{private}s failed.", loadPath.c_str()); in GetOrientationFromResourceManager()

Completed in 43 milliseconds