Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 59) sorted by relevance

123

/drivers/hdf_core/framework/model/audio/common/include/
Daudio_driver_log.h26 #define ADM_LOG_DEBUG(fmt, arg...) do { \ argument
29 #define ADM_LOG_DEBUG(fmt, arg...) do { \
30 HDF_LOGD("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \
33 #define ADM_LOG_DEBUG(fmt, arg...) do { \
37 #define ADM_LOG_ERR(fmt, arg...) do { \ argument
38 HDF_LOGE("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \
41 #define ADM_LOG_INFO(fmt, arg...) do { \ argument
42 HDF_LOGI("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \
45 #define ADM_LOG_WARNING(fmt, arg...) do { \ argument
46 HDF_LOGW("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \
[all …]
/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/
Dhdf_log_adapter.h46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) argument
52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) argument
54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##arg) argument
56 int hal_trace_printf(int attr, const char *fmt, ...) __attribute__((weak));
57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS…
59 #define HDF_LOGV_WRAPPER(fmt, arg...) PRINTF(6, "[HDF:V/" LOG_TAG "]" fmt "\n", ##arg)
61 #define HDF_LOGD_WRAPPER(fmt, arg...) PRINTF(5, "[HDF:D/" LOG_TAG "]" fmt "\n", ##arg)
63 #define HDF_LOGI_WRAPPER(fmt, arg...) PRINTF(4, "[HDF:I/" LOG_TAG "]" fmt "\n", ##arg)
[all …]
/drivers/hdf_core/adapter/khdf/uniproton/osal/include/
Dhdf_log_adapter.h46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) argument
52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) argument
54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##arg) argument
56 int hal_trace_printf(int attr, const char *fmt, ...) __attribute__((weak));
57 #define PRINTF(level, fmt, ...) do { if (hal_trace_printf) hal_trace_printf(level, fmt, ##__VA_ARGS…
59 #define HDF_LOGV_WRAPPER(fmt, arg...) PRINTF(6, "[HDF:V/" LOG_TAG "]" fmt "\n", ##arg)
61 #define HDF_LOGD_WRAPPER(fmt, arg...) PRINTF(5, "[HDF:D/" LOG_TAG "]" fmt "\n", ##arg)
63 #define HDF_LOGI_WRAPPER(fmt, arg...) PRINTF(4, "[HDF:I/" LOG_TAG "]" fmt "\n", ##arg)
[all …]
/drivers/hdf_core/adapter/khdf/liteos/osal/include/
Dhdf_log_adapter.h46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) argument
52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) argument
54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##arg) argument
61 #define HDF_LOGV_WRAPPER(fmt, arg...) hdf_print_none("[HDF:V/" LOG_TAG "]" fmt "\r\n", ##arg)
63 #define HDF_LOGD_WRAPPER(fmt, arg...) hdf_print_none("[HDF:D/" LOG_TAG "]" fmt "\r\n", ##arg)
65 #define HDF_LOGI_WRAPPER(fmt, arg...) hdf_print_none("[HDF:I/" LOG_TAG "]" fmt "\r\n", ##arg)
67 #define HDF_LOGW_WRAPPER(fmt, arg...) hdf_print_none("[HDF:W/" LOG_TAG "]" fmt "\r\n", ##arg)
69 #define HDF_LOGE_WRAPPER(fmt, arg...) hdf_print_none("[HDF:E/" LOG_TAG "]" fmt "\r\n", ##arg)
/drivers/interface/camera/metadata/include/
Dmetadata_log.h31 #define DECORATOR_HILOG(op, fmt, args...) \ argument
33 op(LOG_CORE, fmt, ##args); \
36 #define DECORATOR_HILOG(op, fmt, args...) \ argument
38 op(LOG_CORE, "{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
43 #define METADATA_DEBUG_LOG(fmt, ...) DECORATOR_HILOG(HILOG_DEBUG, fmt, ##__VA_ARGS__) argument
45 #define METADATA_DEBUG_LOG(fmt, ...) argument
48 #define METADATA_ERR_LOG(fmt, ...) DECORATOR_HILOG(HILOG_ERROR, fmt, ##__VA_ARGS__) argument
49 #define METADATA_WARNING_LOG(fmt, ...) DECORATOR_HILOG(HILOG_WARN, fmt, ##__VA_ARGS__) argument
50 #define METADATA_INFO_LOG(fmt, ...) DECORATOR_HILOG(HILOG_INFO, fmt, ##__VA_ARGS__) argument
51 #define METADATA_FATAL_LOG(fmt, ...) DECORATOR_HILOG(HILOG_FATAL, fmt, ##__VA_ARGS__) argument
/drivers/interface/camera/sequenceable/include/
Dhdi_log.h31 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
33 op(LOG_CORE, "%{public}s() " fmt, __FUNCTION__, ##args); \
36 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
38 op(LOG_CORE, "{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
42 #define HDI_CAMERA_LOGE(fmt, ...) DECORATOR_HDFLOG(HILOG_ERROR, fmt, ##__VA_ARGS__) argument
43 #define HDI_CAMERA_LOGW(fmt, ...) DECORATOR_HDFLOG(HILOG_WARN, fmt, ##__VA_ARGS__) argument
44 #define HDI_CAMERA_LOGI(fmt, ...) DECORATOR_HDFLOG(HILOG_INFO, fmt, ##__VA_ARGS__) argument
45 #define HDI_CAMERA_LOGV(fmt, ...) DECORATOR_HDFLOG(HILOG_DEBUG, fmt, ##__VA_ARGS__) argument
46 #define HDI_CAMERA_LOGD(fmt, ...) DECORATOR_HDFLOG(HILOG_DEBUG, fmt, ##__VA_ARGS__) argument
/drivers/peripheral/codec/utils/include/
Dcodec_log_wrapper.h48 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
50 op("%{public}s() " fmt, __FUNCTION__, ##args); \
53 #define DECORATOR_HDFLOG(op, fmt, args...) \
55 op("{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
59 #define CODEC_LOGE(fmt, ...) DECORATOR_HDFLOG(HDF_LOGE, fmt, ##__VA_ARGS__) argument
60 #define CODEC_LOGW(fmt, ...) DECORATOR_HDFLOG(HDF_LOGW, fmt, ##__VA_ARGS__) argument
61 #define CODEC_LOGI(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__) argument
62 #define CODEC_LOGV(fmt, ...) DECORATOR_HDFLOG(HDF_LOGV, fmt, ##__VA_ARGS__) argument
63 #define CODEC_LOGD(fmt, ...) DECORATOR_HDFLOG(HDF_LOGD, fmt, ##__VA_ARGS__) argument
65 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument
[all …]
/drivers/hdf_core/framework/support/platform/include/fwk/
Dplatform_log.h15 #define PLAT_LOGV(fmt, arg...) argument
17 #define PLAT_LOGV(fmt, arg...) HDF_LOGV(fmt, ##arg) argument
20 #define PLAT_LOGD(fmt, arg...) HDF_LOGD(fmt, ##arg) argument
21 #define PLAT_LOGI(fmt, arg...) HDF_LOGI(fmt, ##arg) argument
22 #define PLAT_LOGW(fmt, arg...) HDF_LOGW(fmt, ##arg) argument
23 #define PLAT_LOGE(fmt, arg...) HDF_LOGE(fmt, ##arg) argument
/drivers/hdf_core/adapter/khdf/linux/osal/include/
Dhdf_log_adapter.h32 bool deal_format(const char *fmt, char *str, size_t size);
34 #define HDF_LOG_WRAPPER(fmt, args...) \ argument
37 if (deal_format(fmt, tmp_fmt, sizeof(tmp_fmt))) \
41 #define HDF_LOGV_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_DEBUG HDF_FMT_TAG(HDF_LOG_TAG, V) fmt "… argument
43 #define HDF_LOGD_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_DEBUG HDF_FMT_TAG(HDF_LOG_TAG, D) fmt "… argument
45 #define HDF_LOGI_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_INFO HDF_FMT_TAG(HDF_LOG_TAG, I) fmt "\… argument
47 #define HDF_LOGW_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_WARNING HDF_FMT_TAG(HDF_LOG_TAG, W) fmt argument
49 #define HDF_LOGE_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_ERR HDF_FMT_TAG(HDF_LOG_TAG, E) fmt "\r… argument
/drivers/hdf_core/adapter/uhdf/posix/include/
Dhdf_log_adapter.h28 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
30 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) argument
32 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) argument
34 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) argument
36 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##arg) argument
/drivers/peripheral/audio/hal/hdi_passthrough/include/
Daudio_uhdf_log.h27 #define AUDIO_FUNC_LOGD(fmt, arg...) do { \ argument
30 #define AUDIO_FUNC_LOGI(fmt, arg...) do { \ argument
33 #define AUDIO_FUNC_LOGD(fmt, arg...) do { \ argument
34 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
37 #define AUDIO_FUNC_LOGI(fmt, arg...) do { \ argument
38 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
42 #define AUDIO_FUNC_LOGW(fmt, arg...) do { \ argument
43 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
46 #define AUDIO_FUNC_LOGE(fmt, arg...) do { \ argument
47 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
/drivers/hdf_core/interfaces/inner_api/osal/uhdf/
Dhdf_log_adapter.h61 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_CORE, fmt, ##arg) argument
66 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_CORE, fmt, ##arg) argument
71 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_CORE, fmt, ##arg) argument
76 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_CORE, fmt, ##arg) argument
81 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_CORE, fmt, ##arg) argument
/drivers/hdf_core/interfaces/inner_api/utils/
Dhdf_log.h62 #define HDF_LOGV(fmt, args...) HDF_LOGV_WRAPPER(fmt, ##args) argument
71 #define HDF_LOGD(fmt, args...) HDF_LOGD_WRAPPER(fmt, ##args) argument
80 #define HDF_LOGI(fmt, args...) HDF_LOGI_WRAPPER(fmt, ##args) argument
89 #define HDF_LOGW(fmt, args...) HDF_LOGW_WRAPPER(fmt, ##args) argument
98 #define HDF_LOGE(fmt, args...) HDF_LOGE_WRAPPER(fmt, ##args) argument
/drivers/hdf_core/framework/test/unittest/platform/common/
Dregulator_test.h16 #define REGULATOR_TEST_PRINT_LOG_DBG(fmt, arg...) \ argument
17 dprintf("[HDF]-[REGULATOR]:[%s][%d]---" fmt "\r\n", __func__, __LINE__, ##arg)
18 #define REGULATOR_TEST_PRINT_LOG_INF(fmt, arg...) \ argument
19 dprintf("[HDF]-[REGULATOR]:[%s][%d]---" fmt "\r\n", __func__, __LINE__, ##arg)
20 #define REGULATOR_TEST_PRINT_LOG_ERR(fmt, arg...) \ argument
21 dprintf("[HDF]-[REGULATOR]:[%s][%d]---" fmt "\r\n", __func__, __LINE__, ##arg)
23 #define REGULATOR_TEST_PRINT_LOG_DBG(fmt, arg...) HDF_LOGD_WRAPPER("[HDF]-[REGULATOR]:" fmt "\r\n",… argument
24 #define REGULATOR_TEST_PRINT_LOG_INF(fmt, arg...) HDF_LOGI_WRAPPER("[HDF]-[REGULATOR]:" fmt "\r\n",… argument
25 #define REGULATOR_TEST_PRINT_LOG_ERR(fmt, arg...) HDF_LOGE_WRAPPER("[HDF]-[REGULATOR]:" fmt "\r\n",… argument
/drivers/peripheral/intelligent_voice/utils/
Dintell_voice_log.h21 #define INTELLIGENT_VOICE_LOGD(fmt, arg...) \ argument
23 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
26 #define INTELLIGENT_VOICE_LOGI(fmt, arg...) \ argument
28 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
32 #define INTELLIGENT_VOICE_LOGW(fmt, arg...) \ argument
34 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
37 #define INTELLIGENT_VOICE_LOGE(fmt, arg...) \ argument
39 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
/drivers/peripheral/huks/test/unittest/
Dhuks_hdi_test_util.h19 #define HUKS_TEST_LOG_E(fmt...) \ argument
22 printf(fmt); \
26 #define HUKS_TEST_LOG_I(fmt...) \ argument
29 printf(fmt); \
33 #define HUKS_TEST_LOG_W(fmt...) \ argument
36 printf(fmt); \
40 #define HUKS_TEST_LOG_D(fmt...) \ argument
43 printf(fmt); \
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/
Dadaptor_log.h28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
30 op("%{public}s() " fmt, __FUNCTION__, ##args); \
33 #define DECORATOR_HDFLOG(op, fmt, args...) \
35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
39 #define LOG_ERROR(fmt, ...) DECORATOR_HDFLOG(HDF_LOGE, fmt, ##__VA_ARGS__) argument
40 #define LOG_INFO(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__) argument
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/
Dadaptor_log.h28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
30 op("%{public}s() " fmt, __FUNCTION__, ##args); \
33 #define DECORATOR_HDFLOG(op, fmt, args...) \
35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
39 #define LOG_ERROR(fmt, ...) DECORATOR_HDFLOG(HDF_LOGE, fmt, ##__VA_ARGS__) argument
40 #define LOG_INFO(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__) argument
/drivers/peripheral/distributed_audio/hdi_service/common/log/include/
Ddaudio_log.h36 void DHLog(DHLogLevel logLevel, const char *fmt, ...);
38 #define DHLOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, \ argument
39 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__)
41 #define DHLOGI(fmt, ...) HILOG_INFO(LOG_CORE, \ argument
42 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__)
44 #define DHLOGW(fmt, ...) HILOG_WARN(LOG_CORE, \ argument
45 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__)
47 #define DHLOGE(fmt, ...) HILOG_ERROR(LOG_CORE, \ argument
48 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__)
/drivers/peripheral/audio/hdi_service/vendor_interface/utils/
Daudio_uhdf_log.h27 #define AUDIO_FUNC_LOGD(fmt, arg...) \ argument
31 #define AUDIO_FUNC_LOGI(fmt, arg...) \ argument
35 #define AUDIO_FUNC_LOGD(fmt, arg...) \ argument
37 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
40 #define AUDIO_FUNC_LOGI(fmt, arg...) \ argument
42 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
46 #define AUDIO_FUNC_LOGW(fmt, arg...) \ argument
48 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
51 #define AUDIO_FUNC_LOGE(fmt, arg...) \ argument
53 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
/drivers/peripheral/distributed_camera/hdi_service/include/utils/
Ddistributed_hardware_log.h34 #define DHLOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, \ argument
35 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \
38 #define DHLOGI(fmt, ...) HILOG_INFO(LOG_CORE, \ argument
39 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \
42 #define DHLOGW(fmt, ...) HILOG_WARN(LOG_CORE, \ argument
43 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \
46 #define DHLOGE(fmt, ...) HILOG_ERROR(LOG_CORE, \ argument
47 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_fileformat.cpp153 struct v4l2_format fmt = {}; in V4L2GetFmt() local
163 fmt.type = bufType_; in V4L2GetFmt()
164 int rc = ioctl(fd, VIDIOC_G_FMT, &fmt); in V4L2GetFmt()
171 format.fmtdesc.width = fmt.fmt.pix_mp.width; in V4L2GetFmt()
172 format.fmtdesc.height = fmt.fmt.pix_mp.height; in V4L2GetFmt()
173 format.fmtdesc.pixelformat = fmt.fmt.pix_mp.pixelformat; in V4L2GetFmt()
174 format.fmtdesc.sizeimage = fmt.fmt.pix.sizeimage; in V4L2GetFmt()
176 format.fmtdesc.width = fmt.fmt.pix.width; in V4L2GetFmt()
177 format.fmtdesc.height = fmt.fmt.pix.height; in V4L2GetFmt()
178 format.fmtdesc.pixelformat = fmt.fmt.pix.pixelformat; in V4L2GetFmt()
[all …]
/drivers/peripheral/camera/hal_c/hdi_cif/include/
Dcamera.h45 #define CAMERA_LOGE(fmt, ...) \ argument
50 printf("%s %4u %4u E " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \
54 #define CAMERA_LOGW(fmt, ...) \ argument
59 printf("%s %4u %4u W " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \
63 #define CAMERA_LOGI(fmt, ...) \ argument
68 printf("%s %4u %4u I " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \
72 #define CAMERA_LOGV(fmt, ...) \ argument
77 printf("%s %4u %4u V " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \
81 #define CAMERA_LOGD(fmt, ...) \ argument
86 printf("%s %4u %4u D " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/include/
Dosal_test_type.h37 #define HDF_LOGE(fmt, ...) printf("[ERR]" fmt "\n", ##__VA_ARGS__) argument
39 #define HDF_LOGI(fmt, ...) printf("[INFO]" fmt "\n", ##__VA_ARGS__) argument
41 #define HDF_LOGD(fmt, ...) printf("[DEBUG]" fmt "\n", ##__VA_ARGS__) argument
/drivers/peripheral/camera/vdi_base/common/include/
Dcamera.h62 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument
64 op("%{public}s() " fmt, __FUNCTION__, ##args); \
67 #define DECORATOR_HDFLOG(op, fmt, args...) \
69 op("{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
73 #define CAMERA_LOGE(fmt, ...) DECORATOR_HDFLOG(HDF_LOGE, fmt, ##__VA_ARGS__) argument
74 #define CAMERA_LOGW(fmt, ...) DECORATOR_HDFLOG(HDF_LOGW, fmt, ##__VA_ARGS__) argument
75 #define CAMERA_LOGI(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__) argument
76 #define CAMERA_LOGV(fmt, ...) DECORATOR_HDFLOG(HDF_LOGV, fmt, ##__VA_ARGS__) argument
77 #define CAMERA_LOGD(fmt, ...) DECORATOR_HDFLOG(HDF_LOGD, fmt, ##__VA_ARGS__) argument

123