Home
last modified time | relevance | path

Searched refs:CHECK_ERR (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp449 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
450 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleEncode()
451 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleEncode()
452 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, in testSimpleEncode()
454 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode()
455 CHECK_ERR((loopCounter == 0 && mIsAudio && in testSimpleEncode()
458 CHECK_ERR((loopCounter == 0 && !mIsAudio && in testSimpleEncode()
502 CHECK_ERR((!mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts)), log, in testFlush()
515 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testFlush()
516 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testFlush()
[all …]
DNativeCodecDecoderTest.cpp356 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testSimpleDecode()
357 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleDecode()
358 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleDecode()
359 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode()
360 CHECK_ERR( in testSimpleDecode()
366 CHECK_ERR(loopCounter == 0 && !mIsAudio && in testSimpleDecode()
422 CHECK_ERR(mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), "", in testFlush()
427 CHECK_ERR(!mIsAudio && (!ref->isOutPtsListIdenticalToInpPtsList(false)), "", in testFlush()
475 CHECK_ERR(!test->isPtsStrictlyIncreasing(mPrevOutputPts), "", in testFlush()
489 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testFlush()
[all …]
DNativeCodecEncoderSurfaceTest.cpp567 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
568 CHECK_ERR((0 == mDecInputCount), log, "no input sent", isPass); in testSimpleEncode()
569 CHECK_ERR((0 == mDecOutputCount), log, "no decoder output received", isPass); in testSimpleEncode()
570 CHECK_ERR((0 == mEncOutputCount), log, "no encoder output received", isPass); in testSimpleEncode()
571 CHECK_ERR((mDecInputCount != mDecOutputCount), log, "decoder input count != output count", in testSimpleEncode()
583 CHECK_ERR(loopCounter == 0 && (!ref->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
585 CHECK_ERR(loopCounter != 0 && (!test->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
DNativeCodecTestBase.h40 #define CHECK_ERR(val, strA, strB, result) \ macro