/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 91 PlaybackStateCompat playbackState = in onReceive() local 93 if (playbackState != null && playbackState.getErrorMessage() != null) { in onReceive() 245 static synchronized void notifyChanged(PlaybackStateCompat playbackState) { in notifyChanged() argument 246 Log.d(TAG, "notifyChanged PlaybackState" + playbackState); in notifyChanged() 248 sBluetoothMediaBrowserService.mSession.setPlaybackState(playbackState); in notifyChanged() 350 PlaybackStateCompat playbackState = in dump() local 371 sb.append("\n playbackState=" + playbackState); in dump()
|
D | AvrcpControllerService.java | 228 int playbackState = PlaybackStateCompat.STATE_NONE; in toPlaybackStateFromJni() local 231 playbackState = PlaybackStateCompat.STATE_STOPPED; in toPlaybackStateFromJni() 234 playbackState = PlaybackStateCompat.STATE_PLAYING; in toPlaybackStateFromJni() 237 playbackState = PlaybackStateCompat.STATE_PAUSED; in toPlaybackStateFromJni() 240 playbackState = PlaybackStateCompat.STATE_FAST_FORWARDING; in toPlaybackStateFromJni() 243 playbackState = PlaybackStateCompat.STATE_REWINDING; in toPlaybackStateFromJni() 246 playbackState = PlaybackStateCompat.STATE_NONE; in toPlaybackStateFromJni() 248 return playbackState; in toPlaybackStateFromJni()
|
D | AvrcpControllerStateMachine.java | 548 PlaybackStateCompat playbackState = mAddressedPlayer.getPlaybackState(); in processMessage() local 549 BluetoothMediaBrowserService.notifyChanged(playbackState); in processMessage() 563 if (playbackState.getState() == PlaybackStateCompat.STATE_PLAYING in processMessage()
|
/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/Settings/src/com/android/settings/media/ |
D | MediaOutputUtils.java | 56 final PlaybackState playbackState = controller.getPlaybackState(); in getActiveLocalMediaController() local 57 if (playbackState == null) { in getActiveLocalMediaController() 65 + playbackState.getState()); in getActiveLocalMediaController() 67 if (playbackState.getState() != PlaybackState.STATE_PLAYING) { in getActiveLocalMediaController()
|
/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 | 347 public void onPlaybackStateChanged(PlaybackStateCompat playbackState) { in onPlaybackStateChanged() argument 348 mPlaybackState = playbackState; in onPlaybackStateChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputUtilsTest.java | 126 final PlaybackState playbackState = new PlaybackState.Builder() in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() local 138 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 152 final PlaybackState playbackState = new PlaybackState.Builder() in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull() local 163 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull()
|
D | MediaOutputIndicatorWorkerTest.java | 272 final PlaybackState playbackState = new PlaybackState.Builder() in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() local 283 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaBrowser.java | 165 PlaybackStateCompat.Builder playbackState = new PlaybackStateCompat.Builder(); in updatePlaybackState() local 166 playbackState.setState(PlaybackStateCompat.STATE_PAUSED, 0, 0); in updatePlaybackState() 167 playbackState.setActions(PlaybackStateCompat.ACTION_PREPARE); in updatePlaybackState() 168 mSession.setPlaybackState(playbackState.build()); in updatePlaybackState()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/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 | 351 public void onStateChanged(boolean playWhenReady, int playbackState) { in onStateChanged() argument 353 Log.d(TAG, "ExoPlayer state change: " + playbackState + " " + playWhenReady); in onStateChanged() 355 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged()
|
D | ZappingTimeTestExoV2.java | 378 public void onStateChanged(int playbackState) { in onStateChanged() argument 380 Log.d(TAG, "ExoPlayer state change: " + playbackState); in onStateChanged() 382 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 1223 PlaybackStateCompat playbackState = controller.getPlaybackState(); in testBecomeActive() local 1224 Assert.assertNotNull(playbackState); in testBecomeActive() 1225 Assert.assertEquals(PlaybackStateCompat.STATE_PAUSED, playbackState.getState()); in testBecomeActive() 1226 Assert.assertEquals(7, playbackState.getPosition()); in testBecomeActive() 1329 PlaybackStateCompat playbackState = controller.getPlaybackState(); in testPlayPositionChangeWhileNotActiveDevice() local 1330 Assert.assertNotNull(playbackState); in testPlayPositionChangeWhileNotActiveDevice() 1331 Assert.assertEquals(0, playbackState.getPosition()); in testPlayPositionChangeWhileNotActiveDevice()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerListTest.java | 127 private MediaData prepareMediaData(int playbackState) { in prepareMediaData() argument 129 builder.setState(playbackState, 0, 1); in prepareMediaData()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorker.java | 494 public void onStateChanged(boolean playWhenReady, int playbackState) { in onStateChanged() argument 495 if (DEBUG) Log.d(TAG, "ExoPlayer state change: " + playbackState + " " + playWhenReady); in onStateChanged() 496 if (playbackState == mPlayerState) { in onStateChanged() 502 if (playbackState == ExoPlayer.STATE_READY) { in onStateChanged() 508 } else if (playbackState == ExoPlayer.STATE_PREPARING) { in onStateChanged() 510 } else if (playbackState == ExoPlayer.STATE_BUFFERING) { in onStateChanged() 512 } else if (playbackState == ExoPlayer.STATE_ENDED) { in onStateChanged() 525 mPlayerState = playbackState; in onStateChanged()
|
D | TunerSessionWorkerExoV2.java | 499 public void onStateChanged(@PlayerState int playbackState) { in onStateChanged() argument 500 if (playbackState == mPlayerState) { in onStateChanged() 505 if (playbackState == MpegTsPlayerV2.STATE_READY) { in onStateChanged() 511 } else if (playbackState == MpegTsPlayerV2.STATE_BUFFERING) { in onStateChanged() 513 } else if (playbackState == MpegTsPlayerV2.STATE_ENDED) { in onStateChanged() 526 mPlayerState = playbackState; in onStateChanged()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 248 PlaybackStateCompat playbackState) { in deliverValuesToCallbacks() argument 251 callback.onPlaybackStateChanged(playbackState); in deliverValuesToCallbacks()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 951 private void savePlaybackState(PlaybackState playbackState) { in savePlaybackState() argument 958 int state = playbackState != null ? playbackState.getState() : PlaybackState.STATE_NONE; in savePlaybackState()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 69 void onStateChanged(@PlayerState int playbackState); in onStateChanged() argument
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 74 void onStateChanged(boolean playWhenReady, int playbackState); in onStateChanged() argument
|