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: Ic34de235eb1cd094af555d7299da643a626ca092
diff --git a/lib/ExecutionEngine/MCCacheWriter.cpp b/lib/ExecutionEngine/MCCacheWriter.cpp
index 6fbf4ba..38fcd3e 100644
--- a/lib/ExecutionEngine/MCCacheWriter.cpp
+++ b/lib/ExecutionEngine/MCCacheWriter.cpp
@@ -77,7 +77,7 @@
MCO_Header *header = (MCO_Header *)malloc(sizeof(MCO_Header));
if (!header) {
- LOGE("Unable to allocate for header.\n");
+ ALOGE("Unable to allocate for header.\n");
return false;
}
@@ -112,7 +112,7 @@
OBCC_DependencyTable *tab = (OBCC_DependencyTable *)malloc(tableSize);
if (!tab) {
- LOGE("Unable to allocate for dependency table section.\n");
+ ALOGE("Unable to allocate for dependency table section.\n");
return false;
}
@@ -143,7 +143,7 @@
OBCC_PragmaList *list = (OBCC_PragmaList *)malloc(listSize);
if (!list) {
- LOGE("Unable to allocate for pragma list\n");
+ ALOGE("Unable to allocate for pragma list\n");
return false;
}
@@ -186,7 +186,7 @@
OBCC_StringPool *pool = (OBCC_StringPool *)malloc(size);
if (!pool) {
- LOGE("Unable to allocate string pool.\n");
+ ALOGE("Unable to allocate string pool.\n");
return false;
}
@@ -221,7 +221,7 @@
OBCC_String_Ptr *list = (OBCC_String_Ptr*)malloc(listSize);
if (!list) {
- LOGE("Unable to allocate for export variable name list\n");
+ ALOGE("Unable to allocate for export variable name list\n");
return false;
}
@@ -245,7 +245,7 @@
OBCC_String_Ptr *list = (OBCC_String_Ptr*)malloc(listSize);
if (!list) {
- LOGE("Unable to allocate for export function name list\n");
+ ALOGE("Unable to allocate for export function name list\n");
return false;
}
@@ -271,7 +271,7 @@
OBCC_ObjectSlotList *list = (OBCC_ObjectSlotList *)malloc(listSize);
if (!list) {
- LOGE("Unable to allocate for object slot list\n");
+ ALOGE("Unable to allocate for object slot list\n");
return false;
}
@@ -319,13 +319,13 @@
#define WRITE_SECTION(NAME, OFFSET, SIZE, SECTION) \
do { \
if (mInfoFile->seek(OFFSET, SEEK_SET) == -1) { \
- LOGE("Unable to seek to " #NAME " section for writing.\n"); \
+ ALOGE("Unable to seek to " #NAME " section for writing.\n"); \
return false; \
} \
\
if (mInfoFile->write(reinterpret_cast<char *>(SECTION), (SIZE)) != \
static_cast<ssize_t>(SIZE)) { \
- LOGE("Unable to write " #NAME " section to cache file.\n"); \
+ ALOGE("Unable to write " #NAME " section to cache file.\n"); \
return false; \
} \
} while (0)
@@ -352,7 +352,7 @@
if (static_cast<size_t>(mObjFile->write(mpOwner->getELF(),
mpOwner->getELFSize()))
!= mpOwner->getELFSize()) {
- LOGE("Unable to write ELF to cache file.\n");
+ ALOGE("Unable to write ELF to cache file.\n");
return false;
}