diff options
author | Steve Block <steveblock@google.com> | 2011-12-20 20:47:51 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-03 22:31:44 +0000 |
commit | 6464068a31ff890d42d3da9cdf580d07c9c630d8 (patch) | |
tree | e7c2e408597727fe5cf212e1a68d6787ef043d30 /reference-ril/atchannel.c | |
parent | 2bc78d614e349574426d198c37e51ccb7455b5bb (diff) | |
download | android_hardware_ril-6464068a31ff890d42d3da9cdf580d07c9c630d8.tar.gz android_hardware_ril-6464068a31ff890d42d3da9cdf580d07c9c630d8.tar.bz2 android_hardware_ril-6464068a31ff890d42d3da9cdf580d07c9c630d8.zip |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: Ib3eab0b780391f9a0ac9b53282616d66a0154ade
Diffstat (limited to 'reference-ril/atchannel.c')
-rw-r--r-- | reference-ril/atchannel.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/reference-ril/atchannel.c b/reference-ril/atchannel.c index f878b35..410ad0e 100644 --- a/reference-ril/atchannel.c +++ b/reference-ril/atchannel.c @@ -69,7 +69,7 @@ void AT_DUMP(const char* prefix, const char* buff, int len) { if (len < 0) len = strlen(buff); - LOGD("%.*s", len, buff); + ALOGD("%.*s", len, buff); } #endif @@ -398,9 +398,9 @@ static const char *readline() } else if (count <= 0) { /* read error encountered or EOF reached */ if(count == 0) { - LOGD("atchannel: EOF reached"); + ALOGD("atchannel: EOF reached"); } else { - LOGD("atchannel: read error %s", strerror(errno)); + ALOGD("atchannel: read error %s", strerror(errno)); } return NULL; } @@ -413,7 +413,7 @@ static const char *readline() s_ATBufferCur = p_eol + 1; /* this will always be <= p_read, */ /* and there will be a \0 at *p_read */ - LOGD("AT< %s\n", ret); + ALOGD("AT< %s\n", ret); return ret; } @@ -499,7 +499,7 @@ static int writeline (const char *s) return AT_ERROR_CHANNEL_CLOSED; } - LOGD("AT> %s\n", s); + ALOGD("AT> %s\n", s); AT_DUMP( ">> ", s, strlen(s) ); @@ -538,7 +538,7 @@ static int writeCtrlZ (const char *s) return AT_ERROR_CHANNEL_CLOSED; } - LOGD("AT> %s^Z\n", s); + ALOGD("AT> %s^Z\n", s); AT_DUMP( ">* ", s, strlen(s) ); |