Home
last modified time | relevance | path

Searched refs:hasSeenError (Results 1 – 21 of 21) sorted by relevance

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp118 return !hasSeenError(); in dequeueOutput()
270 return !hasSeenError(); in testConfigureInInitState()
313 return !hasSeenError(); in testConfigureInRunningState()
329 return !hasSeenError(); in testConfigureInUnInitState()
346 return !hasSeenError(); in testDequeueInputBufferInInitState()
368 return !hasSeenError(); in testDequeueInputBufferInRunningState()
390 return !hasSeenError(); in testDequeueInputBufferInUnInitState()
408 return !hasSeenError(); in testDequeueOutputBufferInInitState()
431 return !hasSeenError(); in testDequeueOutputBufferInRunningState()
455 return !hasSeenError(); in testDequeueOutputBufferInUnInitState()
[all …]
DNativeCodecEncoderSurfaceTest.cpp75 bool hasSeenError() { return mAsyncHandleDecoder.getError() || mAsyncHandleEncoder.getError(); } in hasSeenError() function in CodecEncoderSurfaceTest
251 return !hasSeenError(); in configureCodec()
268 if (!hasSeenError() && !mSawDecInputEOS) { in enqueueDecoderEOS()
275 return !hasSeenError(); in enqueueDecoderEOS()
306 return !hasSeenError(); in enqueueDecoderInput()
321 return !hasSeenError(); in dequeueDecoderOutput()
356 return !hasSeenError(); in dequeueEncoderOutput()
361 if (!hasSeenError() && !mSawEncOutputEOS) { in tryEncoderOutput()
373 return !hasSeenError(); in tryEncoderOutput()
402 return !hasSeenError(); in tryEncoderOutput()
[all …]
DNativeCodecTestBase.cpp485 RETURN_IF_TRUE(hasSeenError(), in isTestStateValid()
502 if (!hasSeenError() && !mSawInputEOS) { in enqueueEOS()
509 return !hasSeenError(); in enqueueEOS()
517 while (!hasSeenError() && isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork()
567 return !hasSeenError() && isOk; in doWork()
573 while (!hasSeenError() && isOk && !mSawInputEOS) { in queueEOS()
620 return !hasSeenError() && isOk; in queueEOS()
626 while (!hasSeenError() && isOk && !mSawOutputEOS) { in waitForAllOutputs()
DNativeCodecDecoderTestCommon.cpp212 return !hasSeenError(); in enqueueCodecConfig()
243 return !hasSeenError(); in enqueueInput()
277 return !hasSeenError(); in dequeueOutput()
311 for (mCurrCsdIdx = 0; !hasSeenError() && isOk && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig()
334 return !hasSeenError() && isOk; in queueCodecConfig()
353 return !hasSeenError(); in decodeToMemory()
DNativeCodecTestBase.h202 bool hasSeenError() { return mAsyncHandle.getError(); } in hasSeenError() function
DNativeCodecEncoderTest.cpp266 return !hasSeenError(); in enqueueInput()
296 return !hasSeenError(); in dequeueOutput()
375 return !hasSeenError(); in encodeToMemory()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderSurfaceTestBase.java197 protected boolean hasSeenError() { in hasSeenError() method in CodecEncoderSurfaceTestBase
198 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError()
359 if (!hasSeenError() && !mSawEncOutputEOS) { in tryEncoderOutput()
391 while (!mAsyncHandleDecoder.hasSeenError() && !mSawDecInputEOS) { in queueEOS()
418 while (!hasSeenError() && !mSawDecOutputEOS) { in queueEOS()
446 while (!hasSeenError() && !mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
494 while (!hasSeenError() && !mSawEncOutputEOS) { in waitForAllEncoderOutputs()
508 mAsyncHandleDecoder.hasSeenError()); in validateTestState()
511 mAsyncHandleEncoder.hasSeenError()); in validateTestState()
DCodecDecoderMultiAccessUnitTestBase.java198 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS in doWork()
218 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS) { in queueEOS()
235 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java218 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS in doWork()
238 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
DCodecAsyncHandler.java241 public boolean hasSeenError() { in hasSeenError() method in CodecAsyncHandler
DCodecDecoderTestBase.java302 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < list.size()) { in doWork()
337 for (mCurrCsdIdx = 0; !mAsyncHandle.hasSeenError() && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig()
DCodecTestBase.java1304 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork()
1341 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS()
1373 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
1396 + mAsyncHandle.getErrMsg(), mAsyncHandle.hasSeenError()); in validateTestState()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java88 boolean hasSeenError() { in hasSeenError() method in CodecTranscoderTestBase
89 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError()
215 if (!hasSeenError() && !mSawEncOutputEOS) { in tryEncoderOutput()
256 while (!hasSeenError() && !mSawEncOutputEOS) { in waitForAllEncoderOutputs()
268 while (!mAsyncHandleDecoder.hasSeenError() && !mSawDecInputEOS) { in queueEOS()
295 while (!hasSeenError() && !mSawDecOutputEOS) { in queueEOS()
323 while (!hasSeenError() && !mSawDecInputEOS && frameCnt < frameLimit) { in doWork()
DCodecTestBase.java176 boolean hasSeenError() { in hasSeenError() method in CodecAsyncHandler
337 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork()
374 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS()
406 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
DCodecInitializationLatencyTest.java478 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in calculateInitLatency()
581 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in calculateInitLatency()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderMultiAccessUnitTest.java222 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS in doWork()
242 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS) { in queueEOS()
259 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
DEncoderColorAspectsTest.java221 if (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in tryEncoderOutput()
243 if (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS()
255 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && in doWork()
DEncodeDecodeAccuracyTest.java344 if (!mAsyncHandleEncoder.hasSeenError() && !mSawOutputEOSEnc) { in tryEncoderOutput()
376 while (!mAsyncHandleEncoder.hasSeenError() && !mSawOutputEOSEnc) { in waitForAllEncoderOutputs()
387 if (!mAsyncHandleEncoder.hasSeenError() && !mSawInputEOSEnc) { in queueEOSEnc()
395 while (!mAsyncHandleEncoder.hasSeenError() && !mSawInputEOSEnc && in doWorkEnc()
DCodecEncoderBlockModelMultiAccessUnitTest.java251 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawInputEOS in doWork()
271 while (!mAsyncHandleMultiAccessUnits.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs()
DCodecDecoderDetachedSurfaceTest.java194 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS in doWork()
DCodecUnitTest.java86 public void hasSeenError() { in hasSeenError() method in CodecUnitTest.TestApi
87 assertFalse(mAsyncHandle.hasSeenError()); in hasSeenError()