Home
last modified time | relevance | path

Searched refs:bundlePath (Results 1 – 4 of 4) sorted by relevance

/base/customization/enterprise_device_management/services/edm_plugin/src/
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/src/
Dnweb_helper.cpp121 static void DoPreReadLib(const std::string &bundlePath) in DoPreReadLib() argument
124 …std::string libPathWebEngine = bundlePath + "/" + RELATIVE_PATH_FOR_BUNDLE + "/" + LIB_NAME_WEB_EN… in DoPreReadLib()
167 void NWebHelper::TryPreReadLib(bool isFirstTimeStartUpWeb, const std::string &bundlePath) in TryPreReadLib() argument
175 DoPreReadLib(bundlePath); in TryPreReadLib()
178 static void TryPreReadLibForFirstlyAppStartUp(const std::string &bundlePath) in TryPreReadLibForFirstlyAppStartUp() argument
181 std::thread preReadThread([bundlePath]() { in TryPreReadLibForFirstlyAppStartUp()
182 DoPreReadLib(bundlePath); in TryPreReadLibForFirstlyAppStartUp()
/base/web/webview/ohos_nweb/include/
Dnweb_helper.h35 static void TryPreReadLib(bool isFirstTimeStartUpWeb, const std::string &bundlePath);
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp261 std::string bundlePath = pathPrefix + GetDynamicLibName(name, true); in SearchPluginBundle() local
262 printf("bundlePath is %s\n", bundlePath.c_str()); in SearchPluginBundle()
263 if (FileUtil::FileExists(bundlePath)) { in SearchPluginBundle()
264 return bundlePath; in SearchPluginBundle()
279 std::string bundlePath = SearchPluginBundle(bundleName); in LoadPluginBundle() local
280 if (bundlePath == "") { in LoadPluginBundle()
284 auto handle = LoadModule(bundlePath); in LoadPluginBundle()