Searched refs:STATE_INITIALIZED (Results 1 – 10 of 10) sorted by relevance
21 public static final int STATE_INITIALIZED = 2; field in ShadowMediaRecorder79 state = STATE_INITIALIZED; in setAudioSource()152 state = STATE_INITIALIZED; in setVideoSource()
60 assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testAudioSource()63 assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testAudioSource()175 assertThat(shadowMediaRecorder.getState()).isNotEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testVideoSource()178 assertThat(shadowMediaRecorder.getState()).isEqualTo(ShadowMediaRecorder.STATE_INITIALIZED); in testVideoSource()
93 STATE_INITIALIZED, enumerator
319 m_state = STATE_INITIALIZED; in init()445 if (m_state == STATE_INITIALIZED) in handleElementStart()
155 } else if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initRecord()222 } else if (mRecorder.getState() != AudioRecord.STATE_INITIALIZED) { in initBufferRecord()
173 if (mRecorderRunnable != null && mAudioTrack.getState() == AudioTrack.STATE_INITIALIZED) { in run()
196 assertTrue(audioTrack.getState() == AudioTrack.STATE_INITIALIZED); in initPlayout()
205 audioRecord.getState() != AudioRecord.STATE_INITIALIZED) { in initRecording()
222 if (record.getState() != AudioRecord.STATE_INITIALIZED) { in record()
245 if (record.getState() != AudioRecord.STATE_INITIALIZED) { in record()