| /base/time/time_service/utils/native/include/ |
| D | time_hilog.h | 64 // In order to improve performance, do not check the module range. 65 // Besides, make sure module is less than TIME_MODULE_BUTT. 66 #define TIME_HILOGF(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, TIME_MODULE_LABEL[modul… argument 67 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 68 #define TIME_HILOGE(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, TIME_MODULE_LABEL[modul… argument 69 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 70 #define TIME_HILOGW(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_WARN, TIME_MODULE_LABEL[module… argument 71 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) 72 #define TIME_HILOGI(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_INFO, TIME_MODULE_LABEL[module… argument 73 TIME_MODULE_LABEL[module].tag, "%{public}s# " fmt, __FUNCTION__, ##__VA_ARGS__) [all …]
|
| /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/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/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: %" LOG_PUB "d", moduleType); in GetModule() 50 LOGE("Unsupported method in the module, moduleType: %" LOG_PUB "d", moduleType); in IsParamsForDasTokenManagerValid() 88 AuthModuleBase *module = GetModule(moduleType); in RegisterLocalIdentity() local 89 if (module == NULL) { in RegisterLocalIdentity() 90 LOGE("Failed to get module for das with moduleType."); in RegisterLocalIdentity() 94 DasAuthModule *dasModule = (DasAuthModule *)module; in RegisterLocalIdentity() [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/request/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/powermgr/thermal_manager/utils/native/include/ |
| D | thermal_log.h | 97 // In order to improve performance, do not check the module range, module should less than THERMALM… 98 #define THERMAL_HILOGF(module, ...) \ argument 99 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, … 100 #define THERMAL_HILOGE(module, ...) \ argument 101 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, … 102 #define THERMAL_HILOGW(module, ...) \ argument 103 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, #… 104 #define THERMAL_HILOGI(module, ...) \ argument 105 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, #… 106 #define THERMAL_HILOGD(module, ...) \ argument [all …]
|
| /base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/ |
| D | panic_error_info_handle.cpp | 57 /* module type */ 75 char module[MODULE_MAX_LEN]; member 82 const char *module; member 129 static const char *GetTopCategory(const char *module, const char *event) in GetTopCategory() argument 131 if ((!module || !event)) { in GetTopCategory() 132 …HIVIEW_LOGE("module: %{public}s, event: %{public}s\n", module ? module : "NULL", event ? event : "… in GetTopCategory() 138 if (!strcmp(g_errorInfoCategories[i].module, module) && in GetTopCategory() 143 if (!strcmp(module, MODULE_SYSTEM)) { in GetTopCategory() 149 static const char *GetCategory(const char *module, const char *event) in GetCategory() argument 151 if ((!module || !event)) { in GetCategory() [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/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/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/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/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() 69 static boolean CheckParameters(uint8 module, uint8 level) in CheckParameters() argument 72 (module >= HILOG_MODULE_MAX) || (g_logModuleInfo[module].name == NULL)) { in CheckParameters() 111 void HiLogPrintf(uint8 module, uint8 level, const char *nums, const char *fmt, ...) in HiLogPrintf() argument 121 if (g_hiviewConfig.logSwitch == HIVIEW_FEATURE_OFF || !CheckParameters(module, level) || in HiLogPrintf() 122 !LOG_IS_OUTPUT(module)) { in HiLogPrintf() 128 pCommon->module = module; in HiLogPrintf() 148 void HILOG_HashPrintf(uint8 module, uint8 level, const char *nums, uint32 hash, ...) in HILOG_HashPrintf() argument 156 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/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/telephony/core_service/frameworks/js/napi/ |
| D | js_error_code.h | 116 * Sim module base error code. 136 * Network search module base error code. 141 * Call manager module base error code. 151 * Cellular call module cs base error code. 156 * Cellular call module ims base error code. 161 * Cellular data module base error code. 166 * Sms mms module base error code. 171 * State registry module base error code. 176 * VCard module base error code.
|
| /base/location/services/location_ui/ |
| D | BUILD.gn | 20 hap_profile = "entry/src/main/module.json" 22 hap_profile = "entry/src/main/pc/module.json" 46 hap_profile = "entry/src/main/module.json" 48 hap_profile = "entry/src/main/pc/module.json" 63 hap_profile = "entry/src/main/module.json" 65 hap_profile = "entry/src/main/pc/module.json"
|
| /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/framework/native/unified_collection/trace_manager/storage/ |
| D | telemetry_storage.cpp | 23 constexpr char COLUMN_MODULE_NAME[] = "module"; 31 bool TeleMetryStorage::QueryTable(const std::string &module, int64_t &usedSize, int64_t "aSize) in QueryTable() argument 34 predicates.EqualTo(COLUMN_MODULE_NAME, module); in QueryTable() 50 bool TeleMetryStorage::UpdateTable(const std::string &module, int64_t newSize) in UpdateTable() argument 55 predicates.EqualTo(COLUMN_MODULE_NAME, module); in UpdateTable() 58 HIVIEW_LOGW("module:%{public}s failed to update table", module.c_str()); in UpdateTable() 134 TelemetryRet TeleMetryStorage::NeedTelemetryDump(const std::string &module) in NeedTelemetryDump() argument 141 if (!GetFlowRecord(module, flowRecord)) { in NeedTelemetryDump() 147 module.c_str(), flowRecord.usedSize, flowRecord.totalUsedSize); in NeedTelemetryDump() 202 void TeleMetryStorage::TelemetryStore(const std::string &module, int64_t traceSize) in TelemetryStore() argument [all …]
|
| /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/security/asset/ |
| D | README.md | 40 ├── core_service # Core service module 41 ├── crypto_manager # Data encryption/decryption module 42 ├── db_key_operator # Database key management module 43 ├── db_operator # Data management module 44 └── os_dependency # System capability adaptation module 52 # Build the source code of the module. 55 # Build the test code of the module.
|
| /base/hiviewdfx/hiview/plugins/faultlogger/service/fault_event/base/ |
| D | faultlog_processor_base.cpp | 113 info.pid, info.module.c_str(), info.reason.c_str()); in VerifyModule() 114 info.sectionMap["PROCESS_NAME"] = info.module; // save process name in VerifyModule() 116 if (!IsSystemProcess(info.module, info.id) && info.sectionMap["SCBPROCESS"] != "Yes") { in VerifyModule() 118 if (!appName.empty() && !ExtractSubMoudleName(info.module)) { in VerifyModule() 119 info.module = appName; // if bundle name is not empty, replace module name by it. in VerifyModule() 123 HIVIEW_LOGD("nameProc %{public}s", info.module.c_str()); in VerifyModule() 124 if ((info.module.empty()) || in VerifyModule() 125 (info.faultLogType != FaultLogType::ADDR_SANITIZER && !IsModuleNameValid(info.module))) { in VerifyModule() 126 HIVIEW_LOGW("Invalid module name %{public}s", info.module.c_str()); in VerifyModule() 137 // step1: add common info: uid module name, pid, reason, summary etc in ProcessFaultLog() [all …]
|