summaryrefslogtreecommitdiffstats
path: root/reference-ril/atchannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'reference-ril/atchannel.c')
-rw-r--r--reference-ril/atchannel.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/reference-ril/atchannel.c b/reference-ril/atchannel.c
index f878b35..5e7a1c1 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
@@ -290,7 +290,7 @@ static void processLine(const char *line)
break;
default: /* this should never be reached */
- LOGE("Unsupported AT command type %d\n", s_type);
+ ALOGE("Unsupported AT command type %d\n", s_type);
handleUnsolicited(line);
break;
}
@@ -371,7 +371,7 @@ static const char *readline()
while (p_eol == NULL) {
if (0 == MAX_AT_RESPONSE - (p_read - s_ATBuffer)) {
- LOGE("ERROR: Input line exceeded buffer\n");
+ ALOGE("ERROR: Input line exceeded buffer\n");
/* ditch buffer and start over again */
s_ATBufferCur = s_ATBuffer;
*s_ATBufferCur = '\0';
@@ -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) );