/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 249 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecode() 266 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testSimpleDecode() 270 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testSimpleDecode() 361 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 377 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 383 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testFlush() 387 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testFlush() 472 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in testReconfigure() 476 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : in testReconfigure() 495 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() [all …]
|
D | CodecEncoderTest.java | 206 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleEncode() 272 assertTrue(log + "unexpected error", !mAsyncHandle.hasSeenError()); in testLosslessEncodeDecode() 367 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 392 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 495 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 514 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 534 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 596 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testOnlyEos() 674 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSetForceSyncFrame() 782 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testAdaptiveBitRate()
|
D | CodecDecoderSurfaceTest.java | 176 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecodeToSurface() 260 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 282 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 363 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 384 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 411 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure()
|
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 | CodecTestBase.java | 532 CodecAsyncHandler mAsyncHandle; field in CodecTestBase 822 mAsyncHandle.setCallBack(mCodec, isAsync); in configureCodec() 840 mAsyncHandle.clearQueues(); in flushCodec() 860 mAsyncHandle.resetContext(); in resetContext() 885 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 886 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 922 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 923 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in queueEOS() 954 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs() 955 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getOutput(); in waitForAllOutputs() [all …]
|
D | CodecDecoderPauseTest.java | 115 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testPause()
|
D | EncoderColorAspectsTest.java | 178 assertTrue(log + "unexpected error", !mAsyncHandle.hasSeenError()); in testColorAspects()
|
D | CodecDecoderValidationTest.java | 490 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testDecodeAndValidate()
|
D | EncoderProfileLevelTest.java | 766 assertFalse(log + " unexpected error", mAsyncHandle.hasSeenError()); in testValidateProfileLevel()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 186 CodecAsyncHandler mAsyncHandle; field in CodecTestBase 208 mAsyncHandle.setCallBack(mCodec, isAsync); in configureCodec() 221 mAsyncHandle.resetContext(); in resetContext() 246 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 247 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 283 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 284 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in queueEOS() 315 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs() 316 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getOutput(); in waitForAllOutputs() 401 mAsyncHandle = new CodecAsyncHandler(); in CodecDecoderTestBase() [all …]
|
D | EncoderInitializationLatencyTest.java | 401 mAsyncHandle.setCallBack(mCodec, mIsAsync); in calculateEncoderInitializationLatency() 408 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in calculateEncoderInitializationLatency() 409 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in calculateEncoderInitializationLatency()
|
/cts/tests/media/jni/ |
D | NativeCodecDecoderTest.cpp | 158 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 236 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in dequeueOutput() 259 callbackObject element = mAsyncHandle.getInput(); in queueCodecConfig() 371 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testSimpleDecode() 376 ? mAsyncHandle.getOutputFormat() in testSimpleDecode() 513 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testFlush() 518 ? mAsyncHandle.getOutputFormat() in testFlush() 645 if (mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in testSimpleDecodeQueueCSD() 650 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() in testSimpleDecodeQueueCSD()
|
D | NativeCodecTestBase.h | 129 CodecAsyncHandler mAsyncHandle; variable 165 bool hasSeenError() { return mAsyncHandle.getError(); } in hasSeenError()
|
D | NativeCodecTestBase.cpp | 361 CHECK_STATUS(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 372 mAsyncHandle.clearQueues(); in flushCodec() 388 mAsyncHandle.resetContext(); in resetContext() 420 callbackObject element = mAsyncHandle.getWork(); in doWork() 468 callbackObject element = mAsyncHandle.getWork(); in queueEOS() 513 callbackObject element = mAsyncHandle.getOutput(); in waitForAllOutputs()
|
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() 854 callbackObject element = mAsyncHandle.getOutput(); in testGetOutputBufferInRunningState() 1192 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadSize() 1220 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadBuffInfo() [all …]
|