/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 281 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecode() 298 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testSimpleDecode() 302 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testSimpleDecode() 416 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 432 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 438 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testFlush() 442 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testFlush() 533 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testReconfigure() 537 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testReconfigure() 555 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() [all …]
|
D | CodecTestBase.java | 458 CodecAsyncHandler mAsyncHandle; field in CodecTestBase 598 mAsyncHandle.setCallBack(mCodec, isAsync); in configureCodec() 616 mAsyncHandle.clearQueues(); in flushCodec() 636 mAsyncHandle.resetContext(); in resetContext() 661 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 662 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 698 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 699 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in queueEOS() 717 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs() 718 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getOutput(); in waitForAllOutputs() [all …]
|
D | CodecUnitTest.java | 58 assertFalse(mAsyncHandle.hasSeenError()); in hasSeenError() 62 mAsyncHandle = new CodecAsyncHandler(); in TestApi() 763 mAsyncHandle.isInputQueueEmpty()); in testFlushInRunningState() 767 mAsyncHandle.isInputQueueEmpty()); in testFlushInRunningState() 876 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInUnInitState() 886 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInUnInitState() 907 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInInitState() 917 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInInitState() 938 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInRunningState() 953 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInRunningState() [all …]
|
D | CodecDecoderSurfaceTest.java | 225 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecodeToSurface() 303 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 319 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 391 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 407 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 428 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure()
|
D | CodecEncoderTest.java | 307 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleEncode() 401 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 425 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 533 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 552 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 572 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 637 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testOnlyEos() 719 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSetForceSyncFrame() 830 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testAdaptiveBitRate()
|
D | CodecDecoderExtTest.java | 100 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testDecodeAndValidate()
|
D | EncoderColorAspectsTest.java | 208 assertTrue(log + "unexpected error", !mAsyncHandle.hasSeenError()); in testColorAspects()
|
D | EncoderProfileLevelTest.java | 738 assertFalse(log + " unexpected error", mAsyncHandle.hasSeenError()); in testValidateProfileLevel()
|
/cts/tests/media/jni/ |
D | NativeCodecDecoderTest.cpp | 154 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 244 callbackObject element = mAsyncHandle.getInput(); in queueCodecConfig() 352 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testSimpleDecode() 357 ? mAsyncHandle.getOutputFormat() in testSimpleDecode() 484 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testFlush() 489 ? mAsyncHandle.getOutputFormat() in testFlush() 616 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testSimpleDecodeQueueCSD() 621 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() in testSimpleDecodeQueueCSD()
|
D | NativeCodecTestBase.cpp | 370 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 381 mAsyncHandle.clearQueues(); in flushCodec() 397 mAsyncHandle.resetContext(); in resetContext() 429 callbackObject element = mAsyncHandle.getWork(); in doWork() 477 callbackObject element = mAsyncHandle.getInput(); in queueEOS() 500 callbackObject element = mAsyncHandle.getOutput(); in waitForAllOutputs()
|
D | NativeCodecTestBase.h | 126 CodecAsyncHandler mAsyncHandle; variable 162 bool hasSeenError() { return mAsyncHandle.getError(); } in hasSeenError()
|
D | NativeCodecUnitTest.cpp | 474 if (!mAsyncHandle.isInputQueueEmpty()) { in testFlushInRunningState() 480 if (mAsyncHandle.isInputQueueEmpty()) { in testFlushInRunningState() 593 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInInitState() 629 if (AMEDIA_OK == mAsyncHandle.setCallBack(mCodec, true)) { in testSetAsyncNotifyCallbackInRunningState() 646 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInUnInitState() 657 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInUnInitState() 700 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testGetInputBufferInRunningState() 850 callbackObject element = mAsyncHandle.getOutput(); in testGetOutputBufferInRunningState() 1184 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadSize() 1212 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadBuffInfo() [all …]
|