/base/startup/init/interfaces/innerkits/init_module_engine/ |
D | init_modulemgr.c | 22 int InitModuleMgrInstall(const char *moduleName) in InitModuleMgrInstall() argument 24 if (moduleName == NULL) { in InitModuleMgrInstall() 35 return ModuleMgrInstall(defaultModuleMgr, moduleName, 0, NULL); in InitModuleMgrInstall() 38 void InitModuleMgrUnInstall(const char *moduleName) in InitModuleMgrUnInstall() argument 40 ModuleMgrUninstall(defaultModuleMgr, moduleName); in InitModuleMgrUnInstall() 43 void AutorunModuleMgrUnInstall(const char *moduleName) in AutorunModuleMgrUnInstall() argument 45 ModuleMgrUninstall(autorunModuleMgr, moduleName); in AutorunModuleMgrUnInstall()
|
/base/startup/init/interfaces/innerkits/init_module_engine/include/ |
D | init_modulemgr.h | 27 int InitModuleMgrInstall(const char *moduleName); 29 void InitModuleMgrUnInstall(const char *moduleName); 31 void AutorunModuleMgrUnInstall(const char *moduleName);
|
/base/hiviewdfx/hiview/base/utility/ |
D | dynamic_module.cpp | 27 DynamicModule LoadModule(const std::string &moduleName) in LoadModule() argument 30 return LoadLibraryA(moduleName.c_str()); in LoadModule() 32 return dlopen(moduleName.c_str(), RTLD_GLOBAL); in LoadModule()
|
/base/startup/init/interfaces/innerkits/modulemgr/ |
D | modulemgr.c | 145 int ModuleMgrInstall(MODULE_MGR *moduleMgr, const char *moduleName, in ModuleMgrInstall() argument 149 BEGET_LOGV("ModuleMgrInstall moduleName %s", moduleName); in ModuleMgrInstall() 151 BEGET_CHECK(!(moduleMgr == NULL || moduleName == NULL), return -1); in ModuleMgrInstall() 153 module = (MODULE_ITEM *)OH_ListFind(&(moduleMgr->modules), (void *)moduleName, ModuleCompare); in ModuleMgrInstall() 154 BEGET_ERROR_CHECK(module == NULL, return 0, "%s module already exists", moduleName); in ModuleMgrInstall() 163 module->name = strdup(moduleName); in ModuleMgrInstall() 204 char *moduleName = malloc(PATH_MAX); in ScanModules() local 205 while (moduleName != NULL) { in ScanModules() 221 int len = sprintf_s(moduleName, PATH_MAX - 1, "%s/%s", path, file->d_name); in ScanModules() 223 moduleName[len] = '\0'; in ScanModules() [all …]
|
/base/startup/appspawn/adapter/ |
D | appspawn_ace.cpp | 54 nlohmann::json moduleName = modulesJson[i]; in GetPreloadModules() local 55 APPSPAWN_LOGV("moduleName %{public}s", moduleName.get<std::string>().c_str()); in GetPreloadModules() 56 if (!modules.count(moduleName.get<std::string>())) { in GetPreloadModules() 57 modules.insert(moduleName.get<std::string>()); in GetPreloadModules() 92 for (std::string moduleName : modules) { in PreloadModule() local 93 APPSPAWN_LOGI("moduleName %{public}s", moduleName.c_str()); in PreloadModule() 95 runtime->PreloadSystemModule(moduleName); in PreloadModule()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | resource_manager.cpp | 54 …const std::string &moduleName, const std::string &hapPath, const std::vector<std::string> &overlay… in CreateResourceManagerDef() argument 62 if (!moduleName.empty()) { in CreateResourceManagerDef() 63 resMgrKey.append("/").append(moduleName); in CreateResourceManagerDef() 107 …esourceManager> CreateResourceManager(const std::string &bundleName, const std::string &moduleName, in CreateResourceManager() argument 111 return CreateResourceManagerDef(bundleName, moduleName, hapPath, overlayPath, resConfig); in CreateResourceManager()
|
/base/customization/enterprise_device_management/framework/extension/src/ |
D | js_enterprise_admin_extension.cpp | 58 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 59 moduleName.append("::").append(abilityInfo_->name); in Init() 61 moduleName.c_str(), srcPath.c_str()); in Init() 64 jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, abilityInfo_->hapPath, in Init() 241 srcPath.append(Extension::abilityInfo_->moduleName + "/"); in GetSrcPath()
|
/base/notification/common_event_service/frameworks/extension/src/ |
D | js_static_subscriber_extension.cpp | 97 std::string srcPath(Extension::abilityInfo_->moduleName + "/"); in Init() 102 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 103 moduleName.append("::").append(abilityInfo_->name); in Init() 104 EVENT_LOGD("moduleName: %{public}s, srcPath: %{public}s.", moduleName.c_str(), srcPath.c_str()); in Init() 108 jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, abilityInfo_->hapPath, in Init()
|
D | js_static_subscriber_extension_context.cpp | 120 const char* moduleName = "JsStaticSubscriberExtensionContext"; in CreateJsStaticSubscriberExtensionContext() local 121 AbilityRuntime::BindNativeFunction(engine, *object, "startAbility", moduleName, in CreateJsStaticSubscriberExtensionContext()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | init_module.cpp | 57 const char *moduleName = "NapiPush"; in NapiPushInit() local 58 …OHOS::AbilityRuntime::BindNativeFunction(*engine, *object, "on", moduleName, NapiPush::RegisterPus… in NapiPushInit() 59 …OHOS::AbilityRuntime::BindNativeFunction(*engine, *object, "off", moduleName, NapiPush::Unregister… in NapiPushInit()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_config.cpp | 70 void LoadAnalyticsModule(const std::string& moduleName) in LoadAnalyticsModule() argument 77 if (FileUtil::IsFileExists(searchDir + moduleName)) { in LoadAnalyticsModule() 78 modulePath = searchDir + moduleName; in LoadAnalyticsModule() 83 HiLog::Info(LABEL, "the module=%{public}s does not exist.", moduleName.c_str()); in LoadAnalyticsModule()
|
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
D | js_wallpaper_extension_ability.cpp | 80 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 81 moduleName.append("::").append(abilityInfo_->name); in Init() 82 …HILOG_INFO("JsWallpaperExtension::Init module:%{public}s,srcPath:%{public}s.", moduleName.c_str(),… in Init() 85 jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, abilityInfo_->hapPath, in Init() 227 srcPath.append(Extension::abilityInfo_->moduleName + "/"); in GetSrcPath()
|
D | js_wallpaper_extension_context.cpp | 442 object->SetProperty("moduleName", CreateJsValue(engine, info.moduleName)); in CreateJsExtensionAbilityInfo() 478 const char *moduleName = "JsWallpaperExtensionContext"; in CreateJsWallpaperExtensionContext() local 479 …BindNativeFunction(engine, *object, "startAbility", moduleName, JsWallpaperExtensionContext::Start… in CreateJsWallpaperExtensionContext() 480 …BindNativeFunction(engine, *object, "terminateSelf", moduleName, JsWallpaperExtensionContext::Term… in CreateJsWallpaperExtensionContext() 481 …BindNativeFunction(engine, *object, "connectAbility", moduleName, JsWallpaperExtensionContext::Con… in CreateJsWallpaperExtensionContext() 482 BindNativeFunction(engine, *object, "disconnectAbility", moduleName, in CreateJsWallpaperExtensionContext() 484 BindNativeFunction(engine, *object, "startAbilityWithAccount", moduleName, in CreateJsWallpaperExtensionContext() 486 BindNativeFunction(engine, *object, "connectAbilityWithAccount", moduleName, in CreateJsWallpaperExtensionContext()
|
/base/inputmethod/imf/frameworks/kits/extension/src/ |
D | js_inputmethod_extension.cpp | 98 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 99 moduleName.append("::").append(abilityInfo_->name); in Init() 101 …"JsInputMethodExtension::Init module:%{public}s,srcPath:%{public}s.", moduleName.c_str(), srcPath.… in Init() 106 … moduleName, srcPath, abilityInfo_->hapPath, abilityInfo_->compileMode == CompileMode::ES_MODULE); in Init() 323 srcPath.append(Extension::abilityInfo_->moduleName + "/"); in GetSrcPath()
|
D | js_inputmethod_extension_context.cpp | 432 object->SetProperty("moduleName", CreateJsValue(engine, info.moduleName)); in CreateJsExtensionAbilityInfo() 472 const char *moduleName = "JsInputMethodExtensionContext"; in CreateJsInputMethodExtensionContext() local 473 …BindNativeFunction(engine, *object, "startAbility", moduleName, JsInputMethodExtensionContext::Sta… in CreateJsInputMethodExtensionContext() 474 …BindNativeFunction(engine, *object, "terminateSelf", moduleName, JsInputMethodExtensionContext::Te… in CreateJsInputMethodExtensionContext() 475 …BindNativeFunction(engine, *object, "destroy", moduleName, JsInputMethodExtensionContext::Terminat… in CreateJsInputMethodExtensionContext() 476 …BindNativeFunction(engine, *object, "connectAbility", moduleName, JsInputMethodExtensionContext::C… in CreateJsInputMethodExtensionContext() 478 …engine, *object, "disconnectAbility", moduleName, JsInputMethodExtensionContext::DisconnectAbility… in CreateJsInputMethodExtensionContext() 479 BindNativeFunction(engine, *object, "startAbilityWithAccount", moduleName, in CreateJsInputMethodExtensionContext() 481 BindNativeFunction(engine, *object, "connectAbilityWithAccount", moduleName, in CreateJsInputMethodExtensionContext()
|
/base/theme/wallpaper_mgr/utils/dfx/hisysevent_adapter/ |
D | dfx_types.h | 42 std::string moduleName; member
|
D | fault_reporter.cpp | 31 …static_cast<int>(msg.faultType), MODULE_NAME, msg.moduleName, ERROR_TYPE, static_cast<int>(msg.err… in ReportServiceFault()
|
/base/startup/init/interfaces/innerkits/include/ |
D | modulemgr.h | 86 int ModuleMgrInstall(MODULE_MGR *moduleMgr, const char *moduleName,
|
/base/print/print_fwk/frameworks/kits/extension/src/ |
D | js_print_extension_context.cpp | 441 object->SetProperty("moduleName", CreateJsValue(engine, info.moduleName)); in CreateJsExtensionAbilityInfo() 477 const char *moduleName = "JsPrintExtensionContext"; in CreateJsPrintExtensionContext() local 478 …BindNativeFunction(engine, *object, "startAbility", moduleName, JsPrintExtensionContext::StartAbil… in CreateJsPrintExtensionContext() 479 …BindNativeFunction(engine, *object, "terminateSelf", moduleName, JsPrintExtensionContext::Terminat… in CreateJsPrintExtensionContext() 480 …BindNativeFunction(engine, *object, "connectAbility", moduleName, JsPrintExtensionContext::Connect… in CreateJsPrintExtensionContext() 481 …BindNativeFunction(engine, *object, "disconnectAbility", moduleName, JsPrintExtensionContext::Disc… in CreateJsPrintExtensionContext() 483 …engine, *object, "startAbilityWithAccount", moduleName, JsPrintExtensionContext::StartAbilityWithA… in CreateJsPrintExtensionContext() 485 …engine, *object, "connectAbilityWithAccount", moduleName, JsPrintExtensionContext::ConnectAbilityW… in CreateJsPrintExtensionContext()
|
D | js_print_extension.cpp | 88 std::string moduleName(abilityInfo_->moduleName); in InitExtensionObj() local 89 moduleName.append("::").append(abilityInfo_->name); in InitExtensionObj() 90 PRINT_HILOGD("Init module:%{public}s,srcPath:%{public}s.", moduleName.c_str(), srcPath.c_str()); in InitExtensionObj() 93 jsObj_ = jsRuntime.LoadModule(moduleName, srcPath, abilityInfo_->hapPath, in InitExtensionObj() 302 srcPath.append(Extension::abilityInfo_->moduleName + "/"); in GetSrcPath()
|
/base/inputmethod/imf/services/src/ |
D | ime_info_inquirer.cpp | 136 …GetStringById(extInfos[0].bundleName, extInfos[0].moduleName, extInfos[0].applicationInfo.labelId,… in GetImeInfoFromBundleMgr() 231 …auto label = GetStringById(extension.bundleName, extension.moduleName, applicationInfo.labelId, us… in ListInputMethodInfo() 233 … GetStringById(extension.bundleName, extension.moduleName, applicationInfo.descriptionId, userId); in ListInputMethodInfo() 277 …GetStringById(extension.bundleName, extension.moduleName, extension.applicationInfo.labelId, userI… in ListInputMethod() 369 …subProperty.label = GetStringById(extInfo.bundleName, extInfo.moduleName, extInfo.labelId, userId); in ListInputMethodSubtype() 410 … subProp.label = GetStringById(extInfo.bundleName, extInfo.moduleName, subProp.labelId, userId); in ListInputMethodSubtype() 442 const std::string &bundleName, const std::string &moduleName, int32_t labelId, int32_t userId) in GetStringById() argument 445 …return bundleMgr == nullptr ? "" : bundleMgr->GetStringById(bundleName, moduleName, labelId, userI… in GetStringById() 492 …GetStringById(extInfos[0].bundleName, extInfos[0].moduleName, extInfos[0].applicationInfo.labelId,… in GetCurrentInputMethod()
|
/base/hiviewdfx/hiview/plugins/faultlogger/service/ |
D | faultlogger.h | 37 std::string moduleName; member
|
D | faultlogger.cpp | 95 request.moduleName = ""; in InitDumpRequest() 157 request.moduleName = item; in FillDumpRequest() 256 … request.requestDetail, request.requestList, request.fileName.c_str(), request.moduleName.c_str(), in Dump() 273 … auto fileList = mgr_->GetFaultLogFileList(request.moduleName, request.time, -1, 0, DUMP_MAX_NUM); in Dump()
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_extension/module_loader/ |
D | js_user_auth_extension.cpp | 104 std::string srcPath(Extension::abilityInfo_->moduleName + "/"); in Init() 109 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 110 moduleName.append("::").append(abilityInfo_->name); in Init() 115 … moduleName, srcPath, abilityInfo_->hapPath, abilityInfo_->compileMode == CompileMode::ES_MODULE); in Init()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_authorization_extension.cpp | 332 std::string moduleName(Extension::abilityInfo_->moduleName); in Init() local 333 moduleName.append("::").append(Extension::abilityInfo_->name); in Init() 337 jsObj_ = jsRuntime_.LoadModule(moduleName, srcPath, Extension::abilityInfo_->hapPath, in Init() 521 srcPath.append(Extension::abilityInfo_->moduleName + "/"); in GetSrcPath()
|