/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderColorAspectsTest.java | 221 if (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in tryEncoderOutput() 223 mAsyncHandle.waitOnFormatChange(); in tryEncoderOutput() 225 int actualLatency = mAsyncHandle.getOutputFormat() in tryEncoderOutput() 232 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getOutput(); in tryEncoderOutput() 243 if (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 255 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && in doWork()
|
D | CodecUnitTest.java | 87 assertFalse(mAsyncHandle.hasSeenError()); in hasSeenError() 95 mAsyncHandle = new CodecAsyncHandlerMultiAccessUnits(); in setUpMultipleAccessUnitsAsyncHandle() 96 Object asyncHandle = mAsyncHandle; in setUpMultipleAccessUnitsAsyncHandle() 856 mAsyncHandle.isInputQueueEmpty()); in testFlushInRunningState() 860 mAsyncHandle.isInputQueueEmpty()); in testFlushInRunningState() 987 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInUnInitState() 997 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInUnInitState() 1019 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInInitState() 1029 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInInitState() 1051 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInRunningState() [all …]
|
D | CodecEncoderMultiAccessUnitTest.java | 130 mAsyncHandle = new CodecAsyncHandlerMultiAccessUnits(); in CodecEncoderMultiAccessUnitTest() 143 Object asyncHandle = mAsyncHandle; in setUp()
|
D | CodecEncoderBlockModelMultiAccessUnitTest.java | 133 mAsyncHandle = new CodecAsyncHandlerMultiAccessUnits(); in CodecEncoderBlockModelMultiAccessUnitTest() 146 Object asyncHandle = mAsyncHandle; in setUp()
|
D | CodecDecoderDetachedSurfaceTest.java | 194 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS in doWork() 196 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork()
|
D | CodecDecoderTest.java | 329 mIsCodecInAsyncMode ? mAsyncHandle.hasOutputFormatChanged() : in doOutputFormatChecks() 332 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in doOutputFormatChecks()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 211 CodecAsyncHandler mAsyncHandle; field in CodecTestBase 297 mAsyncHandle.setCallBack(mCodec, isAsync); in configureCodec() 310 mAsyncHandle.resetContext(); in resetContext() 337 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 338 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 374 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 375 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in queueEOS() 406 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs() 407 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getOutput(); in waitForAllOutputs() 567 mAsyncHandle = new CodecAsyncHandler(); in CodecDecoderTestBase() [all …]
|
D | CodecInitializationLatencyTest.java | 470 mAsyncHandle.setCallBack(mCodec, mIsAsync); in calculateInitLatency() 478 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in calculateInitLatency() 479 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in calculateInitLatency() 573 mAsyncHandle.setCallBack(mCodec, mIsAsync); in calculateInitLatency() 581 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in calculateInitLatency() 582 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in calculateInitLatency()
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 442 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 453 mAsyncHandle.clearQueues(); in flushCodec() 469 mAsyncHandle.resetContext(); in resetContext() 487 mAsyncHandle.getErrorMsg())) in isTestStateValid() 518 callbackObject element = mAsyncHandle.getWork(); in doWork() 574 callbackObject element = mAsyncHandle.getWork(); in queueEOS() 627 callbackObject element = mAsyncHandle.getOutput(); in waitForAllOutputs()
|
D | NativeCodecTestBase.h | 162 CodecAsyncHandler mAsyncHandle; variable 202 bool hasSeenError() { return mAsyncHandle.getError(); } in hasSeenError()
|
D | NativeCodecDecoderTestCommon.cpp | 191 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in configureCodec() 262 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in dequeueOutput() 293 RETURN_IF_TRUE(mIsCodecInAsyncMode ? !mAsyncHandle.hasOutputFormatChanged() in isOutputFormatOk() 298 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() in isOutputFormatOk() 304 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat)) in isOutputFormatOk() 313 callbackObject element = mAsyncHandle.getInput(); in queueCodecConfig()
|
D | NativeCodecUnitTest.cpp | 483 if (!mAsyncHandle.isInputQueueEmpty()) { in testFlushInRunningState() 489 if (mAsyncHandle.isInputQueueEmpty()) { in testFlushInRunningState() 602 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInInitState() 638 if (AMEDIA_OK == mAsyncHandle.setCallBack(mCodec, true)) { in testSetAsyncNotifyCallbackInRunningState() 655 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInUnInitState() 666 RETURN_IF_FAIL(mAsyncHandle.setCallBack(mCodec, isAsync), in testSetAsyncNotifyCallbackInUnInitState() 709 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testGetInputBufferInRunningState() 863 callbackObject element = mAsyncHandle.getOutput(); in testGetOutputBufferInRunningState() 1203 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadSize() 1232 int bufferIndex = mIsCodecInAsyncMode ? mAsyncHandle.getInput().bufferIndex in testQueueInputBufferWithBadBuffInfo() [all …]
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecTestBase.java | 355 mAsyncHandle = new CodecAsyncHandler(); in CodecTestBase() 366 protected CodecAsyncHandler mAsyncHandle; field in CodecTestBase 1177 mAsyncHandle.setCallBack(mCodec, isAsync); in configureCodecCommon() 1249 return mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in getOutputFormat() 1259 mAsyncHandle.clearQueues(); in flushCodec() 1279 mAsyncHandle.resetContext(); in resetContext() 1304 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 1305 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 1341 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 1342 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in queueEOS() [all …]
|
D | CodecDecoderTestBase.java | 302 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < list.size()) { in doWork() 303 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getWork(); in doWork() 337 for (mCurrCsdIdx = 0; !mAsyncHandle.hasSeenError() && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig() 339 Pair<Integer, MediaCodec.BufferInfo> element = mAsyncHandle.getInput(); in queueCodecConfig()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 57 mAsyncHandle = mAsyncHandleMultiAccessUnits; in CodecDecoderMultiAccessUnitTestBase()
|
D | CodecDecoderBlockModelMultiAccessUnitTestBase.java | 63 mAsyncHandle = mAsyncHandleMultiAccessUnits; in CodecDecoderBlockModelMultiAccessUnitTestBase()
|