Home
last modified time | relevance | path

Searched refs:moduleHapPath (Results 1 - 7 of 7) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/overlaydatamgr_fuzzer/
H A Doverlaydatamgr_fuzzer.cpp43 std::string moduleHapPath(data, size); in DoSomethingInterestingWithMyAPI()
45 overlayDataMgr.GetBundleDir(moduleHapPath, bundleDir); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_data_manager.cpp124 const std::string &moduleHapPath = newInfo.GetModuleHapPath(newInfo.GetCurrentModulePackage()); in UpdateExternalOverlayInfo() local
125 GetBundleDir(moduleHapPath, bundleDir); in UpdateExternalOverlayInfo()
194 ErrCode OverlayDataMgr::GetBundleDir(const std::string &moduleHapPath, std::string &bundleDir) const in GetBundleDir() argument
196 bundleDir = moduleHapPath; in GetBundleDir()
197 if (moduleHapPath.back() == ServiceConstants::FILE_SEPARATOR_CHAR) { in GetBundleDir()
198 bundleDir = moduleHapPath.substr(0, moduleHapPath.length() - 1); in GetBundleDir()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/overlay/
H A Dbundle_overlay_data_manager.h41 ErrCode GetBundleDir(const std::string &moduleHapPath, std::string &bundleDir) const;
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_ability.cpp335 std::string moduleHapPath = info ? info->hapPath : ""; in OnStart() local
350 if (!moduleHapPath.empty()) { in OnStart()
351 if (moduleHapPath.find(ABS_BUNDLE_CODE_PATH) == std::string::npos) { in OnStart()
352 hapPath = moduleHapPath; in OnStart()
354 auto pos = moduleHapPath.find_last_of('/'); in OnStart()
356 hapPath = LOCAL_BUNDLE_CODE_PATH + moduleHapPath.substr(pos + 1); in OnStart()
H A Dui_content_impl.cpp1093 std::string moduleHapPath = info != nullptr ? info->hapPath : ""; in CommonInitializeForm() local
1181 if (!moduleHapPath.empty()) { in CommonInitializeForm()
1182 if (moduleHapPath.find(ABS_BUNDLE_CODE_PATH) == std::string::npos) { in CommonInitializeForm()
1183 hapPath = moduleHapPath; in CommonInitializeForm()
1185 auto pos = moduleHapPath.find_last_of('/'); in CommonInitializeForm()
1187 hapPath = LOCAL_BUNDLE_CODE_PATH + moduleHapPath.substr(pos + 1); in CommonInitializeForm()
1651 std::string moduleHapPath = info != nullptr ? info->hapPath : ""; in CommonInitialize() local
1727 if (!moduleHapPath.empty()) { in CommonInitialize()
1728 if (moduleHapPath.find(ABS_BUNDLE_CODE_PATH) == std::string::npos) { in CommonInitialize()
1729 hapPath = moduleHapPath; in CommonInitialize()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_checker_test.cpp995 std::string moduleHapPath = "xxx/"; in HWTEST_F() local
997 ErrCode res = overlayDataMgr.GetBundleDir(moduleHapPath, bundleDir); in HWTEST_F()
999 moduleHapPath = "//"; in HWTEST_F()
1000 res = overlayDataMgr.GetBundleDir(moduleHapPath, bundleDir); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp7538 const std::string &moduleHapPath = in BuildExternalOverlayConnection() local
7540 OverlayDataMgr::GetInstance()->GetBundleDir(moduleHapPath, bundleDir); in BuildExternalOverlayConnection()

Completed in 28 milliseconds