/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTranscoderTestBase.java | 229 CodecTestBase.Q_DEQ_TIMEOUT_US * CodecTestBase.RETRY_LIMIT + in tryEncoderOutput() 231 Thread.sleep(CodecTestBase.Q_DEQ_TIMEOUT_US / 1000); in tryEncoderOutput() 257 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 261 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 284 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 288 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 307 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 348 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork() 355 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork() 563 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork() [all …]
|
D | CodecInitializationLatencyTest.java | 498 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in calculateInitLatency() 506 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in calculateInitLatency() 601 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in calculateInitLatency() 609 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in calculateInitLatency()
|
D | CodecTestBase.java | 200 static final long Q_DEQ_TIMEOUT_US = 5000; // block at most 5ms while looking for io buffers field in CodecTestBase 356 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() 363 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() 389 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in queueEOS() 396 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in queueEOS() 415 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in waitForAllOutputs()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecDecoderPerformanceTestBase.java | 67 int inputBufIndex = mDecoder.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() 72 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in doWork()
|
D | CodecEncoderPerformanceTestBase.java | 173 int inputBufIndex = mDecoder.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() 180 int outputBufIndex = mDecoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in doWork() 190 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork()
|
D | CodecPerformanceTestBase.java | 44 static final long Q_DEQ_TIMEOUT_US = 5000; // block at most 5ms while looking for io buffers field in CodecPerformanceTestBase
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderSurfaceTestBase.java | 407 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 411 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 430 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 471 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork() 478 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork() 495 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 499 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs()
|
D | CodecAsyncHandler.java | 159 if (!mCondition.await(CodecTestBase.Q_DEQ_TIMEOUT_US, TimeUnit.MICROSECONDS)) { in waitOnFormatChange()
|
D | CodecDecoderTestBase.java | 319 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() 326 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork()
|
D | CodecTestBase.java | 184 public static final long Q_DEQ_TIMEOUT_US = 5000; 1323 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() 1330 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() 1356 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in queueEOS() 1363 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in queueEOS() 1382 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in waitForAllOutputs()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecodeEditEncodeTest.java | 26 import static android.mediav2.common.cts.CodecTestBase.Q_DEQ_TIMEOUT_US; 514 int inputBufIndex = decoder.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in editVideoData() 553 int encoderStatus = encoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in editVideoData() 604 int decoderStatus = decoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in editVideoData()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncodeDecodeAccuracyTest.java | 377 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 381 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 398 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in doWorkEnc()
|
D | CodecDecoderDetachedSurfaceTest.java | 213 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() 220 int inputBufferId = mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork()
|
D | CodecUnitTest.java | 219 mCodec.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in tryDequeueInputBufferInInvalidState() 229 mCodec.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in tryDequeueOutputBufferInInvalidState() 1297 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputBufferInRunningState() 1405 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputFormatInRunningState() 1847 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputImageInRunningState() 2407 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testReleaseOutputBufferInRunningState()
|