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: I9b2273ef758c78d927591c1a0a9f988de739742c
This commit is contained in:
Steve Block
2012-01-08 10:17:01 +00:00
parent b443024341
commit 7284b7e7f3
5 changed files with 24 additions and 24 deletions

View File

@@ -122,7 +122,7 @@ status_t WVMMediaSource::start(MetaData *)
float speed;
WVStatus result = WV_Play(mSession, 1.0, &speed, "now-");
if (result != WV_Status_OK) {
LOGE("WV_Play returned status %d in WVMMediaSource::start\n", result);
ALOGE("WV_Play returned status %d in WVMMediaSource::start\n", result);
return ERROR_IO;
}
@@ -155,7 +155,7 @@ status_t WVMMediaSource::stop()
if (mESSelector == WV_EsSelector_Video) {
WVStatus result = WV_Pause(mSession, "now");
if (result != WV_Status_OK) {
LOGE("WV_Pause returned status %d in WVMMediaSource::stop\n", result);
ALOGE("WV_Pause returned status %d in WVMMediaSource::stop\n", result);
status = ERROR_IO;
}
}
@@ -235,7 +235,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
std::string when = usecToNPT(seekTimeUs) + std::string("-");
WVStatus result = WV_Play(mSession, 1.0, &scaleUsed, when );
if (result != WV_Status_OK) {
LOGE("WV_Play returned status %d in WVMMediaSource::read\n", result);
ALOGE("WV_Play returned status %d in WVMMediaSource::read\n", result);
return ERROR_IO;
}
}
@@ -304,7 +304,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
break;
default:
if (mLogOnce) {
LOGE("WV_GetEsData returned ERROR %d in WVMMediaSource::read\n", result);
ALOGE("WV_GetEsData returned ERROR %d in WVMMediaSource::read\n", result);
mLogOnce = false;
}
status = ERROR_IO;
@@ -396,7 +396,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
FILE *f = fopen(filename, "w");
if (!f)
LOGE("WVMFileSource: can't open %s", filename);
ALOGE("WVMFileSource: can't open %s", filename);
else {
fwrite(mediaBuf->data(), bytesRead + offset, 1, f);
fclose(f);