Home
last modified time | relevance | path

Searched refs:fakeMediaCodecWrapper (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/sdk/android/tests/src/org/webrtc/
DAndroidVideoDecoderTest.java161 -> fakeMediaCodecWrapper, in build()
197 private FakeMediaCodecWrapper fakeMediaCodecWrapper; field in AndroidVideoDecoderTest
207 fakeMediaCodecWrapper = spy(new FakeMediaCodecWrapper(outputFormat)); in setUp()
227 assertThat(fakeMediaCodecWrapper.getState()).isEqualTo(State.EXECUTING_RUNNING); in testInit()
229 MediaFormat mediaFormat = fakeMediaCodecWrapper.getConfiguredFormat(); in testInit()
249 assertThat(fakeMediaCodecWrapper.getState()).isEqualTo(State.RELEASED); in testRelease()
263 assertThat(fakeMediaCodecWrapper.getState()).isEqualTo(State.RELEASED); in testReleaseMultipleTimes()
281 verify(fakeMediaCodecWrapper) in testDecodeQueuesData()
286 ByteBuffer inputBuffer = fakeMediaCodecWrapper.getInputBuffers()[indexCaptor.getValue()]; in testDecodeQueuesData()
303 fakeMediaCodecWrapper.addOutputData( in testDeliversOutputByteBuffers()
[all …]
DHardwareVideoEncoderTest.java125 -> fakeMediaCodecWrapper, in build()
138 private FakeMediaCodecWrapper fakeMediaCodecWrapper; field in HardwareVideoEncoderTest
145 fakeMediaCodecWrapper = spy(new FakeMediaCodecWrapper(outputFormat)); in setUp()
159 assertThat(fakeMediaCodecWrapper.getState()).isEqualTo(State.EXECUTING_RUNNING); in testInit()
161 MediaFormat mediaFormat = fakeMediaCodecWrapper.getConfiguredFormat(); in testInit()
170 assertThat(fakeMediaCodecWrapper.getConfiguredFlags()) in testInit()
194 verify(fakeMediaCodecWrapper) in testEncodeByteBuffer()
197 ByteBuffer buffer = fakeMediaCodecWrapper.getInputBuffers()[indexCaptor.getValue()]; in testEncodeByteBuffer()
219 fakeMediaCodecWrapper.addOutputData(outputData, in testDeliversOutputData()
252 assertThat(fakeMediaCodecWrapper.getState()).isEqualTo(State.RELEASED); in testRelease()
[all …]