summaryrefslogtreecommitdiff
path: root/libs/utils/Asset.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 17:20:58 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2012-01-19 17:20:58 -0800
commitd6b5584b67f8a2f3d8ea20d748652673d5761e33 (patch)
treee5ada3e1f246c08651a7f20738ffa5aeee954ab8 /libs/utils/Asset.cpp
parentfd266b36826aa6dd8cd3fa00c159a094423899fb (diff)
parent97aa8ee81198234aedffceaf71ad216b96323393 (diff)
am 97aa8ee8: Merge ee4618bc
* commit '97aa8ee81198234aedffceaf71ad216b96323393': Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)
Diffstat (limited to 'libs/utils/Asset.cpp')
-rw-r--r--libs/utils/Asset.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/utils/Asset.cpp b/libs/utils/Asset.cpp
index a18294b18c8b..7fd2c8731475 100644
--- a/libs/utils/Asset.cpp
+++ b/libs/utils/Asset.cpp
@@ -585,7 +585,7 @@ const void* _FileAsset::getBuffer(bool wordAligned)
return NULL;
}
- LOGV("Asset %p allocating buffer size %d (smaller than threshold)", this, (int)allocLen);
+ ALOGV("Asset %p allocating buffer size %d (smaller than threshold)", this, (int)allocLen);
if (mLength > 0) {
long oldPosn = ftell(mFp);
fseek(mFp, mStart, SEEK_SET);
@@ -597,7 +597,7 @@ const void* _FileAsset::getBuffer(bool wordAligned)
fseek(mFp, oldPosn, SEEK_SET);
}
- LOGV(" getBuffer: loaded into buffer\n");
+ ALOGV(" getBuffer: loaded into buffer\n");
mBuf = buf;
return mBuf;
@@ -610,7 +610,7 @@ const void* _FileAsset::getBuffer(bool wordAligned)
return NULL;
}
- LOGV(" getBuffer: mapped\n");
+ ALOGV(" getBuffer: mapped\n");
mMap = map;
if (!wordAligned) {
@@ -648,13 +648,13 @@ const void* _FileAsset::ensureAlignment(FileMap* map)
if ((((size_t)data)&0x3) == 0) {
// We can return this directly if it is aligned on a word
// boundary.
- LOGV("Returning aligned FileAsset %p (%s).", this,
+ ALOGV("Returning aligned FileAsset %p (%s).", this,
getAssetSource());
return data;
}
// If not aligned on a word boundary, then we need to copy it into
// our own buffer.
- LOGV("Copying FileAsset %p (%s) to buffer size %d to make it aligned.", this,
+ ALOGV("Copying FileAsset %p (%s) to buffer size %d to make it aligned.", this,
getAssetSource(), (int)mLength);
unsigned char* buf = new unsigned char[mLength];
if (buf == NULL) {