aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-04 20:04:31 +0000
committerSteve Block <steveblock@google.com>2012-01-04 20:05:45 +0000
commit92c379019827f5076290356a3a0f2509a006eecf (patch)
tree73324d1541bc6113bbeaa41d5ab819bb5cf9f0b1
parent72ba5ff08b2ee59f79ba674aa47542e44b9ff539 (diff)
downloadquake-92c379019827f5076290356a3a0f2509a006eecf.tar.gz
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
-rw-r--r--quake/src/WinQuake/main.cpp6
-rw-r--r--quake/src/WinQuake/masterMain.cpp4
-rw-r--r--quake/src/WinQuake/sys_android.cpp2
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));