Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e70ff370 authored by Steve Block's avatar Steve Block
Browse files

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
parent ec9e663f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ I420ColorConverter::I420ColorConverter() {
    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 @@ I420ColorConverter::I420ColorConverter() {
        (void (*)(I420ColorConverter*)) dlsym(mHandle, "getI420ColorConverter");

    if (getI420ColorConverter == NULL) {
        LOGW("I420ColorConverter: cannot load getI420ColorConverter");
        ALOGW("I420ColorConverter: cannot load getI420ColorConverter");
        dlclose(mHandle);
        mHandle = NULL;
        return;
+2 −2
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ void PreviewRenderer::getBufferYV12(uint8_t **data, size_t *stride) {
    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 @@ void PreviewRenderer::renderYV12() {
        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;
+1 −1
Original line number Diff line number Diff line
@@ -1224,7 +1224,7 @@ void VideoEditorPreviewController::notify(
            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);
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ status_t VideoEditorAudioDecoderSource::stop() {
        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();
    }

+2 −2
Original line number Diff line number Diff line
@@ -1311,7 +1311,7 @@ M4OSA_ERR VideoEditorVideoEncoder_stop(M4ENCODER_Context pContext) {
    }

    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 @@ cleanUp:
}

M4OSA_ERR VideoEditorVideoEncoder_regulBitRate(M4ENCODER_Context pContext) {
    LOGW("regulBitRate is not implemented");
    ALOGW("regulBitRate is not implemented");
    return M4NO_ERROR;
}