summaryrefslogtreecommitdiffstats
path: root/Linux_x86
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:20:37 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:30:26 +0000
commit1f23e48e59a9d8ba8bfd60c4a4de4fb656651200 (patch)
treede4dd6141205c521057e7239a05824cdf1ccd5ee /Linux_x86
parent63ae76647f2d039340ba7a24d1e27034a03bcd09 (diff)
downloadexternal_libnfc-nxp-1f23e48e59a9d8ba8bfd60c4a4de4fb656651200.zip
external_libnfc-nxp-1f23e48e59a9d8ba8bfd60c4a4de4fb656651200.tar.gz
external_libnfc-nxp-1f23e48e59a9d8ba8bfd60c4a4de4fb656651200.tar.bz2
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: Ie5dac4fad8942433d2b8fe3c0539e4c3c678a082
Diffstat (limited to 'Linux_x86')
-rw-r--r--Linux_x86/phOsalNfc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Linux_x86/phOsalNfc.c b/Linux_x86/phOsalNfc.c
index cbca1ac..1fd2288 100644
--- a/Linux_x86/phOsalNfc.c
+++ b/Linux_x86/phOsalNfc.c
@@ -81,7 +81,7 @@ void phOsalNfc_DbgString(const char *pString)
#ifndef ANDROID
printf(pString);
#else
- LOGD("%s", pString);
+ ALOGD("%s", pString);
#endif
#endif
}
@@ -111,15 +111,15 @@ void phOsalNfc_DbgTrace(uint8_t data[], uint32_t size)
{
if((i % 10) == 0)
{
- LOGD("%s", phOsalNfc_DbgTraceBuffer);
+ ALOGD("%s", phOsalNfc_DbgTraceBuffer);
phOsalNfc_DbgTraceBuffer[0] = '\0';
}
snprintf(buf, 10, "%02X ", data[i]);
strncat(phOsalNfc_DbgTraceBuffer, buf, 10);
}
- LOGD("%s", phOsalNfc_DbgTraceBuffer);
- LOGD("Block size is: %d", size);
+ ALOGD("%s", phOsalNfc_DbgTraceBuffer);
+ ALOGD("Block size is: %d", size);
#endif
#endif
}
@@ -140,7 +140,7 @@ void phOsalNfc_DbgTrace(uint8_t data[], uint32_t size)
*/
void phOsalNfc_RaiseException(phOsalNfc_ExceptionType_t eExceptionType, uint16_t reason)
{
- LOGD("phOsalNfc_RaiseException() called");
+ ALOGD("phOsalNfc_RaiseException() called");
if(eExceptionType == phOsalNfc_e_UnrecovFirmwareErr)
{
@@ -208,5 +208,5 @@ void phOsalNfc_PrintData(const char *pString, uint32_t length, uint8_t *pBuffer,
}
}
- LOGD("> %s:%s\t%s", pString, print_buffer, llc);
+ ALOGD("> %s:%s\t%s", pString, print_buffer, llc);
}