/drivers/hdf_core/framework/model/audio/common/include/ |
H A D | audio_driver_log.h | 26 #define ADM_LOG_DEBUG(fmt, arg...) do { \ 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 { \ 38 HDF_LOGE("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \ 41 #define ADM_LOG_INFO(fmt, arg...) do { \ 42 HDF_LOGI("[%s][line:%d]: " fmt, __func__, __LINE__, ##arg); \ 45 #define ADM_LOG_WARNING(fmt, arg...) do { \ 46 HDF_LOGW("[%s][line:%d]: " fmt, __func_ [all...] |
/drivers/hdf_core/adapter/khdf/liteos/osal/include/ |
H A D | hdf_log_adapter.h | 46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) 52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) 54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##ar [all...] |
/drivers/hdf_core/adapter/khdf/liteos_m/osal/include/ |
H A D | hdf_log_adapter.h | 46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) 52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) 54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##ar [all...] |
/drivers/hdf_core/adapter/khdf/uniproton/osal/include/ |
H A D | hdf_log_adapter.h | 46 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 48 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 50 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) 52 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) 54 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##ar [all...] |
/drivers/interface/camera/metadata/include/ |
H A D | metadata_log.h | 31 #define DECORATOR_HILOG(op, fmt, args...) \ 33 op(LOG_CORE, fmt, ##args); \ 36 #define DECORATOR_HILOG(op, fmt, args...) \ 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__) 45 #define METADATA_DEBUG_LOG(fmt, ...) 48 #define METADATA_ERR_LOG(fmt, ...) DECORATOR_HILOG(HILOG_ERROR, fmt, ##__VA_ARGS__) 49 #define METADATA_WARNING_LOG(fmt, [all...] |
/drivers/hdf_core/framework/support/platform/include/fwk/ |
H A D | platform_log.h | 15 #define PLAT_LOGV(fmt, arg...) 17 #define PLAT_LOGV(fmt, arg...) HDF_LOGV(fmt, ##arg) 20 #define PLAT_LOGD(fmt, arg...) HDF_LOGD(fmt, ##arg) 21 #define PLAT_LOGI(fmt, arg...) HDF_LOGI(fmt, ##arg) 22 #define PLAT_LOGW(fmt, arg...) HDF_LOGW(fmt, ##arg) 23 #define PLAT_LOGE(fmt, ar [all...] |
/drivers/peripheral/distributed_camera/hdi_service/include/utils/ |
H A D | distributed_hardware_log.h | 34 #define DHLOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, \ 35 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \ 38 #define DHLOGI(fmt, ...) HILOG_INFO(LOG_CORE, \ 39 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \ 42 #define DHLOGW(fmt, ...) HILOG_WARN(LOG_CORE, \ 43 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \ 46 #define DHLOGE(fmt, ...) HILOG_ERROR(LOG_CORE, \ 47 "[%{public}s][%{public}s][%{public}s:%{public}s]:" fmt, \ 50 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ 53 DHLOGE(fmt, ##__VA_ARGS_ [all...] |
/drivers/interface/camera/sequenceable/include/ |
H A D | hdi_log.h | 31 #define DECORATOR_HDFLOG(op, fmt, args...) \ 33 op(LOG_CORE, "%{public}s() " fmt, __FUNCTION__, ##args); \ 36 #define DECORATOR_HDFLOG(op, fmt, args...) \ 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__) 43 #define HDI_CAMERA_LOGW(fmt, ...) DECORATOR_HDFLOG(HILOG_WARN, fmt, ##__VA_ARGS__) 44 #define HDI_CAMERA_LOGI(fmt, ...) DECORATOR_HDFLOG(HILOG_INFO, fmt, ##__VA_ARGS_ [all...] |
/drivers/peripheral/codec/utils/include/ |
H A D | codec_log_wrapper.h | 48 #define DECORATOR_HDFLOG(op, fmt, args...) \ 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__) 60 #define CODEC_LOGW(fmt, ...) DECORATOR_HDFLOG(HDF_LOGW, fmt, ##__VA_ARGS__) 61 #define CODEC_LOGI(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS_ [all...] |
/drivers/peripheral/distributed_audio/hdi_service/common/log/include/ |
H A D | daudio_log.h | 36 void DHLog(DHLogLevel logLevel, const char *fmt, ...); 38 #define DHLOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, \ 39 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__) 41 #define DHLOGI(fmt, ...) HILOG_INFO(LOG_CORE, \ 42 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__) 44 #define DHLOGW(fmt, ...) HILOG_WARN(LOG_CORE, \ 45 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__) 47 #define DHLOGE(fmt, ...) HILOG_ERROR(LOG_CORE, \ 48 "[%{public}s][%{public}s]:" fmt, DH_LOG_TAG, __FUNCTION__, ##__VA_ARGS__) 58 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, [all...] |
/drivers/hdf_core/adapter/khdf/linux/osal/include/ |
H A D | hdf_log_adapter.h | 32 bool deal_format(const char *fmt, char *str, size_t size); 34 #define HDF_LOG_WRAPPER(fmt, args...) \ 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 "\r\n", ## args) 43 #define HDF_LOGD_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_DEBUG HDF_FMT_TAG(HDF_LOG_TAG, D) fmt "\r\n", ## args) 45 #define HDF_LOGI_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_INFO HDF_FMT_TAG(HDF_LOG_TAG, I) fmt "\r\n", ## args) 47 #define HDF_LOGW_WRAPPER(fmt, arg [all...] |
/drivers/hdf_core/adapter/uhdf/posix/include/ |
H A D | hdf_log_adapter.h | 28 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 30 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_DOMAIN, fmt, ##arg) 32 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_DOMAIN, fmt, ##arg) 34 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_DOMAIN, fmt, ##arg) 36 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_DOMAIN, fmt, ##ar [all...] |
/drivers/hdf_core/interfaces/inner_api/osal/uhdf/ |
H A D | hdf_log_adapter.h | 55 #define HDF_LOGV_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_CORE, fmt, ##arg) 60 #define HDF_LOGD_WRAPPER(fmt, arg...) HILOG_DEBUG(LOG_CORE, fmt, ##arg) 65 #define HDF_LOGI_WRAPPER(fmt, arg...) HILOG_INFO(LOG_CORE, fmt, ##arg) 70 #define HDF_LOGW_WRAPPER(fmt, arg...) HILOG_WARN(LOG_CORE, fmt, ##arg) 75 #define HDF_LOGE_WRAPPER(fmt, arg...) HILOG_ERROR(LOG_CORE, fmt, ##ar [all...] |
/drivers/hdf_core/interfaces/inner_api/utils/ |
H A D | hdf_log.h | 62 #define HDF_LOGV(fmt, args...) HDF_LOGV_WRAPPER(fmt, ##args) 71 #define HDF_LOGD(fmt, args...) HDF_LOGD_WRAPPER(fmt, ##args) 80 #define HDF_LOGI(fmt, args...) HDF_LOGI_WRAPPER(fmt, ##args) 89 #define HDF_LOGW(fmt, args...) HDF_LOGW_WRAPPER(fmt, ##args) 98 #define HDF_LOGE(fmt, args...) HDF_LOGE_WRAPPER(fmt, ##arg [all...] |
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_uhdf_log.h | 27 #define AUDIO_FUNC_LOGD(fmt, arg...) do { \ 30 #define AUDIO_FUNC_LOGI(fmt, arg...) do { \ 33 #define AUDIO_FUNC_LOGD(fmt, arg...) do { \ 34 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 37 #define AUDIO_FUNC_LOGI(fmt, arg...) do { \ 38 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 42 #define AUDIO_FUNC_LOGW(fmt, arg...) do { \ 43 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 46 #define AUDIO_FUNC_LOGE(fmt, arg...) do { \ 47 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func_ [all...] |
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | regulator_test.h | 16 #define REGULATOR_TEST_PRINT_LOG_DBG(fmt, arg...) \ 17 dprintf("[HDF]-[REGULATOR]:[%s][%d]---" fmt "\r\n", __func__, __LINE__, ##arg) 18 #define REGULATOR_TEST_PRINT_LOG_INF(fmt, arg...) \ 19 dprintf("[HDF]-[REGULATOR]:[%s][%d]---" fmt "\r\n", __func__, __LINE__, ##arg) 20 #define REGULATOR_TEST_PRINT_LOG_ERR(fmt, arg...) \ 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", ##arg) 24 #define REGULATOR_TEST_PRINT_LOG_INF(fmt, arg...) HDF_LOGI_WRAPPER("[HDF]-[REGULATOR]:" fmt "\ [all...] |
/drivers/peripheral/huks/test/unittest/ |
H A D | huks_hdi_test_util.h | 19 #define HUKS_TEST_LOG_E(fmt...) \
22 printf(fmt); \
26 #define HUKS_TEST_LOG_I(fmt...) \
29 printf(fmt); \
33 #define HUKS_TEST_LOG_W(fmt...) \
36 printf(fmt); \
40 #define HUKS_TEST_LOG_D(fmt...) \
43 printf(fmt); \
|
/drivers/peripheral/intelligent_voice/utils/ |
H A D | intell_voice_log.h | 24 #define INTELLIGENT_VOICE_LOGD(fmt, arg...) \ 26 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 29 #define INTELLIGENT_VOICE_LOGI(fmt, arg...) \ 31 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 35 #define INTELLIGENT_VOICE_LOGW(fmt, arg...) \ 37 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 40 #define INTELLIGENT_VOICE_LOGE(fmt, arg...) \ 42 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \
|
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ 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__) 40 #define LOG_INFO(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__)
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ 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__) 40 #define LOG_INFO(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS__)
|
/drivers/peripheral/audio/hdi_service/vendor_interface/utils/ |
H A D | audio_uhdf_log.h | 27 #define AUDIO_FUNC_LOGD(fmt, arg...) \ 31 #define AUDIO_FUNC_LOGI(fmt, arg...) \ 35 #define AUDIO_FUNC_LOGD(fmt, arg...) \ 37 HDF_LOGD("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 40 #define AUDIO_FUNC_LOGI(fmt, arg...) \ 42 HDF_LOGI("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 46 #define AUDIO_FUNC_LOGW(fmt, arg...) \ 48 HDF_LOGW("[%{public}s][line:%{public}d]: " fmt, __func__, __LINE__, ##arg); \ 51 #define AUDIO_FUNC_LOGE(fmt, arg...) \ 53 HDF_LOGE("[%{public}s][line:%{public}d]: " fmt, __func_ [all...] |
/drivers/peripheral/camera/hal_c/hdi_cif/include/ |
H A D | camera.h | 45 #define CAMERA_LOGE(fmt, ...) \ 50 printf("%s %4u %4u E " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \ 54 #define CAMERA_LOGW(fmt, ...) \ 59 printf("%s %4u %4u W " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \ 63 #define CAMERA_LOGI(fmt, ...) \ 68 printf("%s %4u %4u I " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \ 72 #define CAMERA_LOGV(fmt, ...) \ 77 printf("%s %4u %4u V " fmt "\n", now, (uint32_t)pid, (uint32_t)tid, ##__VA_ARGS__); \ 81 #define CAMERA_LOGD(fmt, ...) \ 86 printf("%s %4u %4u D " fmt "\ [all...] |
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/include/ |
H A D | osal_test_type.h | 37 #define HDF_LOGE(fmt, ...) printf("[ERR]" fmt "\n", ##__VA_ARGS__) 39 #define HDF_LOGI(fmt, ...) printf("[INFO]" fmt "\n", ##__VA_ARGS__) 41 #define HDF_LOGD(fmt, ...) printf("[DEBUG]" fmt "\n", ##__VA_ARGS__)
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_fileformat.cpp | 153 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 in V4L2GetFmt() 187 struct v4l2_format fmt = {}; V4L2SetFmt() local [all...] |
/drivers/peripheral/camera/vdi_base/common/include/ |
H A D | camera.h | 62 #define DECORATOR_HDFLOG(op, fmt, args...) \ 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__) 74 #define CAMERA_LOGW(fmt, ...) DECORATOR_HDFLOG(HDF_LOGW, fmt, ##__VA_ARGS__) 75 #define CAMERA_LOGI(fmt, ...) DECORATOR_HDFLOG(HDF_LOGI, fmt, ##__VA_ARGS_ [all...] |