| /base/startup/init/interfaces/innerkits/modulemgr/ |
| D | modulemgr.c | 74 * Module Item related api 87 MODULE_ITEM *module; in ModuleDestroy() local 91 module = (MODULE_ITEM *)node; in ModuleDestroy() 92 BEGET_CHECK(module->name == NULL, free((void *)module->name)); in ModuleDestroy() 93 BEGET_CHECK(module->handle == NULL, dlclose(module->handle)); in ModuleDestroy() 94 free((void *)module); in ModuleDestroy() 99 static void *ModuleInstall(MODULE_ITEM *module, int argc, const char *argv[]) in ModuleInstall() argument 104 module->moduleMgr->installArgs.argc = argc; in ModuleInstall() 105 module->moduleMgr->installArgs.argv = argv; in ModuleInstall() 107 BEGET_LOGV("Module install name %s", module->name); in ModuleInstall() [all …]
|
| /base/security/device_auth/services/frameworks/src/module/ |
| D | dev_auth_module_manager.c | 44 LOGE("Unsupported module type: %d.", moduleType); in CheckMsgRepeatability() 53 void **module = NULL; in GetModule() local 54 FOR_EACH_HC_VECTOR(g_authModuleVec, index, module) { in GetModule() 55 if ((module != NULL) && (*module != NULL)) { in GetModule() 56 if (moduleType == ((AuthModuleBase *)(*module))->moduleType) { in GetModule() 57 return *module; in GetModule() 61 LOGE("There is no matched module, moduleType: %d.", moduleType); in GetModule() 69 LOGE("Unsupported method in the module, moduleType: %d.", moduleType); in IsParamsForDasTokenManagerValid() 95 AuthModuleBase *module = GetModule(moduleType); in RegisterLocalIdentity() local 96 if (module == NULL) { in RegisterLocalIdentity() [all …]
|
| /base/startup/init/interfaces/innerkits/include/ |
| D | modulemgr.h | 26 * @brief Module constructor function 40 * @brief Module destructor function 57 * @brief Create dynamic module manager 59 * This dynamic module manager will manager modules 61 * @param name module manager name 62 * @return return module manager handle if succeed; return NULL if failed. 67 * @brief Destroy dynamic module manager 70 * @param moduleMgr module manager handle 76 * @brief Install a module 78 * The final module path is: /system/lib/{moduleMgrPath}/{moduleName}.z.so [all …]
|
| /base/time/time_service/utils/native/include/ |
| D | time_hilog_wreapper.h | 61 // In order to improve performance, do not check the module range. 62 // Besides, make sure module is less than TIME_MODULE_BUTT. 63 #define TIME_HILOGF(module, ...) \ argument 64 (void)OHOS::HiviewDFX::HiLog::Fatal(TIME_MODULE_LABEL[module], R_FORMATED(__VA_ARGS__)) 65 #define TIME_HILOGE(module, ...) \ argument 66 (void)OHOS::HiviewDFX::HiLog::Error(TIME_MODULE_LABEL[module], R_FORMATED(__VA_ARGS__)) 67 #define TIME_HILOGW(module, ...) (void)OHOS::HiviewDFX::HiLog::Warn(TIME_MODULE_LABEL[module], R_FO… argument 68 #define TIME_HILOGI(module, ...) (void)OHOS::HiviewDFX::HiLog::Info(TIME_MODULE_LABEL[module], R_FO… argument 69 #define TIME_HILOGD(module, ...) \ argument 70 (void)OHOS::HiviewDFX::HiLog::Debug(TIME_MODULE_LABEL[module], R_FORMATED(__VA_ARGS__)) [all …]
|
| /base/request/request/upload/frameworks/libs/include/ |
| D | upload_hilog_wrapper.h | 32 // 0xD001C00: subsystem:miscservices module:upload_native, 8 bits reserved. 55 // In order to improve performance, do not check the module range. 56 // Besides, make sure module is less than UPLOAD_MODULE_BUTT. 57 #define UPLOAD_HILOGF(module, ...) \ argument 58 (void)OHOS::HiviewDFX::HiLog::Fatal(UPLOAD_MODULE_LABEL[module], FORMATED(__VA_ARGS__)) 59 #define UPLOAD_HILOGE(module, ...) \ argument 60 (void)OHOS::HiviewDFX::HiLog::Error(UPLOAD_MODULE_LABEL[module], FORMATED(__VA_ARGS__)) 61 #define UPLOAD_HILOGW(module, ...) \ argument 62 (void)OHOS::HiviewDFX::HiLog::Warn(UPLOAD_MODULE_LABEL[module], FORMATED(__VA_ARGS__)) 63 #define UPLOAD_HILOGI(module, ...) \ argument [all …]
|
| /base/hiviewdfx/hidumper/utils/native/include/ |
| D | hilog_wrapper.h | 45 // 0xD002900: subsystem:DumperMgr module:DumperManager, 8 bits reserved. 59 // In order to improve performance, do not check the module range. 60 // Besides, make sure module is less than DUMPER_MAX_DOMAIN. 61 #define DUMPER_HILOGF(module, fmt, ...) \ argument 62 …(void)OHOS::HiviewDFX::HiLog::Fatal(DUMPER_LABEL[module], "%{public}s# " fmt, __FUNCTION__, ##__VA… 63 #define DUMPER_HILOGE(module, fmt, ...) \ argument 64 …(void)OHOS::HiviewDFX::HiLog::Error(DUMPER_LABEL[module], "%{public}s# " fmt, __FUNCTION__, ##__VA… 65 #define DUMPER_HILOGW(module, fmt, ...) \ argument 66 …(void)OHOS::HiviewDFX::HiLog::Warn(DUMPER_LABEL[module], "%{public}s# " fmt, __FUNCTION__, ##__VA_… 67 #define DUMPER_HILOGI(module, fmt, ...) \ argument [all …]
|
| /base/msdp/device_status/utils/include/ |
| D | devicestatus_hilog_wrapper.h | 58 // 0xD002220: subsystem:Msdp module:Devicestatus, 8 bits reserved. 76 // In order to improve performance, do not check the module range. 77 // Besides, make sure module is less than BUTT. 78 #define DEV_HILOGF(module, ...) \ argument 79 (void)OHOS::HiviewDFX::HiLog::Fatal(DEVICESTATUS_LABEL[module], __FORMATED(__VA_ARGS__)) 80 #define DEV_HILOGE(module, ...) \ argument 81 (void)OHOS::HiviewDFX::HiLog::Error(DEVICESTATUS_LABEL[module], __FORMATED(__VA_ARGS__)) 82 #define DEV_HILOGW(module, ...) \ argument 83 (void)OHOS::HiviewDFX::HiLog::Warn(DEVICESTATUS_LABEL[module], __FORMATED(__VA_ARGS__)) 84 #define DEV_HILOGI(module, ...) \ argument [all …]
|
| /base/usb/usb_manager/utils/native/include/ |
| D | hilog_wrapper.h | 61 // 0xD002900: subsystem:Usb module:Usb, reserved 8 bit. 88 // In order to improve performance, do not check the module range, module should less than USBMGR_M… 89 #define USB_HILOGF(module, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(USB_MGR_LABEL[module], FORMATED… argument 90 #define USB_HILOGE(module, ...) (void)OHOS::HiviewDFX::HiLog::Error(USB_MGR_LABEL[module], FORMATED… argument 91 #define USB_HILOGW(module, ...) (void)OHOS::HiviewDFX::HiLog::Warn(USB_MGR_LABEL[module], FORMATED_… argument 92 #define USB_HILOGI(module, ...) (void)OHOS::HiviewDFX::HiLog::Info(USB_MGR_LABEL[module], FORMATED_… argument 93 #define USB_HILOGD(module, ...) (void)OHOS::HiviewDFX::HiLog::Debug(USB_MGR_LABEL[module], FORMATED… argument
|
| /base/hiviewdfx/hilog_lite/interfaces/native/kits/hilog_lite/ |
| D | hiview_log.h | 22 * You can use this module to log code execution and locate code exceptions if any. 23 * This module collects, filters out, buffers, forwards, formats, and performs flow control on logs. 32 * @brief Defines functions of the logging module. 83 * @brief Enumerates logging module types. 85 * The module type must be globally unique. A maximum of 64 module types can be defined. 144 uint8 module; member 160 * @brief Registers module information with the logging system. 162 …* When a new module is defined, you need to use this function to register the module information w… 163 * system. If not registered, the logs of this module will not be output. \n 165 …* @param id Identifies the module to be registered. The module ID, which must be globally unique, … [all …]
|
| /base/powermgr/thermal_manager/utils/native/include/ |
| D | thermal_log.h | 91 // In order to improve performance, do not check the module range, module should less than THERMALM… 92 #define THERMAL_HILOGF(module, ...) \ argument 93 (void)OHOS::HiviewDFX::HiLog::Fatal(THERMAL_LABEL[module], FORMAT(__VA_ARGS__)) 94 #define THERMAL_HILOGE(module, ...) \ argument 95 (void)OHOS::HiviewDFX::HiLog::Error(THERMAL_LABEL[module], FORMAT(__VA_ARGS__)) 96 #define THERMAL_HILOGW(module, ...) \ argument 97 (void)OHOS::HiviewDFX::HiLog::Warn(THERMAL_LABEL[module], FORMAT(__VA_ARGS__)) 98 #define THERMAL_HILOGI(module, ...) \ argument 99 (void)OHOS::HiviewDFX::HiLog::Info(THERMAL_LABEL[module], FORMAT(__VA_ARGS__)) 100 #define THERMAL_HILOGD(module, ...) \ argument [all …]
|
| /base/hiviewdfx/blackbox/ |
| D | blackbox_core.c | 73 const char module[MODULE_MAX_LEN], in FormatErrorInfo() 76 if (info == NULL || event == NULL || module == NULL || errorDesc == NULL) { in FormatErrorInfo() 77 BBOX_PRINT_ERR("info: %p, event: %p, module: %p, errorDesc: %p\n", in FormatErrorInfo() 78 info, event, module, errorDesc); in FormatErrorInfo() 87 if (strncpy_s(info->module, sizeof(info->module), module, in FormatErrorInfo() 88 Min(strlen(module), sizeof(info->module) - 1)) != EOK) { in FormatErrorInfo() 89 BBOX_PRINT_ERR("strncpy_s failed or the info->module is not enough!\n"); in FormatErrorInfo() 129 info->event, info->module, info->errorDesc) != -1) { in SaveBasicErrorInfo() 137 info->module, info->event); in SaveBasicErrorInfo() 140 info->module, info->event); in SaveBasicErrorInfo() [all …]
|
| /base/hiviewdfx/hiview/ |
| D | kernel_vendor.yaml | 39 MODULE: {type: STRING, desc: module name} 53 MODULE: {type: STRING, desc: module name} 67 MODULE: {type: STRING, desc: module name} 81 MODULE: {type: STRING, desc: module name} 95 MODULE: {type: STRING, desc: module name} 109 MODULE: {type: STRING, desc: module name} 123 MODULE: {type: STRING, desc: module name} 137 MODULE: {type: STRING, desc: module name} 151 MODULE: {type: STRING, desc: module name} 165 MODULE: {type: STRING, desc: module name} [all …]
|
| D | hisysevent.yaml | 20 MODULE: {type: STRING, desc: module name} 46 MODULE: {type: STRING, desc: module name} 90 MODULE: {type: STRING, desc: module name} 91 VERSION: {type: STRING, desc: module version} 116 MODULE: {type: STRING, desc: module name} 117 VERSION: {type: STRING, desc: module version} 129 MODULE: {type: STRING, desc: module name} 130 VERSION: {type: STRING, desc: module version} 142 MODULE: {type: STRING, desc: module name} 143 VERSION: {type: STRING, desc: module version} [all …]
|
| /base/global/resource_management_lite/ |
| D | README.md | 11 The resource management module, namely, resmgr, provides the function of loading multi-language GUI… 15 The directory structure for the resource management module is as follows: 19 ├── resource_management_lite # Code repository for the resource management module 20 │ ├── frameworks # Core code of the resource management module 22 │ │ │ ├── include # Header files of the resource management module 23 │ │ │ ├── src # Implementation code of the resource management module 25 │ ├── interfaces # APIs of the resource management module 26 │ │ └── inner_api # APIs of the resource management module for internal s…
|
| /base/startup/appspawn_lite/ |
| D | README.md | 10 The appspawn\_lite module spawns application processes upon receiving commands from the application… 15 base/startup/appspawn_lite/ # appspawn_lite module 18 ├── include # Header files for the appspawn_lite module 19 ├── src # Source files for the appspawn_lite module 20 └── test # Source files of the test cases for the appspawn_lite module 26 Currently, the appspawn\_lite module applies only to small-system devices \(reference memory ≥ 1 MB…
|
| /base/telephony/core_service/frameworks/js/napi/ |
| D | js_error_code.h | 78 * Sim module base error code. 98 * Network search module base error code. 103 * Call manager module base error code. 113 * Cellular call module cs base error code. 118 * Cellular call module ims base error code. 123 * Cellular data module base error code. 128 * Sms mms module base error code. 133 * State registry module base error code.
|
| /base/hiviewdfx/hiview/plugins/faultlogger/service/ |
| D | faultlog_manager.cpp | 44 …ilter CreateLogFileFilter(time_t time, int32_t id, int32_t faultLogType, const std::string& module) in CreateLogFileFilter() argument 46 LogStoreEx::LogFileFilter filter = [time, id, faultLogType, module](const LogFile &file) { in CreateLogFileFilter() 60 if ((!module.empty()) && (info.module != module)) { in CreateLogFileFilter() 77 const std::string &module) const in CreateTempFaultLogFile() 83 info.module = module; in CreateTempFaultLogFile() 120 … store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile() 127 std::list<FaultLogInfo> FaultLogManager::GetFaultInfoList(const std::string& module, in GetFaultInfoList() argument 132 ret = faultLogDb_->GetFaultInfoList(module, id, faultType, maxNum); in GetFaultInfoList() 157 std::list<std::string> FaultLogManager::GetFaultLogFileList(const std::string &module, time_t time,… in GetFaultLogFileList() argument 160 LogStoreEx::LogFileFilter filter = CreateLogFileFilter(time, id, faultType, module); in GetFaultLogFileList()
|
| /base/telephony/cellular_call/ |
| D | README.md | 6 …module provides basic call services on carrier networks, including 2G/3G circuit switched \(CS\) c… 8 The following figure shows the architecture of the cellular call module. 10 **Figure 1** Architecture of the cellular call module<a name="fig970511919486"></a> 13  15 The cellular call module consists of three layers: 24 /base/telephony/cellular_call # Cellular call module 44 - Software constraints: This module must work with the telephony core service \(core\_service\) a…
|
| /base/hiviewdfx/hilog_lite/frameworks/mini/ |
| D | hiview_log.c | 33 static boolean CheckParameters(uint8 module, uint8 level); 41 /* The module that is not registered cannot print the log. */ in HiLogInit() 67 static boolean CheckParameters(uint8 module, uint8 level) in CheckParameters() argument 70 (module >= HILOG_MODULE_MAX) || (g_logModuleInfo[module].name == NULL)) { in CheckParameters() 109 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...) in HiLogPrintf() argument 119 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HiLogPrintf() 120 !LOG_IS_OUTPUT(module)) { in HiLogPrintf() 126 pCommon->module = module; in HiLogPrintf() 146 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...) in HILOG_HashPrintf() argument 154 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HILOG_HashPrintf() [all …]
|
| D | hiview_log_limit.c | 59 boolean LogIsLimited(uint8 module) in LogIsLimited() argument 70 if (module >= HILOG_MODULE_MAX) { in LogIsLimited() 77 pLimitRule = g_hilogLimitList + module; in LogIsLimited() 89 …HILOG_WARN(module, "log limit, log lines:%u, drop lines:%u, total log lines:%u, total drop lines:%… in LogIsLimited() 102 void SetLimitThreshold(uint8 module, uint8 v) in SetLimitThreshold() argument 108 HiLogLimitRule *pRule = g_hilogLimitList + module; in SetLimitThreshold() 116 const HiLogLimitRule *GetLogLimitRule(uint8 module) in GetLogLimitRule() argument 118 if (module >= HILOG_MODULE_MAX || g_hilogLimitList == NULL) { in GetLogLimitRule() 121 return g_hilogLimitList + module; in GetLogLimitRule()
|
| /base/hiviewdfx/hiview/plugins/faultlogger/test/common/ |
| D | faultlogger_client_test.cpp | 27 …GetFaultLogName(const time_t& time, int32_t id, const std::string& type, const std::string& module) in GetFaultLogName() argument 39 …auto fileName = type + "-" + module + "-" + std::to_string(id) + "-" + std::string(buf, strlen(buf… in GetFaultLogName() 43 …foInner CreateFaultLogInfo(const time_t& time, int32_t id, int32_t type, const std::string& module) in CreateFaultLogInfo() argument 50 info.module = module; in CreateFaultLogInfo() 61 …eckLogFileExist(const time_t& time, int32_t id, const std::string& type, const std::string& module) in CheckLogFileExist() argument 63 auto fileName = GetFaultLogName(time, id, type, module); in CheckLogFileExist()
|
| /base/startup/bootstrap_lite/ |
| D | README.md | 11 The bootstrap\_lite module provides entry identifiers for starting services and features. When Samg… 16 base/startup/bootstrap_lite/ # bootstrap_lite module 18 └── source # Source files for the bootstrap_lite module 23 Currently, the bootstrap\_lite module applies only to mini-system devices \(reference memory ≥ 128 … 27 When Samgr starts, the bootstrap\_lite module is automatically invoked to start system services, wi…
|
| /base/startup/syspara_lite/ |
| D | README.md | 11 The syspara\_lite module provides APIs for obtaining device information, such as the product name, … 16 base/startup/syspara_lite/ # syspara_lite module 17 ├── frameworks # Source files for the syspara_lite module 18 …hals # Header files for the hardware abstraction layer of the syspara_lite module 19 └── interfaces # External APIs for the syspara_lite module 24 - The syspara\_lite module is developed using the C language.
|
| /base/telephony/ril_adapter/ |
| D | README.md | 11 …dapter module provides functions such as vendor library loading, service interface implementation,… 13 **Figure 1** Architecture of the RIL Adapter module<a name="fig1675210296494"></a> 14  27 │ ├── hril # Implementation of each business module interface of the h…
|
| /base/security/dataclassification/ |
| D | README.md | 6 …agement module provides cross-device data transfer management and control policies for distributed… 8 The figure below illustrates the deployment logic of the data transfer management module. 14 - Data transfer management module: provides management and control policies for cross-device data… 16 - Device security level management module: provides device security level information for data tr… 26 …on based on the data risk level returned by the data transfer management module. Before data trans… 42 **Table 2** APIs of the data transfer management module
|