diff options
| author | Steve Block <steveblock@google.com> | 2011-12-20 16:22:13 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-01-03 22:29:27 +0000 |
| commit | 062bf509a77fce9dfcb7e7b2e401cf2a124d83d5 (patch) | |
| tree | 6015cb53c42eb9ae2d13811da33381701a7c353a /libdex | |
| parent | 26f957278b34144a3f90989ccddb0102fc1fdd62 (diff) | |
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: Ic663376d1ad6a6cb14bf81405ad9afd247cf2f60
Diffstat (limited to 'libdex')
| -rw-r--r-- | libdex/DexFile.cpp | 2 | ||||
| -rw-r--r-- | libdex/SysUtil.cpp | 4 | ||||
| -rw-r--r-- | libdex/ZipArchive.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/libdex/DexFile.cpp b/libdex/DexFile.cpp index 4a2b47ee3..52bc500dd 100644 --- a/libdex/DexFile.cpp +++ b/libdex/DexFile.cpp @@ -516,7 +516,7 @@ size_t dexGetDexCodeSize(const DexCode* pCode) const u1* handlerData = dexGetCatchHandlerData(pCode); - //LOGD("+++ pCode=%p handlerData=%p last offset=%d", + //ALOGD("+++ pCode=%p handlerData=%p last offset=%d", // pCode, handlerData, offset); /* return the size of the catch handler + everything before it */ diff --git a/libdex/SysUtil.cpp b/libdex/SysUtil.cpp index 333016441..d5c952873 100644 --- a/libdex/SysUtil.cpp +++ b/libdex/SysUtil.cpp @@ -246,7 +246,7 @@ int sysMapFileInShmemWritableReadOnly(int fd, MemMapping* pMap) int err = errno; ALOGV("mprotect(%p, %d, PROT_READ) failed: %s", memPtr, length, strerror(err)); - LOGD("mprotect(RO) failed (%d), file will remain read-write", err); + ALOGD("mprotect(RO) failed (%d), file will remain read-write", err); } pMap->baseAddr = pMap->addr = memPtr; @@ -397,7 +397,7 @@ int sysWriteFully(int fd, const void* buf, size_t count, const char* logMsg) LOGE("%s: write failed: %s", logMsg, strerror(err)); return err; } else if (actual != (ssize_t) count) { - LOGD("%s: partial write (will retry): (%d of %zd)", + ALOGD("%s: partial write (will retry): (%d of %zd)", logMsg, (int) actual, count); buf = (const void*) (((const u1*) buf) + actual); } diff --git a/libdex/ZipArchive.cpp b/libdex/ZipArchive.cpp index 6e2aee732..75ee03123 100644 --- a/libdex/ZipArchive.cpp +++ b/libdex/ZipArchive.cpp @@ -170,7 +170,7 @@ static int mapCentralDirectory0(int fd, const char* debugFileName, } } if (i < 0) { - LOGD("Zip: EOCD not found, %s is not zip", debugFileName); + ALOGD("Zip: EOCD not found, %s is not zip", debugFileName); return -1; } |
