summaryrefslogtreecommitdiffstats
path: root/stack/rfcomm
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-04-07 04:41:39 -0700
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:23 -0700
commit595bced8e7c280e37a75b9bf9c1f36263434041c (patch)
treeb5edc7d472aa7ce62cf8204646c9c569da547945 /stack/rfcomm
parent2c79674ef766378464559c8645c74db5687280a9 (diff)
downloadexternal_bluetooth_bluedroid-595bced8e7c280e37a75b9bf9c1f36263434041c.zip
external_bluetooth_bluedroid-595bced8e7c280e37a75b9bf9c1f36263434041c.tar.gz
external_bluetooth_bluedroid-595bced8e7c280e37a75b9bf9c1f36263434041c.tar.bz2
replace logx with alogx
Conflicts: btif/src/btif_core.c btif/src/btif_dm.c btif/src/btif_hh.c btif/src/btif_sock.c gki/ulinux/gki_ulinux.c hci/include/bt_hci_bdroid.h hci/src/bt_hci_bdroid.c hci/src/btsnoop.c hci/src/hci_h4.c hci/src/userial.c vendor/libvendor/src/hardware.c vendor/libvendor/src/upio.c
Diffstat (limited to 'stack/rfcomm')
-rw-r--r--stack/rfcomm/port_api.c8
-rw-r--r--stack/rfcomm/port_utils.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/stack/rfcomm/port_api.c b/stack/rfcomm/port_api.c
index 50da558..1290ff9 100644
--- a/stack/rfcomm/port_api.c
+++ b/stack/rfcomm/port_api.c
@@ -25,10 +25,10 @@
#define PORT_BREAK_DURATION 1
#include <cutils/log.h>
-#define info(fmt, ...) LOGI ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define debug(fmt, ...) LOGD ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define error(fmt, ...) LOGE ("## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
-#define asrt(s) if(!(s)) LOGE ("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
+#define info(fmt, ...) ALOGI ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define debug(fmt, ...) ALOGD ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define error(fmt, ...) ALOGE ("## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
+#define asrt(s) if(!(s)) ALOGE ("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
/*******************************************************************************
**
diff --git a/stack/rfcomm/port_utils.c b/stack/rfcomm/port_utils.c
index 6800b46..3de9ec0 100644
--- a/stack/rfcomm/port_utils.c
+++ b/stack/rfcomm/port_utils.c
@@ -21,10 +21,10 @@
#include "btu.h"
#include <cutils/log.h>
-#define info(fmt, ...) LOGI ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define debug(fmt, ...) LOGD ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define error(fmt, ...) LOGE ("## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
-#define asrt(s) if(!(s)) LOGE ("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
+#define info(fmt, ...) ALOGI ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define debug(fmt, ...) ALOGD ("%s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define error(fmt, ...) ALOGE ("## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
+#define asrt(s) if(!(s)) ALOGE ("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
static const tPORT_STATE default_port_pars =