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/omx/tests | |
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/omx/tests')
-rw-r--r-- | media/libstagefright/omx/tests/OMXHarness.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/media/libstagefright/omx/tests/OMXHarness.cpp b/media/libstagefright/omx/tests/OMXHarness.cpp index d4354db..3a15a5e 100644 --- a/media/libstagefright/omx/tests/OMXHarness.cpp +++ b/media/libstagefright/omx/tests/OMXHarness.cpp @@ -571,7 +571,7 @@ status_t Harness::testSeek( const char *mime = GetMimeFromComponentRole(componentRole); if (!mime) { - LOGI("Cannot perform seek test with this componentRole (%s)", + ALOGI("Cannot perform seek test with this componentRole (%s)", componentRole); return OK; @@ -597,7 +597,7 @@ status_t Harness::testSeek( int64_t durationUs; CHECK(source->getFormat()->findInt64(kKeyDuration, &durationUs)); - LOGI("stream duration is %lld us (%.2f secs)", + ALOGI("stream duration is %lld us (%.2f secs)", durationUs, durationUs / 1E6); static const int32_t kNumIterations = 5000; @@ -617,19 +617,19 @@ status_t Harness::testSeek( requestedSeekTimeUs = -1; - LOGI("requesting linear read"); + ALOGI("requesting linear read"); } else { if (i == 0 || r < 0.55) { // 5% chance of seeking beyond end of stream. requestedSeekTimeUs = durationUs; - LOGI("requesting seek beyond EOF"); + ALOGI("requesting seek beyond EOF"); } else { requestedSeekTimeUs = (int64_t)(uniform_rand() * durationUs); - LOGI("requesting seek to %lld us (%.2f secs)", + ALOGI("requesting seek to %lld us (%.2f secs)", requestedSeekTimeUs, requestedSeekTimeUs / 1E6); } @@ -649,7 +649,7 @@ status_t Harness::testSeek( buffer = NULL; } - LOGI("nearest keyframe is at %lld us (%.2f secs)", + ALOGI("nearest keyframe is at %lld us (%.2f secs)", actualSeekTimeUs, actualSeekTimeUs / 1E6); } @@ -733,7 +733,7 @@ status_t Harness::testSeek( status_t Harness::test( const char *componentName, const char *componentRole) { printf("testing %s [%s] ... ", componentName, componentRole); - LOGI("testing %s [%s].", componentName, componentRole); + ALOGI("testing %s [%s].", componentName, componentRole); status_t err1 = testStateTransitions(componentName, componentRole); status_t err2 = testSeek(componentName, componentRole); |