Home
last modified time | relevance | path

Searched refs:STATE_INITIALIZED (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioTrackTest.java144 AudioTrack.STATE_INITIALIZED); in testConstructorMono16MusicStream()
157 AudioTrack.STATE_INITIALIZED); in testConstructorStereo16MusicStream()
200 AudioTrack.STATE_INITIALIZED); in testConstructorMono8MusicStream()
212 AudioTrack.STATE_INITIALIZED); in testConstructorStereo8MusicStream()
279 if (track.getState() != AudioTrack.STATE_INITIALIZED) { in testConstructorStreamType()
315 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterInit()
338 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionIncrease()
366 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterFlush()
396 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterStop()
427 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterPause()
[all …]
DMediaAudioEffectTest.java142 AudioRecord.STATE_INITIALIZED, ar.getState()); in getAudioRecord()
/frameworks/base/media/java/android/media/
DAudioTrack.java126 public static final int STATE_INITIALIZED = 1; field in AudioTrack
459 mState = STATE_INITIALIZED; in AudioTrack()
1022 if (mState != STATE_INITIALIZED) { in setPlaybackRate()
1140 if (mState != STATE_INITIALIZED) { in play()
1173 if (mState != STATE_INITIALIZED) { in stop()
1193 if (mState != STATE_INITIALIZED) { in pause()
1216 if (mState == STATE_INITIALIZED) { in flush()
1262 mState = STATE_INITIALIZED; in write()
1305 mState = STATE_INITIALIZED; in write()
1378 mState = STATE_INITIALIZED; in write()
[all …]
DAudioRecord.java58 public static final int STATE_INITIALIZED = 1; field in AudioRecord
334 mState = STATE_INITIALIZED; in AudioRecord()
608 if (mState != STATE_INITIALIZED) { in startRecording()
631 if (mState != STATE_INITIALIZED) { in startRecording()
651 if (mState != STATE_INITIALIZED) { in stop()
691 if (mState != STATE_INITIALIZED) { in read()
716 if (mState != STATE_INITIALIZED) { in read()
743 if (mState != STATE_INITIALIZED) { in read()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterSurfaceView.java32 private static int STATE_INITIALIZED = 2; field in FilterSurfaceView
81 if (mState == STATE_INITIALIZED) { in bindToListener()
123 mState = STATE_INITIALIZED; in surfaceChanged()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java82 public static final int STATE_INITIALIZED = 1; field in Visualizer
224 mState = STATE_INITIALIZED; in Visualizer()
259 if ((enabled && (mState == STATE_INITIALIZED)) || in setEnabled()
263 mState = enabled ? STATE_ENABLED : STATE_INITIALIZED; in setEnabled()
312 if (mState != STATE_INITIALIZED) { in setCaptureSize()
DAudioEffect.java144 public static final int STATE_INITIALIZED = 1; field in AudioEffect
418 mState = STATE_INITIALIZED; in AudioEffect()
1254 if (mState != STATE_INITIALIZED) { in checkState()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java226 if (audioTrack.getState() != AudioTrack.STATE_INITIALIZED) { in createStreamingAudioTrack()
/frameworks/base/api/
Dsystem-current.txt15232 field public static final int STATE_INITIALIZED = 1; // 0x1
15300 field public static final int STATE_INITIALIZED = 1; // 0x1
17148 field public static final int STATE_INITIALIZED = 1; // 0x1
Dcurrent.txt14209 field public static final int STATE_INITIALIZED = 1; // 0x1
14277 field public static final int STATE_INITIALIZED = 1; // 0x1
16124 field public static final int STATE_INITIALIZED = 1; // 0x1