summaryrefslogtreecommitdiffstats
path: root/vm/Native.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-05 23:21:27 +0000
committerSteve Block <steveblock@google.com>2012-01-06 10:04:42 +0000
commite8e1ddccd616e8226b7cc1e4e9fdb327429249e8 (patch)
treebd6714388cbff4c72bb5d7dc3d6f90092afa5931 /vm/Native.cpp
parentc6284c2f24d180091a824698c0b0869f491ceccc (diff)
downloadandroid_dalvik-e8e1ddccd616e8226b7cc1e4e9fdb327429249e8.tar.gz
android_dalvik-e8e1ddccd616e8226b7cc1e4e9fdb327429249e8.tar.bz2
android_dalvik-e8e1ddccd616e8226b7cc1e4e9fdb327429249e8.zip
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: Ia5d301248024df26c2a29dabdfe738e39ec87c82
Diffstat (limited to 'vm/Native.cpp')
-rw-r--r--vm/Native.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm/Native.cpp b/vm/Native.cpp
index be446ec9c..0c2d6d353 100644
--- a/vm/Native.cpp
+++ b/vm/Native.cpp
@@ -116,9 +116,9 @@ void dvmResolveNativeMethod(const u4* args, JValue* pResult,
return;
}
- IF_LOGW() {
+ IF_ALOGW() {
char* desc = dexProtoCopyMethodDescriptor(&method->prototype);
- LOGW("No implementation found for native %s.%s %s",
+ ALOGW("No implementation found for native %s.%s %s",
clazz->descriptor, method->name, desc);
free(desc);
}
@@ -338,7 +338,7 @@ bool dvmLoadNativeCode(const char* pathName, Object* classLoader,
pEntry = findSharedLibEntry(pathName);
if (pEntry != NULL) {
if (pEntry->classLoader != classLoader) {
- LOGW("Shared lib '%s' already opened by CL %p; can't open in %p",
+ ALOGW("Shared lib '%s' already opened by CL %p; can't open in %p",
pathName, pEntry->classLoader, classLoader);
return false;
}
@@ -440,7 +440,7 @@ bool dvmLoadNativeCode(const char* pathName, Object* classLoader,
if (version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 &&
version != JNI_VERSION_1_6)
{
- LOGW("JNI_OnLoad returned bad version (%d) in %s %p",
+ ALOGW("JNI_OnLoad returned bad version (%d) in %s %p",
version, pathName, classLoader);
/*
* It's unwise to call dlclose() here, but we can mark it