summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 20:05:11 +0000
committerSteve Block <steveblock@google.com>2012-01-04 20:05:11 +0000
commit64661e48d99f432299e40bde2d11b26944a71dd4 (patch)
tree375dcace1fc22f623e06e7dcdf5f0b6a6c205354
parentc945cd8ec1e0da826f4cc7fa58f4a0ec2b4225e0 (diff)
downloadbluetooth-64661e48d99f432299e40bde2d11b26944a71dd4.tar.gz
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Idbc346256880a8456b70074f930dc02e3c8d085d
-rw-r--r--bluedroid/bluetooth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bluedroid/bluetooth.c b/bluedroid/bluetooth.c
index 7024ae6..7a9e715 100644
--- a/bluedroid/bluetooth.c
+++ b/bluedroid/bluetooth.c
@@ -154,7 +154,7 @@ int bt_enable() {
if (set_bluetooth_power(1) < 0) goto out;
- LOGI("Starting hciattach daemon");
+ ALOGI("Starting hciattach daemon");
if (property_set("ctl.start", "hciattach") < 0) {
LOGE("Failed to start hciattach");
set_bluetooth_power(0);
@@ -169,7 +169,7 @@ int bt_enable() {
ret = ioctl(hci_sock, HCIDEVUP, HCI_DEV_ID);
- LOGI("bt_enable: ret: %d, errno: %d", ret, errno);
+ ALOGI("bt_enable: ret: %d, errno: %d", ret, errno);
if (!ret) {
break;
} else if (errno == EALREADY) {
@@ -190,7 +190,7 @@ int bt_enable() {
goto out;
}
- LOGI("Starting bluetoothd deamon");
+ ALOGI("Starting bluetoothd deamon");
if (property_set("ctl.start", "bluetoothd") < 0) {
LOGE("Failed to start bluetoothd");
set_bluetooth_power(0);
@@ -210,7 +210,7 @@ int bt_disable() {
int ret = -1;
int hci_sock = -1;
- LOGI("Stopping bluetoothd deamon");
+ ALOGI("Stopping bluetoothd deamon");
if (property_set("ctl.stop", "bluetoothd") < 0) {
LOGE("Error stopping bluetoothd");
goto out;
@@ -221,7 +221,7 @@ int bt_disable() {
if (hci_sock < 0) goto out;
ioctl(hci_sock, HCIDEVDOWN, HCI_DEV_ID);
- LOGI("Stopping hciattach deamon");
+ ALOGI("Stopping hciattach deamon");
if (property_set("ctl.stop", "hciattach") < 0) {
LOGE("Error stopping hciattach");
goto out;