Home
last modified time | relevance | path

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

12345678910>>...12

/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
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()
108 if (module->name[0] == '/') { in ModuleInstall()
[all …]
/base/time/time_service/utils/native/include/
Dtime_hilog_wreapper.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/security/device_auth/services/frameworks/src/module/
Ddev_auth_module_manager.c53 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()
95 AuthModuleBase *module = GetModule(moduleType); in RegisterLocalIdentity() local
96 if (module == NULL) { in RegisterLocalIdentity()
100 DasAuthModule *dasModule = (DasAuthModule *)module; in RegisterLocalIdentity()
116 AuthModuleBase *module = GetModule(moduleType); in UnregisterLocalIdentity() local
117 if (module == NULL) { in UnregisterLocalIdentity()
[all …]
/base/request/request/upload/frameworks/libs/include/
Dupload_hilog_wrapper.h57 #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
64 (void)OHOS::HiviewDFX::HiLog::Info(UPLOAD_MODULE_LABEL[module], FORMATED(__VA_ARGS__))
65 #define UPLOAD_HILOGD(module, ...) \ argument
66 (void)OHOS::HiviewDFX::HiLog::Debug(UPLOAD_MODULE_LABEL[module], FORMATED(__VA_ARGS__))
/base/hiviewdfx/blackbox/
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/hiviewdfx/hidumper/utils/native/include/
Dhilog_wrapper.h61 #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
68 …(void)OHOS::HiviewDFX::HiLog::Info(DUMPER_LABEL[module], "%{public}s# " fmt, __FUNCTION__, ##__VA_…
69 #define DUMPER_HILOGD(module, fmt, ...) \ argument
70 …(void)OHOS::HiviewDFX::HiLog::Debug(DUMPER_LABEL[module], "%{public}s# " fmt, __FUNCTION__, ##__VA…
/base/msdp/device_status/utils/include/
Ddevicestatus_hilog_wrapper.h78 #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
85 (void)OHOS::HiviewDFX::HiLog::Info(DEVICESTATUS_LABEL[module], __FORMATED(__VA_ARGS__))
86 #define DEV_HILOGD(module, ...) \ argument
87 (void)OHOS::HiviewDFX::HiLog::Debug(DEVICESTATUS_LABEL[module], __FORMATED(__VA_ARGS__))
/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/powermgr/thermal_manager/utils/native/include/
Dthermal_log.h92 #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
101 (void)OHOS::HiviewDFX::HiLog::Debug(THERMAL_LABEL[module], FORMAT(__VA_ARGS__))
/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()
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/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");
269 std::string module = "com.example.myapplication"; variable
[all …]
/base/hiviewdfx/hiview/adapter/utility/
Ddynamic_module.cpp36 void UnloadModule(DynamicModule module) in UnloadModule() argument
39 FreeLibrary(module); in UnloadModule()
41 dlclose(module); in UnloadModule()
/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/startup/appspawn_lite/
DREADME.md10 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/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/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/hiviewdfx/blackbox/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/hiviewdfx/blackbox/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/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/hiview/plugins/faultlogger/interfaces/cpp/innerkits/impl/
Dfaultlogger_client.cpp96 infoOhos.module = GetPrintableStr(info.module); in AddFaultLog()
105 void AddFaultLog(int64_t time, int32_t logType, const std::string &module, const std::string &summa… in AddFaultLog() argument
118 infoOhos.module = module; in AddFaultLog()
147 "MODULE", GetPrintableStr(info.module), in ReportCppCrashEvent()

12345678910>>...12