From 92c379019827f5076290356a3a0f2509a006eecf Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 4 Jan 2012 20:04:31 +0000 Subject: Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I85ab7bdcd05da19f5fc581009de8cfbf5e42441f --- quake/src/WinQuake/main.cpp | 6 +++--- quake/src/WinQuake/masterMain.cpp | 4 ++-- quake/src/WinQuake/sys_android.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/quake/src/WinQuake/main.cpp b/quake/src/WinQuake/main.cpp index 7c0763c..5c1b44f 100644 --- a/quake/src/WinQuake/main.cpp +++ b/quake/src/WinQuake/main.cpp @@ -63,7 +63,7 @@ void PMP_Common(const char* fmt, va_list ap, char type) startTimes[startTimeStackPointer] = time; } #ifdef USE_LOG - LOGI("< %lld [%d] %s\n", time, startTimeStackPointer, buf); + ALOGI("< %lld [%d] %s\n", time, startTimeStackPointer, buf); #else fprintf(stderr, "Quake < %lld %d %s\n", time, startTimeStackPointer, buf); #endif @@ -82,7 +82,7 @@ void PMP_Common(const char* fmt, va_list ap, char type) } } #ifdef USE_LOG - LOGI("> %lld [%d] %lld %s\n", time, startTimeStackPointer, elapsed, buf); + ALOGI("> %lld [%d] %lld %s\n", time, startTimeStackPointer, elapsed, buf); #else fprintf(stderr, "Quake > %lld [%d] %lld %s\n", time, startTimeStackPointer, elapsed, buf); #endif @@ -90,7 +90,7 @@ void PMP_Common(const char* fmt, va_list ap, char type) break; default: #ifdef USE_LOG - LOGI("= %lld %lld %s\n", time, time - lastTime, buf); + ALOGI("= %lld %lld %s\n", time, time - lastTime, buf); #else fprintf(stderr, "Quake = %lld %s\n", time, buf); #endif diff --git a/quake/src/WinQuake/masterMain.cpp b/quake/src/WinQuake/masterMain.cpp index 893c1fa..b0aeb28 100644 --- a/quake/src/WinQuake/masterMain.cpp +++ b/quake/src/WinQuake/masterMain.cpp @@ -34,7 +34,7 @@ void AndroidQuit(); jboolean qinit(JNIEnv *env, jobject thiz) { - LOGI("qinit"); + ALOGI("qinit"); return AndroidInit() ? JNI_TRUE : JNI_FALSE; } @@ -65,7 +65,7 @@ qstep(JNIEnv *env, jobject thiz, jint width, jint height) { void qquit(JNIEnv *env, jobject thiz) { - LOGI("qquit"); + ALOGI("qquit"); AndroidQuit(); } diff --git a/quake/src/WinQuake/sys_android.cpp b/quake/src/WinQuake/sys_android.cpp index c66f01c..0a89d86 100644 --- a/quake/src/WinQuake/sys_android.cpp +++ b/quake/src/WinQuake/sys_android.cpp @@ -127,7 +127,7 @@ void Sys_Printf (const char *fmt, ...) va_end (argptr); text[sizeof(text)-1] = 0; - LOGI("%s", text); + ALOGI("%s", text); #ifdef USE_PMPEVENT PMPEVENT(("%s", text)); -- cgit v1.2.3