diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:16:58 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 11:26:30 +0000 |
commit | c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef (patch) | |
tree | 76e90a6ae1910835a56e4dad3f60f42392645703 /vm/InitRefs.cpp | |
parent | e8e1ddccd616e8226b7cc1e4e9fdb327429249e8 (diff) | |
download | android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.tar.gz android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.tar.bz2 android_dalvik-c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef.zip |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Also fix an occurrence of LOGW missed in an earlier change.
Bug: 5449033
Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
Diffstat (limited to 'vm/InitRefs.cpp')
-rw-r--r-- | vm/InitRefs.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vm/InitRefs.cpp b/vm/InitRefs.cpp index 6fddf9a2f..c4836045b 100644 --- a/vm/InitRefs.cpp +++ b/vm/InitRefs.cpp @@ -33,7 +33,7 @@ static bool initClassReference(ClassObject** pClass, const char* name) { } if (result == NULL) { - LOGE("Could not find essential class %s", name); + ALOGE("Could not find essential class %s", name); return false; } @@ -156,7 +156,7 @@ static bool initFieldOffset(ClassObject* clazz, int *pOffset, const char* name, const char* type) { int offset = dvmFindFieldOffset(clazz, name, type); if (offset < 0) { - LOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, type); + ALOGE("Could not find essential field %s.%s of type %s", clazz->descriptor, name, type); return false; } @@ -279,7 +279,7 @@ static bool initFieldOffsets() { const struct FieldInfo* fields = classes[i].fields; if (clazz == NULL) { - LOGE("Could not find essential class %s for field lookup", className); + ALOGE("Could not find essential class %s for field lookup", className); return false; } @@ -299,7 +299,7 @@ static bool initDirectMethodReferenceByClass(Method** pMethod, ClassObject* claz Method* method = dvmFindDirectMethodByDescriptor(clazz, name, descriptor); if (method == NULL) { - LOGE("Could not find essential direct method %s.%s with descriptor %s", + ALOGE("Could not find essential direct method %s.%s with descriptor %s", clazz->descriptor, name, descriptor); return false; } @@ -313,7 +313,7 @@ static bool initDirectMethodReference(Method** pMethod, const char* className, ClassObject* clazz = dvmFindSystemClassNoInit(className); if (clazz == NULL) { - LOGE("Could not find essential class %s for direct method lookup", className); + ALOGE("Could not find essential class %s for direct method lookup", className); return false; } @@ -396,14 +396,14 @@ static bool initVirtualMethodOffset(int* pOffset, const char* className, ClassObject* clazz = dvmFindSystemClassNoInit(className); if (clazz == NULL) { - LOGE("Could not find essential class %s for virtual method lookup", className); + ALOGE("Could not find essential class %s for virtual method lookup", className); return false; } Method* method = dvmFindVirtualMethodByDescriptor(clazz, name, descriptor); if (method == NULL) { - LOGE("Could not find essential virtual method %s.%s with descriptor %s", + ALOGE("Could not find essential virtual method %s.%s with descriptor %s", clazz->descriptor, name, descriptor); return false; } @@ -452,7 +452,7 @@ static bool initFinalizerReference() static bool verifyStringOffset(const char* name, int actual, int expected) { if (actual != expected) { - LOGE("InitRefs: String.%s offset = %d; expected %d", name, actual, expected); + ALOGE("InitRefs: String.%s offset = %d; expected %d", name, actual, expected); return false; } @@ -497,7 +497,7 @@ bool dvmFindRequiredClassesAndMembers() { /* (documented in header) */ bool dvmFindReferenceMembers(ClassObject* classReference) { if (strcmp(classReference->descriptor, "Ljava/lang/ref/Reference;") != 0) { - LOGE("Attempt to set up the wrong class as Reference"); + ALOGE("Attempt to set up the wrong class as Reference"); return false; } return initFieldOffset(classReference, &gDvm.offJavaLangRefReference_pendingNext, |