Searched refs:PlaybackState (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | PlaybackStateTest.java | 20 import android.media.session.PlaybackState; 43 PlaybackState.ACTION_PLAY | PlaybackState.ACTION_STOP | PlaybackState.ACTION_SEEK_TO; 65 PlaybackState state = new PlaybackState.Builder().build(); in testBuilder() 67 assertEquals(new ArrayList<PlaybackState.CustomAction>(), state.getCustomActions()); in testBuilder() 92 PlaybackState state = new PlaybackState.Builder() in testBuilder_setterMethods() 93 .setState(PlaybackState.STATE_PLAYING, TEST_POSITION, TEST_PLAYBACK_SPEED) in testBuilder_setterMethods() 100 assertEquals(PlaybackState.STATE_PLAYING, state.getState()); in testBuilder_setterMethods() 114 PlaybackState state = new PlaybackState.Builder().setState( in testBuilder_setStateWithUpdateTime() 115 PlaybackState.STATE_REWINDING, TEST_POSITION, in testBuilder_setStateWithUpdateTime() 117 assertEquals(PlaybackState.STATE_REWINDING, state.getState()); in testBuilder_setStateWithUpdateTime() [all …]
|
D | MediaSessionTest.java | 45 import android.media.session.PlaybackState; 217 PlaybackState state = new PlaybackState.Builder().setActions(TEST_ACTION).build(); in testConfigureSession() 224 PlaybackState stateOut = mCallback.mPlaybackState; in testConfigureSession() 552 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent() 602 setPlaybackState(PlaybackState.STATE_PAUSED); in testCallbackOnMediaButtonEvent() 610 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent() 618 setPlaybackState(PlaybackState.STATE_PLAYING); in testCallbackOnMediaButtonEvent() 630 setPlaybackState(PlaybackState.STATE_PAUSED); in testCallbackOnMediaButtonEvent() 641 setPlaybackState(PlaybackState.STATE_PAUSED); in testCallbackOnMediaButtonEvent() 649 assertEquals(PlaybackState.STATE_STOPPED, in testCallbackOnMediaButtonEvent() [all …]
|
D | MediaSessionManagerTest.java | 36 import android.media.session.PlaybackState; 123 PlaybackState state = new PlaybackState.Builder() in testOnMediaKeyEventSessionChangedListener() 124 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testOnMediaKeyEventSessionChangedListener() 159 PlaybackState state = new PlaybackState.Builder() in testOnMediaKeyEventDispatchedListener() 160 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testOnMediaKeyEventDispatchedListener() 275 PlaybackState state = new PlaybackState.Builder() in testSetOnMediaKeyListener() 276 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testSetOnMediaKeyListener() 342 PlaybackState state = new PlaybackState.Builder() in testRemoteUserInfo() 343 .setState(PlaybackState.STATE_PLAYING, 0, 1.0f).build(); in testRemoteUserInfo()
|
D | MediaControllerTest.java | 19 import static android.media.session.PlaybackState.STATE_PLAYING; 30 import android.media.session.PlaybackState; 31 import android.media.session.PlaybackState.CustomAction; 90 final long testActions = PlaybackState.ACTION_PLAY | PlaybackState.ACTION_STOP in testGetPlaybackState() 91 | PlaybackState.ACTION_SEEK_TO; in testGetPlaybackState() 101 PlaybackState state = new PlaybackState.Builder() in testGetPlaybackState() 113 PlaybackState stateOut = mController.getPlaybackState(); in testGetPlaybackState() 618 transportControls.sendCustomAction((PlaybackState.CustomAction) null, in testSendCustomActionWithIllegalArgumentsThrowsIAE()
|
/cts/tests/tests/systemui/PipTestApp/src/android/systemui/cts/tv/pip/ |
D | PipTestActivity.kt | 29 import android.media.session.PlaybackState in <lambda>() 30 import android.media.session.PlaybackState.ACTION_PAUSE in <lambda>() 31 import android.media.session.PlaybackState.ACTION_PLAY in <lambda>() 32 import android.media.session.PlaybackState.STATE_PAUSED in <lambda>() 33 import android.media.session.PlaybackState.STATE_PLAYING in <lambda>() 34 import android.media.session.PlaybackState.STATE_STOPPED in <lambda>() 63 private val playbackBuilder = PlaybackState.Builder() in <lambda>() 202 private fun PlaybackState.Builder.setState(state: Int) = apply { in <lambda>() method
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 2999 name: "android.media.session.PlaybackState.CustomAction" 3631 name: "android.media.session.PlaybackState"
|