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: Ic9c19d30693bd56755f55906127cd6bd7126096c
diff --git a/core/jni/android_util_Binder.cpp b/core/jni/android_util_Binder.cpp
index 4d6bfbc..990a617 100644
--- a/core/jni/android_util_Binder.cpp
+++ b/core/jni/android_util_Binder.cpp
@@ -194,8 +194,8 @@
if ((tagstr == NULL) || (msgstr == NULL)) {
env->ExceptionClear(); /* assume exception (OOM?) was thrown */
- LOGE("Unable to call Log.e()\n");
- LOGE("%s", msg);
+ ALOGE("Unable to call Log.e()\n");
+ ALOGE("%s", msg);
goto bail;
}
@@ -221,7 +221,7 @@
env->Throw(excep);
vm->DetachCurrentThread();
sleep(60);
- LOGE("Forcefully exiting");
+ ALOGE("Forcefully exiting");
exit(1);
*((int *) 1) = 1;
}
@@ -699,7 +699,7 @@
jniThrowException(env, "java/lang/RuntimeException", "Unknown transaction code");
break;
case FAILED_TRANSACTION:
- LOGE("!!! FAILED BINDER TRANSACTION !!!");
+ ALOGE("!!! FAILED BINDER TRANSACTION !!!");
// TransactionTooLargeException is a checked exception, only throw from certain methods.
// FIXME: Transaction too large is the most common reason for FAILED_TRANSACTION
// but it is not the only one. The Binder driver can return BR_FAILED_REPLY
@@ -715,7 +715,7 @@
"Not allowed to write file descriptors here");
break;
default:
- LOGE("Unknown binder error code. 0x%x", err);
+ ALOGE("Unknown binder error code. 0x%x", err);
String8 msg;
msg.appendFormat("Unknown binder error code. 0x%x", err);
// RemoteException is a checked exception, only throw from certain methods.