Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/base/startup/init/interfaces/innerkits/modulemgr/
Dmodulemgr.c87 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()
109 if (module->name[0] == '/') { in ModuleInstall()
[all …]
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_log.h95 #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
104 …((void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, THERMAL_LABEL[module].domainId, THERMAL_LABEL[module].tag, …
/base/time/time_service/utils/native/include/
Dtime_hilog.h63 #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__))
72 #define CHECK_AND_RETURN_RET_LOG(module, cond, ret, ...) \ argument
75 TIME_HILOGE(module, R_FORMATED(__VA_ARGS__)); \
[all …]
/base/hiviewdfx/blackbox_lite/
Dblackbox_core.c73 const char module[MODULE_MAX_LEN], in FormatErrorInfo()
76 if (info == NULL || event == NULL || module == NULL || errorDesc == NULL) { 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()
129 info->event, info->module, info->errorDesc) != -1) { in SaveBasicErrorInfo()
137 info->module, info->event); in SaveBasicErrorInfo()
140 info->module, info->event); in SaveBasicErrorInfo()
171 ops->ops.module); in SaveErrorLog()
174 BBOX_PRINT_INFO("[%s] starts saving log!\n", ops->ops.module); in SaveErrorLog()
[all …]
/base/request/request/frameworks/js/napi/include/upload/
Dupload_hilog_wrapper.h57 #define UPLOAD_HILOGF(module, ...) \ argument
58 (void)OHOS::HiviewDFX::HiLog::Fatal(UPLOAD_MODULE_LABEL[module], FORMATTED(__VA_ARGS__))
59 #define UPLOAD_HILOGE(module, ...) \ argument
60 (void)OHOS::HiviewDFX::HiLog::Error(UPLOAD_MODULE_LABEL[module], FORMATTED(__VA_ARGS__))
61 #define UPLOAD_HILOGW(module, ...) \ argument
62 (void)OHOS::HiviewDFX::HiLog::Warn(UPLOAD_MODULE_LABEL[module], FORMATTED(__VA_ARGS__))
63 #define UPLOAD_HILOGI(module, ...) \ argument
64 (void)OHOS::HiviewDFX::HiLog::Info(UPLOAD_MODULE_LABEL[module], FORMATTED(__VA_ARGS__))
65 #define UPLOAD_HILOGD(module, ...) \ argument
66 (void)OHOS::HiviewDFX::HiLog::Debug(UPLOAD_MODULE_LABEL[module], FORMATTED(__VA_ARGS__))
/base/security/device_auth/services/frameworks/src/module/
Ddev_auth_module_manager.c35 AuthModuleBase **module; in GetModule() local
36 FOR_EACH_HC_VECTOR(g_authModuleVec, index, module) { in GetModule()
37 if (moduleType == ((*module)->moduleType)) { in GetModule()
38 return *module; in GetModule()
75 AuthModuleBase *module = GetModule(moduleType); in RegisterLocalIdentity() local
76 if (module == NULL) { in RegisterLocalIdentity()
80 DasAuthModule *dasModule = (DasAuthModule *)module; in RegisterLocalIdentity()
96 AuthModuleBase *module = GetModule(moduleType); in UnregisterLocalIdentity() local
97 if (module == NULL) { in UnregisterLocalIdentity()
101 DasAuthModule *dasModule = (DasAuthModule *)module; in UnregisterLocalIdentity()
[all …]
/base/usb/usb_manager/utils/native/include/
Dhilog_wrapper.h89 #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/frameworks/mini/
Dhiview_log_limit.c59 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()
Dhiview_log.c33 static boolean CheckParameters(uint8 module, uint8 level);
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()
155 !LOG_IS_OUTPUT(module)) { in HILOG_HashPrintf()
[all …]
Dhiview_log_limit.h37 boolean LogIsLimited(uint8 module);
38 void SetLimitThreshold(uint8 module, uint8 v);
39 const HiLogLimitRule *GetLogLimitRule(uint8 module);
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/
Dfaultlogger_client_test.cpp27 …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()
Dfaultlogger_client_test.h29 …ckLogFileExist(const time_t& time, int32_t id, const std::string& type, const std::string& module);
30 …oInner CreateFaultLogInfo(const time_t& time, int32_t id, int32_t type, const std::string& module);
31 …etFaultLogName(const time_t& time, int32_t id, const std::string& type, const std::string& module);
/base/hiviewdfx/hiview/plugins/faultlogger/service/
Dfaultlog_manager.cpp44 …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()
126 … store_->ClearSameLogFilesIfNeeded(CreateLogFileFilter(0, info.id, info.faultLogType, info.module), in SaveFaultLogToFile()
133 std::list<FaultLogInfo> FaultLogManager::GetFaultInfoList(const std::string& module, in GetFaultInfoList() argument
138 ret = faultLogDb_->GetFaultInfoList(module, id, faultType, maxNum); in GetFaultInfoList()
163 std::list<std::string> FaultLogManager::GetFaultLogFileList(const std::string &module, time_t time,… in GetFaultLogFileList() argument
166 LogStoreEx::LogFileFilter filter = CreateLogFileFilter(time, id, faultType, module); in GetFaultLogFileList()
/base/hiviewdfx/hidumper/utils/native/include/
Dhilog_wrapper.h44 #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/interfaces/cpp/innerkits/test/common/moduletest/
Dfaultlogger_native_interface_test.cpp76 auto module = "faultlogtest1"; variable
77 AddFaultLog(now, FaultLogType::CPP_CRASH, module, "faultloggertestsummary2");
79 ASSERT_TRUE(CheckLogFileExist(now, getuid(), "cppcrash", module));
97 auto module = "faultlogtest5"; variable
101 AddFaultLog(now + i, FaultLogType::CPP_CRASH, module, "faultloggertestsummary2");
107 ASSERT_TRUE(CheckLogFileExist(now + i, getuid(), "cppcrash", module));
111 ASSERT_FALSE(CheckLogFileExist(now + i, getuid(), "cppcrash", module));
127 auto module = "faultlogtest6"; variable
130 AddFaultLog(now + i, FaultLogType::CPP_CRASH, module, "faultloggertestsummary6");
278 std::string module = "com.example.myapplication"; variable
[all …]
/base/global/resource_management_lite/
DREADME.md11 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/base/utility/
Ddynamic_module.cpp36 void UnloadModule(DynamicModule module) in UnloadModule() argument
39 FreeLibrary(module); in UnloadModule()
41 dlclose(module); in UnloadModule()
/base/time/time_service/framework/js/napi/common/include/
Dnapi_utils.h42 #define CHECK_ARGS_RETURN_VOID(module, context, condition, message, code) \ argument
48 TIME_HILOGE(module, "test (" #condition ") failed: " message); \
53 #define CHECK_STATUS_RETURN_VOID(module, context, message, code) \ argument
58 TIME_HILOGE(module, "test (context->status == napi_ok) failed: " message); \
64 #define CHECK_RETURN(module, condition, message, retVal) \ argument
67 TIME_HILOGE(module, "test (" #condition ") failed: " message); \
72 #define CHECK_RETURN_VOID(module, condition, message) \ argument
75 TIME_HILOGE(module, "test (" #condition ") failed: " message); \
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
Dfaultlogger_client.cpp96 infoOhos.module = GetPrintableStr(info.module); in AddFaultLog()
106 void AddFaultLog(int64_t time, int32_t logType, const std::string &module, const std::string &summa… in AddFaultLog() argument
119 infoOhos.module = module; in AddFaultLog()
148 "MODULE", GetPrintableStr(info.module), in ReportCppCrashEvent()
/base/startup/bootstrap_lite/
DREADME.md11 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/telephony/cellular_call/
DREADME.md6module 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 ![](figures/en-us_architecture-of-the-cellular-call-module.png)
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/blackbox_lite/interfaces/native/innerkits/
Dblackbox.h52 char module[MODULE_MAX_LEN]; member
57 char module[MODULE_MAX_LEN]; member
66 const char module[MODULE_MAX_LEN],
/base/hiviewdfx/blackbox_lite/interfaces/native/kits/
Dblackbox.h52 char module[MODULE_MAX_LEN]; member
57 char module[MODULE_MAX_LEN]; member
66 const char module[MODULE_MAX_LEN],
/base/security/dataclassification/
DREADME.md6 …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
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
Ddfx_symbol.h50 const std::string module) in DfxSymbol()
56 module_(StringViewHold::Get().Hold(module)) {} in DfxSymbol()
57 DfxSymbol(uint64_t vaddr, uint64_t size, const std::string &name, const std::string &module) in DfxSymbol()
58 : DfxSymbol(vaddr, size, name, name, module) {} in DfxSymbol()
61 DfxSymbol(uint64_t vaddr, const std::string &name, const std::string &module) in DfxSymbol()
62 : DfxSymbol(vaddr, 0, name, name, module) {} in DfxSymbol()

12345678910>>...14