Home
last modified time | relevance | path

Searched refs:onPlaybackStateChanged (Results 1 – 20 of 20) 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()
578 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/audio_util/
DMediaPlayerWrapperTest.java284 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testNoQueueMediaUpdates()
334 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testDataOnUpdateNoQueue()
451 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
469 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
474 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
479 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testPlaybackStateUpdateSpam()
525 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testIgnorePlaystateNone()
560 controllerCallbacks.onPlaybackStateChanged(mTestState.build()); in testMetadataSync()
695 controllerCallbacks.onPlaybackStateChanged(s.build()); in testMetadataSyncFuzz()
DBrowserPlayerWrapperTest.java302 controllerCb.onPlaybackStateChanged(builder.build()); in testPlayItem()
307 controllerCb.onPlaybackStateChanged(builder.build()); in testPlayItem()
/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.java113 this::onPlaybackStateChanged); in onCreate()
188 private void onPlaybackStateChanged(int newState) { in onPlaybackStateChanged() method in RadioAppService
192 tryExec(() -> callback.onPlaybackStateChanged(newState)); in onPlaybackStateChanged()
294 callback.onPlaybackStateChanged(mCurrentPlaybackState);
DIRadioAppCallback.aidl46 void onPlaybackStateChanged(int state); in onPlaybackStateChanged() method
DRadioAppServiceWrapper.java174 public void onPlaybackStateChanged(int state) {
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java288 onPlaybackStateChanged(mMediaController.getPlaybackState()); in setMediaController()
294 onPlaybackStateChanged(null); in setMediaController()
347 public void onPlaybackStateChanged(PlaybackStateCompat playbackState) { in onPlaybackStateChanged() method in PlaybackViewModel.MediaControllerCallback
630 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.java75 public void onPlaybackStateChanged(@Nullable PlaybackState state) {
76 super.onPlaybackStateChanged(state);
/packages/apps/Car/Radio/src/com/android/car/radio/
DDisplayController.java97 radioController.getPlaybackState().observe(activity, this::onPlaybackStateChanged); in DisplayController()
286 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.java133 model.getPlaybackStateWrapper().observe(owner, this::onPlaybackStateChanged); in setModel()
159 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.java129 mCapturedCallback.getValue().onPlaybackStateChanged(mPlaybackState); in testGetPlaybackState()
251 callback.onPlaybackStateChanged(playbackState); in deliverValuesToCallbacks()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMediaSessionWrapperTest.java160 .onPlaybackStateChanged( in setPlaybackState()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java628 public void onPlaybackStateChanged(@Nullable PlaybackState state) { in onPlaybackStateChanged() method in CarMediaService.MediaControllerCallback
793 public void onPlaybackStateChanged(PlaybackState state) {
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DBrowsedPlayerWrapper.java377 public void onPlaybackStateChanged(@Nullable PlaybackState state) {
DMediaPlayerWrapper.java443 public void onPlaybackStateChanged(@Nullable PlaybackState state) { in onPlaybackStateChanged() method in MediaPlayerWrapper.MediaControllerListener
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java335 callback.onPlaybackStateChanged(newState); in mockPlaybackStateChange()