Lines Matching refs:NativeCodecUnitTest

30 class NativeCodecUnitTest final : CodecTestBase {  class
39 explicit NativeCodecUnitTest(const char* mediaType);
40 ~NativeCodecUnitTest();
98 NativeCodecUnitTest::NativeCodecUnitTest(const char* mediaType) : CodecTestBase(mediaType) { in NativeCodecUnitTest() function in NativeCodecUnitTest
102 NativeCodecUnitTest::~NativeCodecUnitTest() { in ~NativeCodecUnitTest()
107 bool NativeCodecUnitTest::enqueueInput(size_t bufferIndex) { in enqueueInput()
112 bool NativeCodecUnitTest::dequeueOutput(size_t bufferIndex, AMediaCodecBufferInfo* info) { in dequeueOutput()
142 bool NativeCodecUnitTest::setupCodec(bool isAudio, bool isEncoder) { in setupCodec()
205 bool NativeCodecUnitTest::testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder) { in testConfigureCodecForIncompleteFormat()
241 bool NativeCodecUnitTest::testConfigureCodecForBadFlags(bool isEncoder) { in testConfigureCodecForBadFlags()
255 bool NativeCodecUnitTest::testConfigureInInitState() { in testConfigureInInitState()
273 bool NativeCodecUnitTest::testConfigureInRunningState() { in testConfigureInRunningState()
316 bool NativeCodecUnitTest::testConfigureInUnInitState() { in testConfigureInUnInitState()
332 bool NativeCodecUnitTest::testDequeueInputBufferInInitState() { in testDequeueInputBufferInInitState()
349 bool NativeCodecUnitTest::testDequeueInputBufferInRunningState() { in testDequeueInputBufferInRunningState()
371 bool NativeCodecUnitTest::testDequeueInputBufferInUnInitState() { in testDequeueInputBufferInUnInitState()
393 bool NativeCodecUnitTest::testDequeueOutputBufferInInitState() { in testDequeueOutputBufferInInitState()
411 bool NativeCodecUnitTest::testDequeueOutputBufferInRunningState() { in testDequeueOutputBufferInRunningState()
434 bool NativeCodecUnitTest::testDequeueOutputBufferInUnInitState() { in testDequeueOutputBufferInUnInitState()
458 bool NativeCodecUnitTest::testFlushInInitState() { in testFlushInInitState()
474 bool NativeCodecUnitTest::testFlushInRunningState() { in testFlushInRunningState()
497 bool NativeCodecUnitTest::testFlushInUnInitState() { in testFlushInUnInitState()
518 bool NativeCodecUnitTest::testGetNameInInitState() { in testGetNameInInitState()
537 bool NativeCodecUnitTest::testGetNameInRunningState() { in testGetNameInRunningState()
566 bool NativeCodecUnitTest::testGetNameInUnInitState() { in testGetNameInUnInitState()
593 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInInitState() { in testSetAsyncNotifyCallbackInInitState()
629 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInRunningState() { in testSetAsyncNotifyCallbackInRunningState()
649 bool NativeCodecUnitTest::testSetAsyncNotifyCallbackInUnInitState() { in testSetAsyncNotifyCallbackInUnInitState()
678 bool NativeCodecUnitTest::testGetInputBufferInInitState() { in testGetInputBufferInInitState()
696 bool NativeCodecUnitTest::testGetInputBufferInRunningState() { in testGetInputBufferInRunningState()
723 bool NativeCodecUnitTest::testGetInputBufferInUnInitState() { in testGetInputBufferInUnInitState()
745 bool NativeCodecUnitTest::testGetInputFormatInInitState() { in testGetInputFormatInInitState()
768 bool NativeCodecUnitTest::testGetInputFormatInRunningState() { in testGetInputFormatInRunningState()
792 bool NativeCodecUnitTest::testGetInputFormatInUnInitState() { in testGetInputFormatInUnInitState()
825 bool NativeCodecUnitTest::testGetOutputBufferInInitState() { in testGetOutputBufferInInitState()
842 bool NativeCodecUnitTest::testGetOutputBufferInRunningState() { in testGetOutputBufferInRunningState()
900 bool NativeCodecUnitTest::testGetOutputBufferInUnInitState() { in testGetOutputBufferInUnInitState()
922 bool NativeCodecUnitTest::testGetOutputFormatInInitState() { in testGetOutputFormatInInitState()
945 bool NativeCodecUnitTest::testGetOutputFormatInRunningState() { in testGetOutputFormatInRunningState()
969 bool NativeCodecUnitTest::testGetOutputFormatInUnInitState() { in testGetOutputFormatInUnInitState()
1000 bool NativeCodecUnitTest::testSetParametersInInitState() { in testSetParametersInInitState()
1022 bool NativeCodecUnitTest::testSetParametersInRunningState() { in testSetParametersInRunningState()
1063 bool NativeCodecUnitTest::testSetParametersInUnInitState() { in testSetParametersInUnInitState()
1086 bool NativeCodecUnitTest::testStartInRunningState() { in testStartInRunningState()
1100 bool NativeCodecUnitTest::testStartInUnInitState() { in testStartInUnInitState()
1118 bool NativeCodecUnitTest::testStopInInitState() { in testStopInInitState()
1130 bool NativeCodecUnitTest::testStopInRunningState() { in testStopInRunningState()
1144 bool NativeCodecUnitTest::testStopInUnInitState() { in testStopInUnInitState()
1158 bool NativeCodecUnitTest::testQueueInputBufferInInitState() { in testQueueInputBufferInInitState()
1176 bool NativeCodecUnitTest::testQueueInputBufferWithBadIndex() { in testQueueInputBufferWithBadIndex()
1195 bool NativeCodecUnitTest::testQueueInputBufferWithBadSize() { in testQueueInputBufferWithBadSize()
1224 bool NativeCodecUnitTest::testQueueInputBufferWithBadBuffInfo() { in testQueueInputBufferWithBadBuffInfo()
1252 bool NativeCodecUnitTest::testQueueInputBufferWithBadOffset() { in testQueueInputBufferWithBadOffset()
1271 bool NativeCodecUnitTest::testQueueInputBufferInUnInitState() { in testQueueInputBufferInUnInitState()
1296 bool NativeCodecUnitTest::testReleaseOutputBufferInInitState() { in testReleaseOutputBufferInInitState()
1312 bool NativeCodecUnitTest::testReleaseOutputBufferInRunningState() { in testReleaseOutputBufferInRunningState()
1369 bool NativeCodecUnitTest::testReleaseOutputBufferInUnInitState() { in testReleaseOutputBufferInUnInitState()
1390 bool NativeCodecUnitTest::testGetBufferFormatInInitState() { in testGetBufferFormatInInitState()
1411 bool NativeCodecUnitTest::testGetBufferFormatInRunningState() { in testGetBufferFormatInRunningState()
1489 bool NativeCodecUnitTest::testGetBufferFormatInUnInitState() { in testGetBufferFormatInUnInitState()
1622 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureCodecForIncompleteFormat()
1629 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureEncoderForBadFlags()
1637 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureDecoderForBadFlags()
1645 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInInitState()
1652 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInRunningState()
1659 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestConfigureInUnInitState()
1666 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInInitState()
1673 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInRunningState()
1680 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueInputBufferInUnInitState()
1687 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInInitState()
1694 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInRunningState()
1701 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestDequeueOutputBufferInUnInitState()
1708 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInInitState()
1715 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInRunningState()
1722 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestFlushInUnInitState()
1729 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInInitState()
1736 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInRunningState()
1743 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetNameInUnInitState()
1750 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInInitState()
1757 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInRunningState()
1764 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetAsyncNotifyCallbackInUnInitState()
1771 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInInitState()
1778 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInRunningState()
1785 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputBufferInUnInitState()
1792 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInInitState()
1799 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInRunningState()
1806 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetInputFormatInUnInitState()
1813 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInInitState()
1820 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInRunningState()
1827 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputBufferInUnInitState()
1834 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInInitState()
1841 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInRunningState()
1848 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetOutputFormatInUnInitState()
1855 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInInitState()
1862 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInRunningState()
1869 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestSetParametersInUnInitState()
1876 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStartInRunningState()
1883 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStartInUnInitState()
1890 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInInitState()
1897 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInRunningState()
1904 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestStopInUnInitState()
1911 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferInInitState()
1918 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadIndex()
1925 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadSize()
1932 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadBuffInfo()
1939 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferWithBadOffset()
1946 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestQueueInputBufferInUnInitState()
1953 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInInitState()
1960 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInRunningState()
1967 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestReleaseOutputBufferInUnInitState()
1974 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInInitState()
1981 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInRunningState()
1988 auto* nativeCodecUnitTest = new NativeCodecUnitTest(AMEDIA_MIMETYPE_AUDIO_AAC); in nativeTestGetBufferFormatInUnInitState()