summaryrefslogtreecommitdiffstats
path: root/libs/utils/StreamingZipInflater.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:20:56 +0000
committerSteve Block <steveblock@google.com>2012-01-08 13:19:13 +0000
commite6f43ddce78d6846af12550ff9193c5c6fe5844b (patch)
tree34a2badff01e4bc942327a56268c62909aa7ccbb /libs/utils/StreamingZipInflater.cpp
parent50d76ddfb00f9d461da895f5d65e8331ae331524 (diff)
downloadframeworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.zip
frameworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.tar.gz
frameworks_native-e6f43ddce78d6846af12550ff9193c5c6fe5844b.tar.bz2
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
Diffstat (limited to 'libs/utils/StreamingZipInflater.cpp')
-rw-r--r--libs/utils/StreamingZipInflater.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/StreamingZipInflater.cpp b/libs/utils/StreamingZipInflater.cpp
index 59a46f9..8512170 100644
--- a/libs/utils/StreamingZipInflater.cpp
+++ b/libs/utils/StreamingZipInflater.cpp
@@ -138,7 +138,7 @@ ssize_t StreamingZipInflater::read(void* outBuf, size_t count) {
if (mInflateState.avail_in == 0) {
int err = readNextChunk();
if (err < 0) {
- LOGE("Unable to access asset data: %d", err);
+ ALOGE("Unable to access asset data: %d", err);
if (!mStreamNeedsInit) {
::inflateEnd(&mInflateState);
initInflateState();
@@ -165,7 +165,7 @@ ssize_t StreamingZipInflater::read(void* outBuf, size_t count) {
if (result == Z_OK) result = ::inflate(&mInflateState, Z_SYNC_FLUSH);
if (result < 0) {
// Whoops, inflation failed
- LOGE("Error inflating asset: %d", result);
+ ALOGE("Error inflating asset: %d", result);
::inflateEnd(&mInflateState);
initInflateState();
return -1;
@@ -195,7 +195,7 @@ int StreamingZipInflater::readNextChunk() {
//ALOGV("Reading input chunk, size %08x didread %08x", toRead, didRead);
if (didRead < 0) {
// TODO: error
- LOGE("Error reading asset data");
+ ALOGE("Error reading asset data");
return didRead;
} else {
mInNextChunkOffset += didRead;