Home
last modified time | relevance | path

Searched refs:onPlaybackStateChanged (Results 1 – 16 of 16) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java81 public void onPlaybackStateChanged(int playbackState, int playbackSpeed) {} in onPlaybackStateChanged() method in DvrPlayer.DvrPlayerCallback
142 mCallback.onPlaybackStateChanged(mPlaybackState, 1); in prepare()
160 mCallback.onPlaybackStateChanged(mPlaybackState, 1); in play()
181 mCallback.onPlaybackStateChanged(mPlaybackState, 1); in pause()
203 mCallback.onPlaybackStateChanged(mPlaybackState, speed); in fastForward()
225 mCallback.onPlaybackStateChanged(mPlaybackState, speed); in rewind()
244 mCallback.onPlaybackStateChanged(mPlaybackState, 1); in seekTo()
251 mCallback.onPlaybackStateChanged(PlaybackState.STATE_NONE, 1); in reset()
569 mCallback.onPlaybackStateChanged(mPlaybackState, 1); in resumeToWatchedPositionIfNeeded()
DDvrPlaybackMediaSessionHelper.java66 public void onPlaybackStateChanged(int playbackState, int playbackSpeed) { in DvrPlaybackMediaSessionHelper()
DDvrPlaybackControlHelper.java393 public void onPlaybackStateChanged(PlaybackState state) { in onPlaybackStateChanged() method in DvrPlaybackControlHelper.MediaControllerCallback
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java247 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testNoQueueMediaUpdates()
297 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testDataOnUpdateNoQueue()
414 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
432 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
437 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
442 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
488 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testIgnorePlaystateNone()
523 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testMetadataSync()
657 controllerCallbacks.onPlaybackStateChanged(s.build()); in testMetadataSyncFuzz()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java86 onPlaybackStateChanged(PlaybackState.STATE_NONE); in TunerSession()
90 appService.getPlaybackState().observeForever(this::onPlaybackStateChanged); in TunerSession()
114 private void onPlaybackStateChanged(@PlaybackState.State int state) { in onPlaybackStateChanged() method in TunerSession
125 onPlaybackStateChanged(PlaybackState.STATE_ERROR); in selectionError()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java106 this::onPlaybackStateChanged); in onCreate()
179 private void onPlaybackStateChanged(int newState) { in onPlaybackStateChanged() method in RadioAppService
183 tryExec(() -> callback.onPlaybackStateChanged(newState)); in onPlaybackStateChanged()
272 callback.onPlaybackStateChanged(mCurrentPlaybackState);
DIRadioAppCallback.aidl46 void onPlaybackStateChanged(int state); in onPlaybackStateChanged() method
DRadioAppServiceWrapper.java173 public void onPlaybackStateChanged(int state) {
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java250 onPlaybackStateChanged(mMediaController.getPlaybackState()); in onMediaControllerChanged()
256 onPlaybackStateChanged(null); in onMediaControllerChanged()
306 public void onPlaybackStateChanged(PlaybackStateCompat playbackState) { in onPlaybackStateChanged() method in PlaybackViewModel.MediaControllerCallback
576 mMediaControllerCallback.onPlaybackStateChanged(newState); in seekTo()
/packages/apps/Car/Radio/src/com/android/car/radio/audio/
DAudioStreamController.java95 void onPlaybackStateChanged(int newState); in onPlaybackStateChanged() method
175 mCallback.onPlaybackStateChanged(newState); in notifyPlaybackStateLocked()
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java74 public void onPlaybackStateChanged(@Nullable PlaybackState state) {
75 super.onPlaybackStateChanged(state);
/packages/apps/Car/Radio/src/com/android/car/radio/
DDisplayController.java101 radioController.getPlaybackState().observe(activity, this::onPlaybackStateChanged); in DisplayController()
295 private void onPlaybackStateChanged(@PlaybackState.State int state) { in onPlaybackStateChanged() method in DisplayController
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaButtonController.java124 model.getPlaybackStateWrapper().observe(owner, this::onPlaybackStateChanged); in setModel()
149 private void onPlaybackStateChanged(@Nullable PlaybackViewModel.PlaybackStateWrapper state) { in onPlaybackStateChanged() method in MediaButtonController
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java119 mCapturedCallback.getValue().onPlaybackStateChanged(mPlaybackState); in testGetPlaybackState()
240 callback.onPlaybackStateChanged(playbackState); in deliverValuesToCallbacks()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java292 public void onPlaybackStateChanged(@Nullable PlaybackState state) { in onPlaybackStateChanged() method in CarMediaService.MediaControllerCallback
394 public void onPlaybackStateChanged(PlaybackState state) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java412 public void onPlaybackStateChanged(@Nullable PlaybackState state) { in onPlaybackStateChanged() method in MediaPlayerWrapper.MediaControllerListener