Home
last modified time | relevance | path

Searched refs:STATE_PLAYING (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTunneledPlayer.java43 private static final int STATE_PLAYING = 3; field in MediaCodecTunneledPlayer
86 if (mState == STATE_PLAYING) { in MediaCodecTunneledPlayer()
302 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start()
320 mState = STATE_PLAYING; in start()
357 } else if (mState != STATE_PLAYING) { in pause()
377 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in flush()
393 if (mState == STATE_PLAYING) { in reset()
DMediaCodecClearKeyPlayer.java61 private static final int STATE_PLAYING = 3; field in MediaCodecClearKeyPlayer
479 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start()
497 mState = STATE_PLAYING; in start()
529 } else if (mState != STATE_PLAYING) { in pause()
545 if (mState == STATE_PLAYING) { in reset()
DMediaSessionTest.java342 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent()
400 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent()
408 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent()
455 setPlaybackState(PlaybackState.STATE_PLAYING); in testSetCallbackWithNull()
750 setPlaybackState(PlaybackState.STATE_PLAYING); in onPlay()
DPlaybackStateTest.java84 .setState(PlaybackState.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods()
91 assertEquals(PlaybackState.STATE_PLAYING, state.getState()); in testBuilder_setterMethods()
DMediaSessionManagerTest.java169 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testSetOnMediaKeyListener()
236 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testRemoteUserInfo()
DMediaControllerTest.java19 import static android.media.session.PlaybackState.STATE_PLAYING;
75 final int testState = STATE_PLAYING; in testGetPlaybackState()