Lines Matching defs:module
111 HILOG_DEBUG("create native module manager instance");
144 HILOG_DEBUG("module '%{public}s' erased", moduleKey.c_str());
178 HILOG_DEBUG("module '%{public}s' erased", moduleKey.c_str());
211 HILOG_ERROR("failed to get native module handle.");
216 HILOG_ERROR("remove native module failed.");
236 HILOG_ERROR("get native module path failed");
241 NativeModule* module =
243 if (module == nullptr) {
244 HILOG_ERROR("get module file name failed");
252 HILOG_ERROR("get module file name failed, moduleName is %{public}s", moduleName);
263 HILOG_DEBUG("native module name is '%{public}s'", nativeModule->name);
296 HILOG_INFO("At tail register module name is '%{public}s', isAppModule is %{public}d",
313 HILOG_INFO("At head register module name is '%{public}s', isAppModule is %{public}d",
448 // Create module ns.
541 errInfo = "load native module failed. moduleName is nullptr";
547 errInfo = "load native module failed. relativePath is nullptr";
558 errInfo = "module " + std::string(moduleName) + " is in blocklist, loading prohibited";
591 errInfo = "failed to get native file path of module " + std::string(moduleName);
609 errInfo = "failed to get native file path of module " + std::string(moduleName);
641 HILOG_DEBUG("module '%{public}s' does not in cache", strCutName.c_str());
645 HILOG_DEBUG("module '%{public}s' does not in cache", moduleName);
663 HILOG_DEBUG("load native module %{public}s", (nativeModule == nullptr) ? "failed" : "success");
687 std::string sysPrefix("./module");
689 std::string sysAbcPrefix("./module");
693 std::string sysPrefix("./module");
695 std::string sysAbcPrefix("./module");
699 std::string sysPrefix("/system/lib64/module");
705 std::string sysPrefix("./module");
707 std::string sysAbcPrefix("./module");
711 std::string sysPrefix("/system/lib/module");
741 sysPrefix = previewSearchPath_ + "/module";
867 errInfo += "load module " + moduleKey + " failed. module path is empty";
885 errInfo += "load module failed. " + std::to_string(GetLastError());
899 errInfo += "load module failed. " + std::string(dlerrMsg);
915 errInfo += "load app module failed. " + std::string(dlerrMsg);
988 errInfo = "module " + std::string(moduleName) + " is in blocklist, loading prohibited";
1000 // load primary module path first
1002 HILOG_DEBUG("moduleName is %{public}s. get primary module path is %{public}s", moduleName, loadPath);
1009 HILOG_DEBUG("try to load secondary module path: %{public}s", loadPath);
1027 HILOG_DEBUG("try to load abc module path: %{public}s", loadPath);
1083 HILOG_DEBUG("get js code from module: bufLen: %{public}d", bufLen);
1105 HILOG_DEBUG("native module name is '%{public}s'", moduleKey.c_str());
1128 HILOG_INFO("Register by buffer success. module name is '%{public}s'", tailNativeModule_->moduleName);
1154 HILOG_DEBUG("module %{public}s deleted from cache", moduleKey.c_str());
1175 HILOG_DEBUG("module %{public}s deleted from cache", moduleKey.c_str());