Lines Matching refs:NativeCodecUnitTest

29 class NativeCodecUnitTest final : CodecTestBase {  class
38 NativeCodecUnitTest(const char* mime);
39 ~NativeCodecUnitTest();
97 NativeCodecUnitTest::NativeCodecUnitTest(const char* mime) : CodecTestBase(mime) { in NativeCodecUnitTest() function in NativeCodecUnitTest
101 NativeCodecUnitTest::~NativeCodecUnitTest() { in ~NativeCodecUnitTest()
106 bool NativeCodecUnitTest::enqueueInput(size_t bufferIndex) { in enqueueInput()
111 bool NativeCodecUnitTest::dequeueOutput(size_t bufferIndex, AMediaCodecBufferInfo* info) { in dequeueOutput()
141 bool NativeCodecUnitTest::setupCodec(bool isAudio, bool isEncoder) { in setupCodec()
204 bool NativeCodecUnitTest::testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder) { in testConfigureCodecForIncompleteFormat()
238 bool NativeCodecUnitTest::testConfigureCodecForBadFlags(bool isEncoder) { in testConfigureCodecForBadFlags()
251 bool NativeCodecUnitTest::testConfigureInInitState() { in testConfigureInInitState()
268 bool NativeCodecUnitTest::testConfigureInRunningState() { in testConfigureInRunningState()
307 bool NativeCodecUnitTest::testConfigureInUnInitState() { in testConfigureInUnInitState()
323 bool NativeCodecUnitTest::testDequeueInputBufferInInitState() { in testDequeueInputBufferInInitState()
340 bool NativeCodecUnitTest::testDequeueInputBufferInRunningState() { in testDequeueInputBufferInRunningState()
362 bool NativeCodecUnitTest::testDequeueInputBufferInUnInitState() { in testDequeueInputBufferInUnInitState()
384 bool NativeCodecUnitTest::testDequeueOutputBufferInInitState() { in testDequeueOutputBufferInInitState()
402 bool NativeCodecUnitTest::testDequeueOutputBufferInRunningState() { in testDequeueOutputBufferInRunningState()
425 bool NativeCodecUnitTest::testDequeueOutputBufferInUnInitState() { in testDequeueOutputBufferInUnInitState()
449 bool NativeCodecUnitTest::testFlushInInitState() { in testFlushInInitState()
465 bool NativeCodecUnitTest::testFlushInRunningState() { in testFlushInRunningState()
488 bool NativeCodecUnitTest::testFlushInUnInitState() { in testFlushInUnInitState()
509 bool NativeCodecUnitTest::testGetNameInInitState() { in testGetNameInInitState()
528 bool NativeCodecUnitTest::testGetNameInRunningState() { in testGetNameInRunningState()
557 bool NativeCodecUnitTest::testGetNameInUnInitState() { in testGetNameInUnInitState()
584 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInInitState() { in testSetAsyncNotifyCallbackInInitState()
620 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInRunningState() { in testSetAsyncNotifyCallbackInRunningState()
640 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInUnInitState() { in testSetAsyncNotifyCallbackInUnInitState()
669 bool NativeCodecUnitTest::testGetInputBufferInInitState() { in testGetInputBufferInInitState()
687 bool NativeCodecUnitTest::testGetInputBufferInRunningState() { in testGetInputBufferInRunningState()
714 bool NativeCodecUnitTest::testGetInputBufferInUnInitState() { in testGetInputBufferInUnInitState()
736 bool NativeCodecUnitTest::testGetInputFormatInInitState() { in testGetInputFormatInInitState()
759 bool NativeCodecUnitTest::testGetInputFormatInRunningState() { in testGetInputFormatInRunningState()
783 bool NativeCodecUnitTest::testGetInputFormatInUnInitState() { in testGetInputFormatInUnInitState()
816 bool NativeCodecUnitTest::testGetOutputBufferInInitState() { in testGetOutputBufferInInitState()
833 bool NativeCodecUnitTest::testGetOutputBufferInRunningState() { in testGetOutputBufferInRunningState()
891 bool NativeCodecUnitTest::testGetOutputBufferInUnInitState() { in testGetOutputBufferInUnInitState()
913 bool NativeCodecUnitTest::testGetOutputFormatInInitState() { in testGetOutputFormatInInitState()
936 bool NativeCodecUnitTest::testGetOutputFormatInRunningState() { in testGetOutputFormatInRunningState()
960 bool NativeCodecUnitTest::testGetOutputFormatInUnInitState() { in testGetOutputFormatInUnInitState()
991 bool NativeCodecUnitTest::testSetParametersInInitState() { in testSetParametersInInitState()
1013 bool NativeCodecUnitTest::testSetParametersInRunningState() { in testSetParametersInRunningState()
1054 bool NativeCodecUnitTest::testSetParametersInUnInitState() { in testSetParametersInUnInitState()
1077 bool NativeCodecUnitTest::testStartInRunningState() { in testStartInRunningState()
1091 bool NativeCodecUnitTest::testStartInUnInitState() { in testStartInUnInitState()
1109 bool NativeCodecUnitTest::testStopInInitState() { in testStopInInitState()
1121 bool NativeCodecUnitTest::testStopInRunningState() { in testStopInRunningState()
1135 bool NativeCodecUnitTest::testStopInUnInitState() { in testStopInUnInitState()
1149 bool NativeCodecUnitTest::testQueueInputBufferInInitState() { in testQueueInputBufferInInitState()
1166 bool NativeCodecUnitTest::testQueueInputBufferWithBadIndex() { in testQueueInputBufferWithBadIndex()
1184 bool NativeCodecUnitTest::testQueueInputBufferWithBadSize() { in testQueueInputBufferWithBadSize()
1212 bool NativeCodecUnitTest::testQueueInputBufferWithBadBuffInfo() { in testQueueInputBufferWithBadBuffInfo()
1239 bool NativeCodecUnitTest::testQueueInputBufferWithBadOffset() { in testQueueInputBufferWithBadOffset()
1257 bool NativeCodecUnitTest::testQueueInputBufferInUnInitState() { in testQueueInputBufferInUnInitState()
1280 bool NativeCodecUnitTest::testReleaseOutputBufferInInitState() { in testReleaseOutputBufferInInitState()
1296 bool NativeCodecUnitTest::testReleaseOutputBufferInRunningState() { in testReleaseOutputBufferInRunningState()
1353 bool NativeCodecUnitTest::testReleaseOutputBufferInUnInitState() { in testReleaseOutputBufferInUnInitState()
1374 bool NativeCodecUnitTest::testGetBufferFormatInInitState() { in testGetBufferFormatInInitState()
1395 bool NativeCodecUnitTest::testGetBufferFormatInRunningState() { in testGetBufferFormatInRunningState()
1473 bool NativeCodecUnitTest::testGetBufferFormatInUnInitState() { in testGetBufferFormatInUnInitState()
1604 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureCodecForIncompleteFormat()
1611 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureEncoderForBadFlags()
1619 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureDecoderForBadFlags()
1627 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInInitState()
1634 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInRunningState()
1641 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInUnInitState()
1648 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInInitState()
1655 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInRunningState()
1662 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInUnInitState()
1669 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInInitState()
1676 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInRunningState()
1683 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInUnInitState()
1690 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInInitState()
1697 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInRunningState()
1704 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInUnInitState()
1711 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInInitState()
1718 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInRunningState()
1725 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInUnInitState()
1732 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInInitState()
1739 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInRunningState()
1746 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInUnInitState()
1753 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInInitState()
1760 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInRunningState()
1767 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInUnInitState()
1774 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInInitState()
1781 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInRunningState()
1788 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInUnInitState()
1795 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInInitState()
1802 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInRunningState()
1809 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInUnInitState()
1816 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInInitState()
1823 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInRunningState()
1830 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInUnInitState()
1837 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInInitState()
1844 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInRunningState()
1851 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInUnInitState()
1858 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStartInRunningState()
1865 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStartInUnInitState()
1872 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInInitState()
1879 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInRunningState()
1886 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInUnInitState()
1893 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferInInitState()
1900 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadIndex()
1907 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadSize()
1914 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadBuffInfo()
1921 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadOffset()
1928 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferInUnInitState()
1935 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInInitState()
1942 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInRunningState()
1949 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInUnInitState()
1956 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInInitState()
1963 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInRunningState()
1970 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInUnInitState()