Searched refs:STATE_INITIALIZED (Results 1 – 12 of 12) 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
331 m_state = STATE_INITIALIZED; in init()457 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()
226 private static final int STATE_INITIALIZED = AudioTrack.STATE_INITIALIZED; field in DefaultAudioSink1522 if (state != STATE_INITIALIZED) { in buildAudioTrack()
222 if (record.getState() != AudioRecord.STATE_INITIALIZED) { in record()
276 if (audioRecord == null || audioRecord.getState() != AudioRecord.STATE_INITIALIZED) { in initRecording()
282 if (audioTrack == null || audioTrack.getState() != AudioTrack.STATE_INITIALIZED) { in initPlayout()
250 if (audioTrack == null || audioTrack.getState() != AudioTrack.STATE_INITIALIZED) { in initPlayout()
316 if (audioRecord == null || audioRecord.getState() != AudioRecord.STATE_INITIALIZED) { in initRecording()