debug logs
This commit is contained in:
		@@ -41,6 +41,9 @@
 | 
			
		||||
#include <gutil_log.h>
 | 
			
		||||
#include <binder_ext_plugin_impl.h>
 | 
			
		||||
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
typedef struct qti_ext {
 | 
			
		||||
    BinderExtPlugin parent;
 | 
			
		||||
} QtiExt;
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
#include <gbinder.h>
 | 
			
		||||
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
typedef GObjectClass QtiImsClass;
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,7 @@
 | 
			
		||||
 | 
			
		||||
#undef DBG
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
typedef GObjectClass QtiImsCallClass;
 | 
			
		||||
typedef struct qti_ims_call {
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,7 @@
 | 
			
		||||
#include <gutil_log.h>
 | 
			
		||||
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
typedef GObjectClass QtiImsSmsClass;
 | 
			
		||||
typedef struct qti_ims_sms {
 | 
			
		||||
 
 | 
			
		||||
@@ -43,6 +43,8 @@
 | 
			
		||||
#include <ofono/log.h>
 | 
			
		||||
#include <ofono/plugin.h>
 | 
			
		||||
#include <gutil_log.h>
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
static
 | 
			
		||||
int
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@
 | 
			
		||||
#include <gutil_macros.h>
 | 
			
		||||
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define QTI_RADIO_CALL_TIMEOUT (3*1000) /* ms */
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
#include <gutil_log.h>
 | 
			
		||||
 | 
			
		||||
#define DBG(fmt, ...) \
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
    gutil_log(GLOG_MODULE_CURRENT, GLOG_LEVEL_ALWAYS, "qti.ims:"fmt, ##__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
typedef BinderExtSlotClass QtiSlotClass;
 | 
			
		||||
typedef struct qti_slot {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user