diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:18:09 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-06 19:18:09 +0000 |
commit | afc8705e932af9a3a27239b0ca6fdb2026f15dfc (patch) | |
tree | e0ad3b3b7949a32a2afe61088b3bed9c81c595bd /jni/com_android_nfc_list.cpp | |
parent | 15be799e6a9c6c2c24b2008d2d52944a01a4dc63 (diff) | |
download | packages_apps_nfc-afc8705e932af9a3a27239b0ca6fdb2026f15dfc.zip packages_apps_nfc-afc8705e932af9a3a27239b0ca6fdb2026f15dfc.tar.gz packages_apps_nfc-afc8705e932af9a3a27239b0ca6fdb2026f15dfc.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: If3f714c482c26a9b90cae43dbab6e4ee7f46dcb9
Diffstat (limited to 'jni/com_android_nfc_list.cpp')
-rw-r--r-- | jni/com_android_nfc_list.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jni/com_android_nfc_list.cpp b/jni/com_android_nfc_list.cpp index ea31998..f0487d3 100644 --- a/jni/com_android_nfc_list.cpp +++ b/jni/com_android_nfc_list.cpp @@ -28,7 +28,7 @@ bool listInit(listHead* pList) pList->pFirst = NULL; if(pthread_mutex_init(&pList->mutex, NULL) == -1) { - LOGE("Mutex creation failed (errno=0x%08x)", errno); + ALOGE("Mutex creation failed (errno=0x%08x)", errno); return false; } @@ -44,7 +44,7 @@ bool listDestroy(listHead* pList) if(pthread_mutex_destroy(&pList->mutex) == -1) { - LOGE("Mutex destruction failed (errno=0x%08x)", errno); + ALOGE("Mutex destruction failed (errno=0x%08x)", errno); return false; } @@ -62,7 +62,7 @@ bool listAdd(listHead* pList, void* pData) if (pNode == NULL) { result = false; - LOGE("Failed to malloc"); + ALOGE("Failed to malloc"); goto clean_and_return; } TRACE("Allocated node: %8p (%8p)", pNode, pData); @@ -108,7 +108,7 @@ bool listRemove(listHead* pList, void* pData) if (pList->pFirst == NULL) { /* Empty list */ - LOGE("Failed to deallocate (list empty)"); + ALOGE("Failed to deallocate (list empty)"); result = false; goto clean_and_return; } @@ -138,7 +138,7 @@ bool listRemove(listHead* pList, void* pData) { /* Node not found */ result = false; - LOGE("Failed to deallocate (not found %8p)", pData); + ALOGE("Failed to deallocate (not found %8p)", pData); goto clean_and_return; } @@ -170,7 +170,7 @@ bool listGetAndRemoveNext(listHead* pList, void** ppData) if (pList->pFirst) { /* Empty list */ - LOGE("Failed to deallocate (list empty)"); + ALOGE("Failed to deallocate (list empty)"); result = false; goto clean_and_return; } |