Lines Matching refs:isAsync

208         void tryConfigureCodecInInvalidState(MediaFormat format, boolean isAsync, String msg) {  in tryConfigureCodecInInvalidState()  argument
210 configureCodec(format, isAsync, false, true); in tryConfigureCodecInInvalidState()
535 for (boolean isAsync : boolStates) { in testConfigureInInitState()
536 configureCodec(format, isAsync, false, true); in testConfigureInInitState()
538 tryConfigureCodecInInvalidState(format, isAsync, in testConfigureInInitState()
553 for (boolean isAsync : boolStates) { in testConfigureAfterStart()
554 configureCodec(format, isAsync, false, true); in testConfigureAfterStart()
557 tryConfigureCodecInInvalidState(format, isAsync, in testConfigureAfterStart()
574 for (boolean isAsync : boolStates) { in testConfigureAfterQueueInputBuffer()
575 configureCodec(format, isAsync, false, true); in testConfigureAfterQueueInputBuffer()
579 tryConfigureCodecInInvalidState(format, isAsync, in testConfigureAfterQueueInputBuffer()
594 for (boolean isAsync : boolStates) { in testConfigureInEOSState()
595 configureCodec(format, isAsync, false, true); in testConfigureInEOSState()
600 tryConfigureCodecInInvalidState(format, isAsync, in testConfigureInEOSState()
615 for (boolean isAsync : boolStates) { in testConfigureInFlushState()
616 configureCodec(format, isAsync, false, true); in testConfigureInFlushState()
620 tryConfigureCodecInInvalidState(format, isAsync, in testConfigureInFlushState()
637 for (boolean isAsync : boolStates) { in testConfigureInUnInitState()
638 configureCodec(format, isAsync, false, true); in testConfigureInUnInitState()
642 configureCodec(format, isAsync, false, true); in testConfigureInUnInitState()
669 for (boolean isAsync : boolStates) { in testDequeueInputBufferInUnInitState()
673 configureCodec(format, isAsync, false, true); in testDequeueInputBufferInUnInitState()
690 for (boolean isAsync : boolStates) { in testDequeueInputBufferInInitState()
691 configureCodec(format, isAsync, false, true); in testDequeueInputBufferInInitState()
708 for (boolean isAsync : boolStates) { in testDequeueInputBufferInRunningState()
709 configureCodec(format, isAsync, false, true); in testDequeueInputBufferInRunningState()
742 for (boolean isAsync : boolStates) { in testDequeueOutputBufferInUnInitState()
746 configureCodec(format, isAsync, false, true); in testDequeueOutputBufferInUnInitState()
763 for (boolean isAsync : boolStates) { in testDequeueOutputBufferInInitState()
764 configureCodec(format, isAsync, false, true); in testDequeueOutputBufferInInitState()
781 for (boolean isAsync : boolStates) { in testDequeueOutputBufferInRunningState()
782 configureCodec(format, isAsync, false, true); in testDequeueOutputBufferInRunningState()
815 for (boolean isAsync : boolStates) { in testFlushInUnInitState()
818 configureCodec(format, isAsync, false, true); in testFlushInUnInitState()
835 for (boolean isAsync : boolStates) { in testFlushInInitState()
836 configureCodec(format, isAsync, false, true); in testFlushInInitState()
885 for (boolean isAsync : boolStates) { in testGetMetaDataInUnInitState()
887 configureCodec(format, isAsync, false, true); in testGetMetaDataInUnInitState()
908 for (boolean isAsync : boolStates) { in testGetMetaDataInInitState()
909 configureCodec(format, isAsync, false, true); in testGetMetaDataInInitState()
926 for (boolean isAsync : boolStates) { in testGetMetaDataInRunningState()
927 configureCodec(format, isAsync, false, true); in testGetMetaDataInRunningState()
985 boolean isAsync = true; in testSetCallBackInUnInitState()
987 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInUnInitState()
988 mIsCodecInAsyncMode = isAsync; in testSetCallBackInUnInitState()
990 configureCodec(format, !isAsync, false, true); in testSetCallBackInUnInitState()
997 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInUnInitState()
998 mIsCodecInAsyncMode = !isAsync; in testSetCallBackInUnInitState()
1000 configureCodec(format, isAsync, false, true); in testSetCallBackInUnInitState()
1016 boolean isAsync = true; in testSetCallBackInInitState()
1017 configureCodec(format, isAsync, false, true); in testSetCallBackInInitState()
1019 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInInitState()
1020 mIsCodecInAsyncMode = !isAsync; in testSetCallBackInInitState()
1027 configureCodec(format, !isAsync, false, true); in testSetCallBackInInitState()
1029 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInInitState()
1030 mIsCodecInAsyncMode = isAsync; in testSetCallBackInInitState()
1045 boolean isAsync = false; in testSetCallBackInRunningState()
1047 configureCodec(format, isAsync, false, true); in testSetCallBackInRunningState()
1051 mAsyncHandle.setCallBack(mCodec, !isAsync); in testSetCallBackInRunningState()
1052 mIsCodecInAsyncMode = !isAsync; in testSetCallBackInRunningState()
1062 configureCodec(format, !isAsync, false, true); in testSetCallBackInRunningState()
1066 mAsyncHandle.setCallBack(mCodec, isAsync); in testSetCallBackInRunningState()
1067 mIsCodecInAsyncMode = isAsync; in testSetCallBackInRunningState()
1101 for (boolean isAsync : boolStates) { in testGetInputBufferInUnInitState()
1103 configureCodec(format, isAsync, false, true); in testGetInputBufferInUnInitState()
1119 for (boolean isAsync : boolStates) { in testGetInputBufferInInitState()
1120 configureCodec(format, isAsync, false, true); in testGetInputBufferInInitState()
1135 for (boolean isAsync : boolStates) { in testGetInputBufferInRunningState()
1136 configureCodec(format, isAsync, false, true); in testGetInputBufferInRunningState()
1175 for (boolean isAsync : boolStates) { in testGetInputFormatInUnInitState()
1177 configureCodec(format, isAsync, false, true); in testGetInputFormatInUnInitState()
1193 for (boolean isAsync : boolStates) { in testGetInputFormatInInitState()
1194 configureCodec(format, isAsync, false, true); in testGetInputFormatInInitState()
1213 for (boolean isAsync : boolStates) { in testGetInputFormatInRunningState()
1214 configureCodec(format, isAsync, false, true); in testGetInputFormatInRunningState()
1243 for (boolean isAsync : boolStates) { in testGetOutputBufferInUnInitState()
1245 configureCodec(format, isAsync, false, true); in testGetOutputBufferInUnInitState()
1261 for (boolean isAsync : boolStates) { in testGetOutputBufferInInitState()
1262 configureCodec(format, isAsync, false, true); in testGetOutputBufferInInitState()
1278 for (boolean isAsync : boolStates) { in testGetOutputBufferInRunningState()
1279 configureCodec(format, isAsync, false, true); in testGetOutputBufferInRunningState()
1335 for (boolean isAsync : boolStates) { in testGetOutputFormatInUnInitState()
1337 configureCodec(format, isAsync, false, true); in testGetOutputFormatInUnInitState()
1353 for (boolean isAsync : boolStates) { in testGetOutputFormatInInitState()
1354 configureCodec(format, isAsync, false, true); in testGetOutputFormatInInitState()
1381 for (boolean isAsync : boolStates) { in testGetOutputFormatInRunningState()
1382 configureCodec(format, isAsync, false, true); in testGetOutputFormatInRunningState()
1446 for (boolean isAsync : boolStates) { in testSetParametersInUnInitState()
1447 configureCodec(format, isAsync, false, true); in testSetParametersInUnInitState()
1465 for (boolean isAsync : boolStates) { in testSetParametersInInitState()
1466 configureCodec(format, isAsync, false, true); in testSetParametersInInitState()
1484 for (boolean isAsync : boolStates) { in testSetParametersInRunningState()
1485 configureCodec(format, isAsync, false, true); in testSetParametersInRunningState()
1566 for (boolean isAsync : boolStates) { in testStopInUnInitState()
1567 configureCodec(format, isAsync, false, true); in testStopInUnInitState()
1582 for (boolean isAsync : boolStates) { in testStopInInitState()
1583 configureCodec(format, isAsync, false, true); in testStopInInitState()
1596 for (boolean isAsync : boolStates) { in testStopInRunningState()
1597 configureCodec(format, isAsync, false, true); in testStopInRunningState()
1628 for (boolean isAsync : boolStates) { in testResetInUnInitState()
1629 configureCodec(format, isAsync, false, true); in testResetInUnInitState()
1644 for (boolean isAsync : boolStates) { in testResetInInitState()
1645 configureCodec(format, isAsync, false, true); in testResetInInitState()
1658 for (boolean isAsync : boolStates) { in testResetInRunningState()
1659 configureCodec(format, isAsync, false, true); in testResetInRunningState()
1689 for (boolean isAsync : boolStates) { in testGetInputImageInUnInitState()
1691 configureCodec(format, isAsync, false, true); in testGetInputImageInUnInitState()
1707 for (boolean isAsync : boolStates) { in testGetInputImageInInitState()
1708 configureCodec(format, isAsync, false, true); in testGetInputImageInInitState()
1724 for (boolean isAsync : boolStates) { in testGetInputImageInRunningStateVideo()
1725 configureCodec(format, isAsync, false, true); in testGetInputImageInRunningStateVideo()
1756 for (boolean isAsync : boolStates) { in testGetInputImageInRunningStateAudio()
1757 configureCodec(format, isAsync, false, true); in testGetInputImageInRunningStateAudio()
1795 for (boolean isAsync : boolStates) { in testGetOutputImageInUnInitState()
1797 configureCodec(format, isAsync, false, false); in testGetOutputImageInUnInitState()
1813 for (boolean isAsync : boolStates) { in testGetOutputImageInInitState()
1814 configureCodec(format, isAsync, false, false); in testGetOutputImageInInitState()
1830 for (boolean isAsync : boolStates) { in testGetOutputImageInRunningState()
1831 configureCodec(format, isAsync, false, false); in testGetOutputImageInRunningState()
1882 for (boolean isAsync : boolStates) { in testQueueInputBufferInUnInitState()
1885 configureCodec(format, isAsync, false, true); in testQueueInputBufferInUnInitState()
1901 for (boolean isAsync : boolStates) { in testQueueInputBufferInInitState()
1902 configureCodec(format, isAsync, false, true); in testQueueInputBufferInInitState()
1918 for (boolean isAsync : boolStates) { in testQueueInputBufferWithBadIndex()
1919 configureCodec(format, isAsync, false, true); in testQueueInputBufferWithBadIndex()
1940 for (boolean isAsync : boolStates) { in testQueueInputBufferWithBadSize()
1941 configureCodec(format, isAsync, false, true); in testQueueInputBufferWithBadSize()
1968 for (boolean isAsync : boolStates) { in testQueueInputBufferWithBadBuffInfo()
1969 configureCodec(format, isAsync, false, true); in testQueueInputBufferWithBadBuffInfo()
1996 for (boolean isAsync : boolStates) { in testQueueInputBufferWithBadOffset()
1997 configureCodec(format, isAsync, false, true); in testQueueInputBufferWithBadOffset()
2034 for (boolean isAsync : boolStates) { in testExceptionThrownWhenBufferIsEOSAndDecodeOnly()
2035 configureCodec(format, isAsync, false, true); in testExceptionThrownWhenBufferIsEOSAndDecodeOnly()
2350 for (boolean isAsync : boolStates) { in testReleaseOutputBufferInUnInitState()
2353 configureCodec(format, isAsync, false, true); in testReleaseOutputBufferInUnInitState()
2370 for (boolean isAsync : boolStates) { in testReleaseOutputBufferInInitState()
2371 configureCodec(format, isAsync, false, true); in testReleaseOutputBufferInInitState()
2388 for (boolean isAsync : boolStates) { in testReleaseOutputBufferInRunningState()
2389 configureCodec(format, isAsync, false, true); in testReleaseOutputBufferInRunningState()