summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:10:18 +0000
committerSteve Block <steveblock@google.com>2012-01-06 19:10:18 +0000
commita12acb119fa8cda91ca23d191b41b9438402e4d1 (patch)
treea392e27feb2995a6747e4bdf1b764ddcb6db4260 /src
parent113bdd7504d69f483c4208bc30a457b7ff4b69fa (diff)
downloadexternal_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.zip
external_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.tar.gz
external_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I935ee4450e2e62ced1537bafb787ad402cfcb69c
Diffstat (limited to 'src')
-rw-r--r--src/phHal4Nfc.c6
-rw-r--r--src/phLlcNfc_Interface.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/phHal4Nfc.c b/src/phHal4Nfc.c
index a579811..0f6ce2b 100644
--- a/src/phHal4Nfc.c
+++ b/src/phHal4Nfc.c
@@ -316,20 +316,20 @@ int dlopen_firmware() {
void *handle = dlopen(FW_PATH, RTLD_NOW);
if (handle == NULL) {
- LOGE("Could not open %s", FW_PATH);
+ ALOGE("Could not open %s", FW_PATH);
return -1;
}
p = dlsym(handle, "nxp_nfc_full_version");
if (p == NULL) {
- LOGE("Could not link nxp_nfc_full_version");
+ ALOGE("Could not link nxp_nfc_full_version");
return -1;
}
nxp_nfc_full_version = (unsigned char *)p;
p = dlsym(handle, "nxp_nfc_fw");
if (p == NULL) {
- LOGE("Could not link nxp_nfc_fw");
+ ALOGE("Could not link nxp_nfc_fw");
return -1;
}
nxp_nfc_fw = (unsigned char *)p;
diff --git a/src/phLlcNfc_Interface.c b/src/phLlcNfc_Interface.c
index 9e92163..7f3336d 100644
--- a/src/phLlcNfc_Interface.c
+++ b/src/phLlcNfc_Interface.c
@@ -807,7 +807,7 @@ phLlcNfc_RdResp_Cb(
}
else
{
- LOGE("max LLC retries exceeded, stack restart");
+ ALOGE("max LLC retries exceeded, stack restart");
result = phLlcNfc_Interface_Read (ps_llc_ctxt,
PH_LLCNFC_READWAIT_OFF,
(uint8_t *)&(ps_recv_pkt->s_llcbuf.llc_length_byte),
@@ -832,7 +832,7 @@ phLlcNfc_RdResp_Cb(
else if (ps_frame_info->recv_error_count >=
PH_LLCNFC_MAX_REJ_RETRY_COUNT)
{
- LOGE("max LLC retries exceeded, stack restart");
+ ALOGE("max LLC retries exceeded, stack restart");
result = phLlcNfc_Interface_Read (ps_llc_ctxt,
PH_LLCNFC_READWAIT_OFF,
(uint8_t *)&(ps_recv_pkt->s_llcbuf.llc_length_byte),
@@ -855,7 +855,7 @@ phLlcNfc_RdResp_Cb(
(PH_LLCNFC_MAX_BUFLEN_RECV_SEND > pCompInfo->length) &&
(pCompInfo->length != ps_recv_pkt->s_llcbuf.llc_length_byte))
{
- LOGE("bad LLC length1 %d", pCompInfo->length);
+ ALOGE("bad LLC length1 %d", pCompInfo->length);
ps_frame_info->recv_error_count = (uint8_t)
(ps_frame_info->recv_error_count + 1);
libnfc_llc_error_count++;