/packages/modules/Bluetooth/android/pandora/server/src/ |
D | MediaPlayerBrowserService.kt | 64 mediaSession.setPlaybackState(playbackStateBuilder.build()) in setupMediaSession() 81 private fun setPlaybackState(state: Int) { in getAvailableActions() method 83 mediaSession.setPlaybackState(playbackStateBuilder.build()) in getAvailableActions() 113 setPlaybackState(PlaybackStateCompat.STATE_PLAYING) in play() 118 setPlaybackState(PlaybackStateCompat.STATE_STOPPED) in stop() 123 setPlaybackState(PlaybackStateCompat.STATE_PAUSED) in pause() 127 setPlaybackState(PlaybackStateCompat.STATE_REWINDING) in rewind() 131 setPlaybackState(PlaybackStateCompat.STATE_FAST_FORWARDING) in fastForward() 137 setPlaybackState(PlaybackStateCompat.STATE_SKIPPING_TO_NEXT) in forward() 139 setPlaybackState(PlaybackStateCompat.STATE_PLAYING) in forward() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MediaSessionWrapperTest.java | 85 setPlaybackState(true); in setPlaybackState_true() 92 setPlaybackState(false); in setPlaybackState_false() 99 setPlaybackState(true); in setPlaybackState_trueThenFalse() 100 setPlaybackState(false); in setPlaybackState_trueThenFalse() 155 private void setPlaybackState(boolean isPlaying) { in setPlaybackState() method in MediaSessionWrapperTest 156 mediaSessionWrapper.setPlaybackState(isPlaying); in setPlaybackState()
|
/packages/apps/TV/src/com/android/tv/ |
D | MediaSessionWrapper.java | 117 void setPlaybackState(boolean isPlaying) { in setPlaybackState() method in MediaSessionWrapper 121 mMediaSession.setPlaybackState(MEDIA_SESSION_STATE_PLAYING); in setPlaybackState() 123 mMediaSession.setPlaybackState(MEDIA_SESSION_STATE_STOPPED); in setPlaybackState() 137 setPlaybackState(false); in update() 149 setPlaybackState(true); in update() 167 setPlaybackState(true); in update()
|
D | MainActivity.java | 982 mMediaSessionWrapper.setPlaybackState(false); in onPause() 1701 mMediaSessionWrapper.setPlaybackState(false); in stopTv() 2586 mMediaSessionWrapper.setPlaybackState(false);
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/ |
D | PreviewFeatureTest.kt | 689 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_READY, null) in testVideoUiRequestsPlayWhenMediaReady() 735 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_READY, null) in testVideoUiShowsAndHidesPlayerControls() 740 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_STARTED, null) in testVideoUiShowsAndHidesPlayerControls() 810 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_READY, null) in testVideoUiPlayPauseButtonOnClick() 815 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_STARTED, null) in testVideoUiPlayPauseButtonOnClick() 833 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_PAUSED, null) in testVideoUiPlayPauseButtonOnClick() 879 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_READY, null) in testVideoUiMuteButtonOnClick() 884 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_STARTED, null) in testVideoUiMuteButtonOnClick() 950 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_READY, null) in testVideoUiRetriablePlaybackError() 955 callback.setPlaybackState(/* surfaceId= */ 1, PLAYBACK_STATE_STARTED, null) in testVideoUiRetriablePlaybackError() [all …]
|
D | PreviewViewModelTest.kt | 525 callback.setPlaybackState( in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 551 callback.setPlaybackState(1, PLAYBACK_STATE_BUFFERING, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 563 callback.setPlaybackState(1, PLAYBACK_STATE_READY, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 575 callback.setPlaybackState(1, PLAYBACK_STATE_STARTED, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 587 callback.setPlaybackState(1, PLAYBACK_STATE_PAUSED, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 599 callback.setPlaybackState(1, PLAYBACK_STATE_COMPLETED, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 611 callback.setPlaybackState(1, PLAYBACK_STATE_ERROR_PERMANENT_FAILURE, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates() 623 callback.setPlaybackState(1, PLAYBACK_STATE_ERROR_RETRIABLE_FAILURE, null) in testRemotePreviewSurfaceStateChangedCallbackEmitsUpdates()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 257 mSession.setPlaybackState(state); in setMissingPermissionError() 353 mSession.setPlaybackState(mErrorState); in startPlayback() 368 mSession.setPlaybackState(mErrorState); in startPlayback() 415 mSession.setPlaybackState(state); in updatePlaybackStatePlaying() 438 mSession.setPlaybackState(state); in pausePlayback() 458 mSession.setPlaybackState(state); in stopPlayback() 536 mSession.setPlaybackState(mErrorState); in safeAdvance() 545 mSession.setPlaybackState(mErrorState); in safeRetreat() 607 mSession.setPlaybackState(mErrorState); in onSkipToQueueItem()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/ |
D | RemoteSurfaceController.java | 98 mCallback.setPlaybackState(mCurrentSurfaceId, PLAYBACK_STATE_READY, 102 mCallback.setPlaybackState(mCurrentSurfaceId, PLAYBACK_STATE_BUFFERING, 106 mCallback.setPlaybackState(mCurrentSurfaceId, PLAYBACK_STATE_COMPLETED, 115 mCallback.setPlaybackState(mCurrentSurfaceId, isPlaying ? PLAYBACK_STATE_STARTED : 124 mCallback.setPlaybackState(mCurrentSurfaceId, PLAYBACK_STATE_MEDIA_SIZE_CHANGED,
|
D | RemotePreviewHandler.java | 264 public void setPlaybackState(int surfaceId, @PlaybackState int playbackState, in setPlaybackState() method in RemotePreviewHandler.SurfaceStateChangedCallbackWrapper 276 session.setPlaybackState(playbackState, playbackStateInfo); in setPlaybackState()
|
D | RemotePreviewSession.java | 233 void setPlaybackState(@PlaybackState int playbackState, @Nullable Bundle playbackStateInfo) { in setPlaybackState() method in RemotePreviewSession
|
/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | ICloudMediaSurfaceStateChangedCallback.aidl | 26 void setPlaybackState(int surfaceId, int playbackState, in Bundle playbackStateInfo); in setPlaybackState() method
|
D | CloudMediaProvider.java | 826 public void setPlaybackState(int surfaceId, @PlaybackState int playbackState, in setPlaybackState() method in CloudMediaProvider.CloudMediaSurfaceStateChangedCallback 829 mCallback.setPlaybackState(surfaceId, playbackState, playbackStateInfo); in setPlaybackState()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamMediaService.java | 152 mLocalSession.setPlaybackState(getPlaybackState()); 304 mLocalSession.setPlaybackState(getPlaybackState()); in createLocalMediaSession() 310 mLocalSession.setPlaybackState(getPlaybackState()); in createLocalMediaSession()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 280 private void setPlaybackState(int state) { in setPlaybackState() method in AvrcpControllerStateMachineTest 1257 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testBecomeActive() 1328 setPlaybackState(PlaybackStateCompat.STATE_PLAYING); in testTrackChangedWhileActive_currentTrackAndQueueNumberUpdated() 1414 setPlaybackState(PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileNotActiveDevice() 1517 setPlaybackState(PlaybackStateCompat.STATE_PLAYING); in testOnAudioFocusTransientLossWhilePlaying_pauseSent() 1541 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testOnAudioFocusTransientLossWhilePaused_pauseNotSent() 1562 setPlaybackState(PlaybackStateCompat.STATE_PLAYING); in testOnAudioFocusLossWhilePlaying_pauseSent() 1583 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testOnAudioFocusLossWhilePause_pauseNotSent() 1608 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testOnAudioFocusGainFromTransientLossWhilePlaying_playSent() 1630 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testOnAudioFocusGainFromTransientLossWhilePlayingWithPause_playNotSent() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/shadows/ |
D | ShadowMediaSession.java | 61 public void setPlaybackState(PlaybackState state) { in setPlaybackState() method in ShadowMediaSession
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | MediaPlaybackService.kt | 47 mSession.setPlaybackState(stateBuilder.build()) in onCreate()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackService.java | 52 mSession.setPlaybackState(stateBuilder.build()); in onCreate()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 221 mSession.setPlaybackState(errorState); in setErrorPlaybackState() 326 sBluetoothMediaBrowserService.mSession.setPlaybackState(playbackState); in notifyChanged()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/ |
D | PreviewViewModel.kt | 266 override fun setPlaybackState( in buildSurfaceStateChangedCallback() method
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackMediaSessionHelper.java | 119 mMediaSession.setPlaybackState( in updateMediaSessionPlaybackState()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 44 method public void setPlaybackState(int, int, @Nullable android.os.Bundle);
|