Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I605079da4a7c01e6555e2aab6f16ccf8cc6ac694
diff --git a/libvideoeditor/lvpp/I420ColorConverter.cpp b/libvideoeditor/lvpp/I420ColorConverter.cpp
index ab66a7a..321d3fe 100755
--- a/libvideoeditor/lvpp/I420ColorConverter.cpp
+++ b/libvideoeditor/lvpp/I420ColorConverter.cpp
@@ -23,7 +23,7 @@
mHandle = dlopen("libI420colorconvert.so", RTLD_NOW);
if (mHandle == NULL) {
- LOGW("I420ColorConverter: cannot load libI420colorconvert.so");
+ ALOGW("I420ColorConverter: cannot load libI420colorconvert.so");
return;
}
@@ -32,7 +32,7 @@
(void (*)(I420ColorConverter*)) dlsym(mHandle, "getI420ColorConverter");
if (getI420ColorConverter == NULL) {
- LOGW("I420ColorConverter: cannot load getI420ColorConverter");
+ ALOGW("I420ColorConverter: cannot load getI420ColorConverter");
dlclose(mHandle);
mHandle = NULL;
return;
diff --git a/libvideoeditor/lvpp/PreviewRenderer.cpp b/libvideoeditor/lvpp/PreviewRenderer.cpp
index 59ac712..7ff7866 100755
--- a/libvideoeditor/lvpp/PreviewRenderer.cpp
+++ b/libvideoeditor/lvpp/PreviewRenderer.cpp
@@ -98,7 +98,7 @@
int err = OK;
if ((err = mSurface->ANativeWindow::dequeueBuffer(mSurface.get(), &mBuf)) != 0) {
- LOGW("Surface::dequeueBuffer returned error %d", err);
+ ALOGW("Surface::dequeueBuffer returned error %d", err);
return;
}
@@ -132,7 +132,7 @@
CHECK_EQ(0, mapper.unlock(mBuf->handle));
if ((err = mSurface->ANativeWindow::queueBuffer(mSurface.get(), mBuf)) != 0) {
- LOGW("Surface::queueBuffer returned error %d", err);
+ ALOGW("Surface::queueBuffer returned error %d", err);
}
}
mBuf = NULL;
diff --git a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
index d96ab31..fdf5570 100755
--- a/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPreviewController.cpp
@@ -1224,7 +1224,7 @@
int info_val = ext2;
// ext1: Media framework error code.
// ext2: Implementation dependant error code.
- //LOGW("MEDIA_INFO; info/warning (%d, %d)", ext1, ext2);
+ //ALOGW("MEDIA_INFO; info/warning (%d, %d)", ext1, ext2);
if(pController->mJniCallback != NULL) {
pController->mJniCallback(pController->mJniCookie,
MSG_TYPE_PROGRESS_INDICATION, &info_val);
diff --git a/libvideoeditor/vss/stagefrightshells/src/VideoEditorAudioDecoder.cpp b/libvideoeditor/vss/stagefrightshells/src/VideoEditorAudioDecoder.cpp
index 62ec51a..02aabae 100755
--- a/libvideoeditor/vss/stagefrightshells/src/VideoEditorAudioDecoder.cpp
+++ b/libvideoeditor/vss/stagefrightshells/src/VideoEditorAudioDecoder.cpp
@@ -163,7 +163,7 @@
for (int i = 0; i < n; i++) {
mBuffers.itemAt(i)->release();
}
- LOGW("VideoEditorAudioDecoderSource::stop : %d buffer remained", n);
+ ALOGW("VideoEditorAudioDecoderSource::stop : %d buffer remained", n);
mBuffers.clear();
}
diff --git a/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp b/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp
index 5e37c1b..49ac2f1 100755
--- a/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp
+++ b/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp
@@ -1311,7 +1311,7 @@
}
if (pEncoderContext->mNbInputFrames != pEncoderContext->mNbOutputFrames) {
- LOGW("Some frames were not encoded: input(%d) != output(%d)",
+ ALOGW("Some frames were not encoded: input(%d) != output(%d)",
pEncoderContext->mNbInputFrames, pEncoderContext->mNbOutputFrames);
}
@@ -1326,7 +1326,7 @@
}
M4OSA_ERR VideoEditorVideoEncoder_regulBitRate(M4ENCODER_Context pContext) {
- LOGW("regulBitRate is not implemented");
+ ALOGW("regulBitRate is not implemented");
return M4NO_ERROR;
}