| /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 105 module->moduleMgr->installArgs.argc = argc; in ModuleInstall() 106 module->moduleMgr->installArgs.argv = argv; in ModuleInstall() 108 BEGET_LOGV("Module install name %s", module->name); in ModuleInstall() [all …]
|
| /base/time/time_service/utils/native/include/ |
| D | time_hilog.h | 60 // In order to improve performance, do not check the module range. 61 // Besides, make sure module is less than TIME_MODULE_BUTT. 62 #define TIME_HILOGF(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, TIME_MODULE_LABEL[modul… argument 63 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 64 #define TIME_HILOGE(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, TIME_MODULE_LABEL[modul… argument 65 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 66 #define TIME_HILOGW(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_WARN, TIME_MODULE_LABEL[module… argument 67 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 68 #define TIME_HILOGI(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_INFO, TIME_MODULE_LABEL[module… argument 69 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) [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/usb/usb_manager/utils/native/include/ |
| D | hilog_wrapper.h | 65 // 0xD002900: subsystem:Usb module:Usb, reserved 8 bit. 92 // In order to improve performance, do not check the module range, module should less than USBMGR_M… 93 #define USB_HILOGF(module, ...) \ argument 94 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, USB_MGR_LABEL[module].domainId, USB_MGR_LABEL[module].tag, … 95 #define USB_HILOGE(module, ...) \ argument 96 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, USB_MGR_LABEL[module].domainId, USB_MGR_LABEL[module].tag, … 97 #define USB_HILOGW(module, ...) \ argument 98 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, USB_MGR_LABEL[module].domainId, USB_MGR_LABEL[module].tag, #… 99 #define USB_HILOGI(module, ...) \ argument 100 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, USB_MGR_LABEL[module].domainId, USB_MGR_LABEL[module].tag, #… [all …]
|
| /base/request/request/frameworks/js/napi/include/upload/ |
| D | upload_hilog_wrapper.h | 32 // 0xD001C50: 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, fmt, ...) … argument 58 …id)HILOG_IMPL(LOG_CORE, LOG_FATAL, UPLOAD_MODULE_LABEL[module].domain, UPLOAD_MODULE_LABEL[module]… 60 #define UPLOAD_HILOGE(module, fmt, ...) … argument 61 …id)HILOG_IMPL(LOG_CORE, LOG_ERROR, UPLOAD_MODULE_LABEL[module].domain, UPLOAD_MODULE_LABEL[module]… 63 #define UPLOAD_HILOGW(module, fmt, ...) … argument 64 …oid)HILOG_IMPL(LOG_CORE, LOG_WARN, UPLOAD_MODULE_LABEL[module].domain, UPLOAD_MODULE_LABEL[module]… 66 #define UPLOAD_HILOGI(module, fmt, ...) … argument [all …]
|
| /base/security/device_auth/services/frameworks/src/module/ |
| D | dev_auth_module_manager.c | 36 AuthModuleBase **module; in GetModule() local 37 FOR_EACH_HC_VECTOR(g_authModuleVec, index, module) { in GetModule() 38 if (moduleType == ((*module)->moduleType)) { in GetModule() 39 return *module; in GetModule() 42 LOGE("There is no matched module, moduleType: %d", moduleType); in GetModule() 50 LOGE("Unsupported method in the module, moduleType: %d", moduleType); in IsParamsForDasTokenManagerValid() 76 AuthModuleBase *module = GetModule(moduleType); in RegisterLocalIdentity() local 77 if (module == NULL) { in RegisterLocalIdentity() 78 LOGE("Failed to get module for das."); in RegisterLocalIdentity() 81 DasAuthModule *dasModule = (DasAuthModule *)module; in RegisterLocalIdentity() [all …]
|
| /base/powermgr/thermal_manager/utils/native/include/ |
| D | thermal_log.h | 94 // In order to improve performance, do not check the module range, module should less than THERMALM… 95 #define THERMAL_HILOGF(module, ...) \ argument 96 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, … 97 #define THERMAL_HILOGE(module, ...) \ argument 98 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, … 99 #define THERMAL_HILOGW(module, ...) \ argument 100 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, #… 101 #define THERMAL_HILOGI(module, ...) \ argument 102 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, #… 103 #define THERMAL_HILOGD(module, ...) \ argument [all …]
|
| /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. 146 uint8 module; member 162 * @brief Registers module information with the logging system. 164 …* When a new module is defined, you need to use this function to register the module information w… 165 * system. If not registered, the logs of this module will not be output. \n 167 …* @param id Identifies the module to be registered. The module ID, which must be globally unique, … [all …]
|
| /base/hiviewdfx/blackbox_lite/ |
| 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/security/code_signature/services/key_enable/src/ |
| D | lib.rs | 18 /// module contains cert chain func 20 /// module contains cert path func 22 /// module contains cert utils func 24 /// module contains rust hisysevent 26 /// module contains file func 28 /// module contains profile func
|
| /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/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} 48 MODULE: {type: STRING, desc: module name} 92 MODULE: {type: STRING, desc: module name} 93 VERSION: {type: STRING, desc: module version} 119 MODULE: {type: STRING, desc: module name} 134 MODULE: {type: STRING, desc: module name} 135 VERSION: {type: STRING, desc: module version} 149 MODULE: {type: STRING, desc: module name} 150 VERSION: {type: STRING, desc: module version} 161 MODULE: {type: STRING, desc: module name} [all …]
|
| /base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest011/ |
| D | test_extract_rule.json | 15 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 25 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 35 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 45 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 55 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 66 … {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"@L@Module name:(.*)"},
|
| /base/telephony/core_service/frameworks/js/napi/ |
| D | js_error_code.h | 111 * Sim module base error code. 131 * Network search module base error code. 136 * Call manager module base error code. 146 * Cellular call module cs base error code. 151 * Cellular call module ims base error code. 156 * Cellular data module base error code. 161 * Sms mms module base error code. 166 * State registry module base error code. 171 * VCard module base error code.
|
| /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/hidumper/utils/native/include/ |
| D | hilog_wrapper.h | 38 // 0xD002D20: subsystem:DumperMgr module:DumperManager, 8 bits reserved. 44 #define DUMPER_HILOGF(module, fmt, ...) \ argument 46 #define DUMPER_HILOGE(module, fmt, ...) \ argument 48 #define DUMPER_HILOGW(module, fmt, ...) \ argument 50 #define DUMPER_HILOGI(module, fmt, ...) \ argument 52 #define DUMPER_HILOGD(module, fmt, ...) \ argument
|
| /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/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() 132 … store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile() 139 std::list<FaultLogInfo> FaultLogManager::GetFaultInfoList(const std::string& module, in GetFaultInfoList() argument 144 ret = faultLogDb_->GetFaultInfoList(module, id, faultType, maxNum); in GetFaultInfoList() 169 std::list<std::string> FaultLogManager::GetFaultLogFileList(const std::string &module, time_t time,… in GetFaultLogFileList() argument 172 LogStoreEx::LogFileFilter filter = CreateLogFileFilter(time, id, faultType, module); in GetFaultLogFileList()
|
| /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/inputmethod/imf/frameworks/js/napi/common/ |
| D | event_checker.cpp | 34 bool EventChecker::IsValidEventType(EventSubscribeModule module, const std::string &type) in IsValidEventType() argument 36 if (module < EventSubscribeModule::MODULE_BEGIN || module >= EventSubscribeModule::MODULE_END) { in IsValidEventType() 39 …return EVENT_TYPES[static_cast<uint32_t>(module)].find(type) != EVENT_TYPES[static_cast<uint32_t>(… in IsValidEventType()
|
| /base/hiviewdfx/hiview/utility/smart_parser/config/ |
| D | extract_rule.json | 15 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 24 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 35 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 51 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 52 …{"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)", "v_service_b… 99 {"namespace":"BasicParam", "matchKey":"Module name:", "v_pname":"Module name:(.*)"}, 118 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 127 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 138 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"}, 182 {"namespace":"BasicParam", "matchKey":"Module name:", "v_process":"Module name:(.*)"},
|
| /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
|