/cts/tests/media/jni/ |
D | NativeCodecUnitTest.cpp | 117 return !hasSeenError(); in dequeueOutput() 265 return !hasSeenError(); in testConfigureInInitState() 304 return !hasSeenError(); in testConfigureInRunningState() 320 return !hasSeenError(); in testConfigureInUnInitState() 337 return !hasSeenError(); in testDequeueInputBufferInInitState() 359 return !hasSeenError(); in testDequeueInputBufferInRunningState() 381 return !hasSeenError(); in testDequeueInputBufferInUnInitState() 399 return !hasSeenError(); in testDequeueOutputBufferInInitState() 422 return !hasSeenError(); in testDequeueOutputBufferInRunningState() 446 return !hasSeenError(); in testDequeueOutputBufferInUnInitState() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 73 bool hasSeenError() { return mAsyncHandleDecoder.getError() || mAsyncHandleEncoder.getError(); } in hasSeenError() function in CodecEncoderSurfaceTest 176 return !hasSeenError(); in configureCodec() 209 if (!hasSeenError() && !mSawDecInputEOS) { in enqueueDecoderEOS() 216 return !hasSeenError(); in enqueueDecoderEOS() 252 return !hasSeenError(); in enqueueDecoderInput() 267 return !hasSeenError(); in dequeueDecoderOutput() 298 return !hasSeenError(); in dequeueEncoderOutput() 303 if (!hasSeenError() && !mSawEncOutputEOS) { in tryEncoderOutput() 324 return !hasSeenError(); in tryEncoderOutput() 329 while (!hasSeenError() && !mSawEncOutputEOS) { in waitForAllEncoderOutputs() [all …]
|
D | NativeCodecDecoderTest.cpp | 179 return !hasSeenError(); in enqueueCodecConfig() 215 return !hasSeenError(); in enqueueInput() 236 return !hasSeenError(); in dequeueOutput() 242 for (mCurrCsdIdx = 0; !hasSeenError() && isOk && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig() 261 return !hasSeenError() && isOk; in queueCodecConfig() 283 return !hasSeenError(); in decodeToMemory() 341 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testSimpleDecode() 460 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testFlush() 479 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testFlush() 530 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testOnlyEos() [all …]
|
D | NativeCodecTestBase.cpp | 413 if (!hasSeenError() && !mSawInputEOS) { in enqueueEOS() 420 return !hasSeenError(); in enqueueEOS() 428 while (!hasSeenError() && isOk && !mSawInputEOS && frameCnt < frameLimit) { in doWork() 470 return !hasSeenError() && isOk; in doWork() 476 if (!hasSeenError() && isOk && !mSawInputEOS) { in queueEOS() 493 return !hasSeenError() && isOk; in queueEOS() 499 while (!hasSeenError() && isOk && !mSawOutputEOS) { in waitForAllOutputs() 526 return !hasSeenError() && isOk; in waitForAllOutputs()
|
D | NativeCodecEncoderTest.cpp | 310 return !hasSeenError(); in enqueueInput() 336 return !hasSeenError(); in dequeueOutput() 372 return !hasSeenError(); in encodeToMemory() 443 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode() 509 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testFlush() 529 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testFlush() 617 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure() 633 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure() 649 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testReconfigure() 698 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testOnlyEos() [all …]
|
D | NativeCodecTestBase.h | 162 bool hasSeenError() { return mAsyncHandle.getError(); } in hasSeenError() function
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecEncoderSurfaceTest.java | 173 private boolean hasSeenError() { in hasSeenError() method in CodecEncoderSurfaceTest 174 return mAsyncHandleDecoder.hasSeenError() || mAsyncHandleEncoder.hasSeenError(); in hasSeenError() 311 if (!hasSeenError() && !mSawEncOutputEOS) { in tryEncoderOutput() 330 while (!hasSeenError() && !mSawEncOutputEOS) { in waitForAllEncoderOutputs() 342 while (!mAsyncHandleDecoder.hasSeenError() && !mSawDecInputEOS) { in queueEOS() 358 while (!hasSeenError() && !mSawDecOutputEOS) { in queueEOS() 388 while (!hasSeenError() && !mSawDecInputEOS && frameCnt < frameLimit) { in doWork() 521 assertTrue(log + " unexpected error", !hasSeenError()); in testSimpleEncodeFromSurface()
|
D | CodecDecoderTest.java | 281 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecode() 416 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 432 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 555 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 580 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 616 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testReconfigure() 665 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testOnlyEos() 756 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecodeQueueCSD() 850 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testDecodePartialFrame()
|
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 | CodecTestBase.java | 192 boolean hasSeenError() { in hasSeenError() method in CodecAsyncHandler 661 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 698 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS) { in queueEOS() 717 while (!mAsyncHandle.hasSeenError() && !mSawOutputEOS) { in waitForAllOutputs() 987 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < list.size()) { in doWork() 1022 for (mCurrCsdIdx = 0; !mAsyncHandle.hasSeenError() && mCurrCsdIdx < mCsdBuffers.size(); in queueCodecConfig()
|
D | EncoderColorAspectsTest.java | 208 assertTrue(log + "unexpected error", !mAsyncHandle.hasSeenError()); in testColorAspects()
|
D | EncoderProfileLevelTest.java | 738 assertFalse(log + " unexpected error", mAsyncHandle.hasSeenError()); in testValidateProfileLevel()
|
D | CodecUnitTest.java | 57 public void hasSeenError() { in hasSeenError() method in CodecUnitTest.TestApi 58 assertFalse(mAsyncHandle.hasSeenError()); in hasSeenError()
|