Home
last modified time | relevance | path

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

/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_nweb_webview_bridge_helper.cpp29 bool ArkWebNWebWebviewBridgeHelper::Init(bool runMode, const std::string& bundlePath) in Init() argument
33 libDirPath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_BUNDLE; in Init()
35 libDirPath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_MOCK; in Init()
60 void ArkWebNWebWebviewBridgeHelper::PreloadLibFile(bool runMode, const std::string& bundlePath) in Init() argument
64 libFilePath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_BUNDLE + "/" + NWEB_LIB_FILE_NAME; in Init()
66 libFilePath = bundlePath + "/" + WEBVIEW_RELATIVE_PATH_FOR_MOCK + "/" + NWEB_LIB_FILE_NAME; in Init()
H A Dark_web_nweb_webview_bridge_helper.h30 bool Init(bool runMode, const std::string& bundlePath);
32 static void PreloadLibFile(bool runMode, const std::string& bundlePath);
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dinstall_plugin.cpp54 std::string bundlePath = HAP_DIRECTORY + "/" + fileName; in OnGetPolicy() local
56 if (bundlePath.length() > PATH_MAX) { in OnGetPolicy()
57 EDMLOGE("bundlePath length is error, the length is: [%{public}zu]", bundlePath.length()); in OnGetPolicy()
64 EDMLOGE("file path %{public}s invalid", bundlePath.c_str()); in OnGetPolicy()
74 int32_t fd = open(bundlePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in OnGetPolicy()
76 EDMLOGE("open bundlePath %{public}s failed", bundlePath.c_str()); in OnGetPolicy()
83 reply.WriteString(bundlePath); in OnGetPolicy()
/base/web/webview/ohos_nweb/include/
H A Dnweb_helper.h46 static void TryPreReadLib(bool isFirstTimeStartUpWeb, const std::string& bundlePath);
/base/web/webview/ohos_nweb/src/
H A Dnweb_helper.cpp589 void NWebHelper::TryPreReadLib(bool isFirstTimeStartUpWeb, const std::string& bundlePath) in TryPreReadLib() argument
597 ArkWeb::ArkWebNWebWebviewBridgeHelper::PreloadLibFile(true, bundlePath); in TryPreReadLib()
600 static void TryPreReadLibForFirstlyAppStartUp(const std::string& bundlePath) in TryPreReadLibForFirstlyAppStartUp() argument
604 [bundlePath]() { ArkWeb::ArkWebNWebWebviewBridgeHelper::PreloadLibFile(true, bundlePath); }); in TryPreReadLibForFirstlyAppStartUp()
/base/hiviewdfx/hiview/core/
H A Dhiview_platform.cpp293 std::string bundlePath = pathPrefix + GetDynamicLibName(name, true); in SearchPluginBundle() local
294 printf("bundlePath is %s\n", bundlePath.c_str()); in SearchPluginBundle()
295 if (FileUtil::FileExists(bundlePath)) { in SearchPluginBundle()
296 return bundlePath; in SearchPluginBundle()
311 std::string bundlePath = SearchPluginBundle(bundleName); in LoadPluginBundle() local
312 if (bundlePath == "") { in LoadPluginBundle()
316 auto handle = LoadModule(bundlePath); in LoadPluginBundle()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp910 const std::string& bundlePath = ctx->GetBundleCodeDir(); in InitializeWebEngine() local
911 NWebHelper::Instance().SetBundlePath(bundlePath); in InitializeWebEngine()
919 WVLOG_I("NWebHelper initialized, init web engine done, bundle_path: %{public}s", bundlePath.c_str()); in InitializeWebEngine()

Completed in 25 milliseconds