Lines Matching refs:log

406                 char log[1000];  in testSimpleEncode()  local
407 snprintf(log, sizeof(log), in testSimpleEncode()
419 ALOGE("%s unable to create media codec by name %s", log, encoder); in testSimpleEncode()
426 ALOGE("%s error codec-name act/got: %s/%s", log, name, encoder); in testSimpleEncode()
443 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
444 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleEncode()
445 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleEncode()
446 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, in testSimpleEncode()
448 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode()
451 log, "pts is not strictly increasing", isPass); in testSimpleEncode()
454 log, "input pts list and output pts list are not identical", isPass); in testSimpleEncode()
473 char log[1000]; in testFlush() local
474 snprintf(log, sizeof(log), in testFlush()
496 CHECK_ERR((!mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts)), log, in testFlush()
509 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testFlush()
510 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testFlush()
511 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testFlush()
512 CHECK_ERR((mIsAudio && !mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts)), log, in testFlush()
514 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testFlush()
517 log, "input pts list and output pts list are not identical", isPass); in testFlush()
529 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testFlush()
530 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testFlush()
531 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testFlush()
532 CHECK_ERR((mIsAudio && !mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts)), log, in testFlush()
534 CHECK_ERR(!mIsAudio && (mInputCount != mOutputCount), log, "input cnt != output cnt", in testFlush()
537 log, "input pts list and output pts list are not identical", isPass); in testFlush()
582 char log[1000]; in testReconfigure() local
583 snprintf(log, sizeof(log), in testReconfigure()
591 ALOGE("%s unable to create media codec by name %s", log, encoder); in testReconfigure()
617 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure()
618 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testReconfigure()
619 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testReconfigure()
620 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testReconfigure()
622 CHECK_ERR((!ref->equals(test)), log, "output is flaky", isPass); in testReconfigure()
633 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure()
634 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testReconfigure()
635 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testReconfigure()
636 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testReconfigure()
638 CHECK_ERR((!ref->equals(test)), log, "output is flaky", isPass); in testReconfigure()
649 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure()
650 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testReconfigure()
651 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testReconfigure()
652 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testReconfigure()
654 CHECK_ERR((!configRef->equals(test)), log, "output is flaky", isPass); in testReconfigure()
676 char log[1000]; in testOnlyEos() local
677 snprintf(log, sizeof(log), in testOnlyEos()
698 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testOnlyEos()
699 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testOnlyEos()
701 log, "pts is not strictly increasing", isPass); in testOnlyEos()
704 log, "input pts list and output pts list are not identical", isPass); in testOnlyEos()
730 char log[1000]; in testSetForceSyncFrame() local
731 snprintf(log, sizeof(log), in testSetForceSyncFrame()
740 ALOGE("%s unable to create media codec by name %s", log, encoder); in testSetForceSyncFrame()
757 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSetForceSyncFrame()
758 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSetForceSyncFrame()
759 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSetForceSyncFrame()
760 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testSetForceSyncFrame()
762 CHECK_ERR((!mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0)), log, in testSetForceSyncFrame()
764 CHECK_ERR((mNumSyncFramesReceived < kNumKeyFrameRequests), log, in testSetForceSyncFrame()
807 char log[1000]; in testAdaptiveBitRate() local
808 snprintf(log, sizeof(log), in testAdaptiveBitRate()
817 ALOGE("%s unable to create media codec by name %s", log, encoder); in testAdaptiveBitRate()
840 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testAdaptiveBitRate()
841 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testAdaptiveBitRate()
842 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testAdaptiveBitRate()
843 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testAdaptiveBitRate()
845 CHECK_ERR((!mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0)), log, in testAdaptiveBitRate()
850 ALOGD("%s relative bitrate error is %f %%", log, brDev); in testAdaptiveBitRate()
852 ALOGE("%s relative bitrate error is is too large %f %%", log, brDev); in testAdaptiveBitRate()