/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackControlHelper.java | 177 PlaybackState playbackState = mMediaController.getPlaybackState(); in hasValidMedia() local 178 return playbackState != null; in hasValidMedia() 183 PlaybackState playbackState = mMediaController.getPlaybackState(); in isMediaPlaying() local 184 if (playbackState == null) { in isMediaPlaying() 187 int state = playbackState.getState(); in isMediaPlaying() 243 PlaybackState playbackState = mMediaController.getPlaybackState(); in getCurrentPosition() local 244 if (playbackState == null) { in getCurrentPosition() 247 return (int) playbackState.getPosition(); in getCurrentPosition()
|
D | DvrPlaybackMediaSessionHelper.java | 66 public void onPlaybackStateChanged(int playbackState, int playbackSpeed) { in DvrPlaybackMediaSessionHelper()
|
D | DvrPlayer.java | 81 public void onPlaybackStateChanged(int playbackState, int playbackSpeed) {} in onPlaybackStateChanged() argument
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | ProgressLiveData.java | 60 ProgressLiveData(@NonNull PlaybackStateCompat playbackState, long maxProgress) { in ProgressLiveData() argument 61 this(playbackState, maxProgress, SystemClock::elapsedRealtime); in ProgressLiveData() 66 @NonNull PlaybackStateCompat playbackState, long maxProgress, in ProgressLiveData() 68 mPlaybackState = playbackState; in ProgressLiveData()
|
D | PlaybackViewModel.java | 306 public void onPlaybackStateChanged(PlaybackStateCompat playbackState) { in onPlaybackStateChanged() argument 307 mPlaybackState = playbackState; in onPlaybackStateChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 376 int playbackState = PlaybackState.STATE_NONE; in onPlayStatusChanged() local 379 playbackState = PlaybackState.STATE_STOPPED; in onPlayStatusChanged() 382 playbackState = PlaybackState.STATE_PLAYING; in onPlayStatusChanged() 385 playbackState = PlaybackState.STATE_PAUSED; in onPlayStatusChanged() 388 playbackState = PlaybackState.STATE_FAST_FORWARDING; in onPlayStatusChanged() 391 playbackState = PlaybackState.STATE_REWINDING; in onPlayStatusChanged() 394 playbackState = PlaybackState.STATE_NONE; in onPlayStatusChanged() 400 AvrcpControllerStateMachine.MESSAGE_PROCESS_PLAY_STATUS_CHANGED, playbackState); in onPlayStatusChanged()
|
D | BluetoothMediaBrowserService.java | 148 static synchronized void notifyChanged(PlaybackState playbackState) { in notifyChanged() argument 149 Log.d(TAG, "notifyChanged PlaybackState" + playbackState); in notifyChanged() 151 sBluetoothMediaBrowserService.mSession.setPlaybackState(playbackState); in notifyChanged()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaBrowser.java | 111 PlaybackStateCompat.Builder playbackState = new PlaybackStateCompat.Builder(); in onAccountChanged() local 112 playbackState.setState(PlaybackStateCompat.STATE_PAUSED, 0, 0); in onAccountChanged() 113 mSession.setPlaybackState(playbackState.build()); in onAccountChanged()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | PlayStatus.java | 49 static byte playbackStateToAvrcpState(int playbackState) { in playbackStateToAvrcpState() argument 50 switch (playbackState) { in playbackStateToAvrcpState()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTest.java | 318 public void onStateChanged(boolean playWhenReady, int playbackState) { in onStateChanged() argument 320 Log.d(TAG, "ExoPlayer state change: " + playbackState + " " + playWhenReady); in onStateChanged() 322 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 470 public void onStateChanged(boolean playWhenReady, int playbackState) { in onStateChanged() argument 472 Log.d(TAG, "ExoPlayer state change: " + playbackState + " " + playWhenReady); in onStateChanged() 474 if (playbackState == mPlayerState) { in onStateChanged() 480 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged() 488 } else if (playbackState == ExoPlayer.STATE_PREPARING) { in onStateChanged() 490 } else if (playbackState == ExoPlayer.STATE_BUFFERING) { in onStateChanged() 492 } else if (playbackState == ExoPlayer.STATE_ENDED) { in onStateChanged() 500 mPlayerState = playbackState; in onStateChanged()
|
D | TunerSessionWorker.java | 468 public void onStateChanged(boolean playWhenReady, int playbackState) { in onStateChanged() argument 469 if (DEBUG) Log.d(TAG, "ExoPlayer state change: " + playbackState + " " + playWhenReady); in onStateChanged() 470 if (playbackState == mPlayerState) { in onStateChanged() 476 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged() 482 } else if (playbackState == ExoPlayer.STATE_PREPARING) { in onStateChanged() 484 } else if (playbackState == ExoPlayer.STATE_BUFFERING) { in onStateChanged() 486 } else if (playbackState == ExoPlayer.STATE_ENDED) { in onStateChanged() 494 mPlayerState = playbackState; in onStateChanged()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 476 private void savePlaybackState(PlaybackState playbackState) { in savePlaybackState() argument 477 int state = playbackState != null ? playbackState.getState() : PlaybackState.STATE_NONE; in savePlaybackState()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 237 PlaybackStateCompat playbackState) { in deliverValuesToCallbacks() argument 240 callback.onPlaybackStateChanged(playbackState); in deliverValuesToCallbacks()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 73 void onStateChanged(boolean playWhenReady, int playbackState); in onStateChanged() argument
|