Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp443 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()
449 CHECK_ERR((loopCounter == 0 && mIsAudio && in testSimpleEncode()
452 CHECK_ERR((loopCounter == 0 && !mIsAudio && in testSimpleEncode()
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()
[all …]
DNativeCodecDecoderTest.cpp341 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testSimpleDecode()
342 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleDecode()
343 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleDecode()
344 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode()
345 CHECK_ERR( in testSimpleDecode()
348 CHECK_ERR(loopCounter == 0 && !mIsAudio && in testSimpleDecode()
397 CHECK_ERR(mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), "", in testFlush()
399 CHECK_ERR(!mIsAudio && (!ref->isOutPtsListIdenticalToInpPtsList(false)), "", in testFlush()
446 CHECK_ERR(!test->isPtsStrictlyIncreasing(mPrevOutputPts), "", in testFlush()
460 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testFlush()
[all …]
DNativeCodecEncoderSurfaceTest.cpp524 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
525 CHECK_ERR((0 == mDecInputCount), log, "no input sent", isPass); in testSimpleEncode()
526 CHECK_ERR((0 == mDecOutputCount), log, "no decoder output received", isPass); in testSimpleEncode()
527 CHECK_ERR((0 == mEncOutputCount), log, "no encoder output received", isPass); in testSimpleEncode()
528 CHECK_ERR((mDecInputCount != mDecOutputCount), log, "decoder input count != output count", in testSimpleEncode()
540 CHECK_ERR(loopCounter == 0 && (!ref->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
542 CHECK_ERR(loopCounter != 0 && (!test->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
DNativeCodecTestBase.h37 #define CHECK_ERR(val, strA, strB, result) \ macro