diff options
author | Steve Block <steveblock@google.com> | 2012-01-04 20:05:49 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-04 20:05:49 +0000 |
commit | df64d15042bbd5e0e4933ac49bf3c177dd94752c (patch) | |
tree | ff04eb3e1a1ce8c8d8559b93a438f278d984aa87 /media/libstagefright/NuCachedSource2.cpp | |
parent | b8a805261bf0282e992d3608035e47d05a898710 (diff) | |
download | frameworks_av-df64d15042bbd5e0e4933ac49bf3c177dd94752c.zip frameworks_av-df64d15042bbd5e0e4933ac49bf3c177dd94752c.tar.gz frameworks_av-df64d15042bbd5e0e4933ac49bf3c177dd94752c.tar.bz2 |
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
Diffstat (limited to 'media/libstagefright/NuCachedSource2.cpp')
-rw-r--r-- | media/libstagefright/NuCachedSource2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/media/libstagefright/NuCachedSource2.cpp b/media/libstagefright/NuCachedSource2.cpp index 20d0632..6e5f8ab 100644 --- a/media/libstagefright/NuCachedSource2.cpp +++ b/media/libstagefright/NuCachedSource2.cpp @@ -302,7 +302,7 @@ void NuCachedSource2::fetchInternal() { mNumRetriesLeft = 0; return; } else if (err != OK) { - LOGI("The attempt to reconnect failed, %d retries remaining", + ALOGI("The attempt to reconnect failed, %d retries remaining", mNumRetriesLeft); return; @@ -321,7 +321,7 @@ void NuCachedSource2::fetchInternal() { mFinalStatus = n; mCache->releasePage(page); } else if (n == 0) { - LOGI("ERROR_END_OF_STREAM"); + ALOGI("ERROR_END_OF_STREAM"); mNumRetriesLeft = 0; mFinalStatus = ERROR_END_OF_STREAM; @@ -329,7 +329,7 @@ void NuCachedSource2::fetchInternal() { mCache->releasePage(page); } else { if (mFinalStatus != OK) { - LOGI("retrying a previously failed read succeeded."); + ALOGI("retrying a previously failed read succeeded."); } mNumRetriesLeft = kMaxNumRetries; mFinalStatus = OK; @@ -355,7 +355,7 @@ void NuCachedSource2::onFetch() { if (mFetching || keepAlive) { if (keepAlive) { - LOGI("Keep alive"); + ALOGI("Keep alive"); } fetchInternal(); @@ -363,7 +363,7 @@ void NuCachedSource2::onFetch() { mLastFetchTimeUs = ALooper::GetNowUs(); if (mFetching && mCache->totalSize() >= mHighwaterThresholdBytes) { - LOGI("Cache full, done prefetching for now"); + ALOGI("Cache full, done prefetching for now"); mFetching = false; if (mDisconnectAtHighwatermark @@ -448,7 +448,7 @@ void NuCachedSource2::restartPrefetcherIfNecessary_l( size_t actualBytes = mCache->releaseFromStart(maxBytes); mCacheOffset += actualBytes; - LOGI("restarting prefetcher, totalSize = %d", mCache->totalSize()); + ALOGI("restarting prefetcher, totalSize = %d", mCache->totalSize()); mFetching = true; } @@ -584,7 +584,7 @@ status_t NuCachedSource2::seekInternal_l(off64_t offset) { return OK; } - LOGI("new range: offset= %lld", offset); + ALOGI("new range: offset= %lld", offset); mCacheOffset = offset; |