Home
last modified time | relevance | path

Searched refs:mediaController (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java123 final MediaController mediaController = getWorker().getActiveLocalMediaController(); in onNotifyChange() local
125 if (mediaController == null) { in onNotifyChange()
134 mediaController.getSessionToken()) in onNotifyChange()
136 mediaController.getPackageName())); in onNotifyChange()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java275 private void setMediaController(MediaControllerCompat mediaController) { in setMediaController() argument
278 mMediaController = mediaController; in setMediaController()
279 mPlaybackControls.setValue(new PlaybackController(mediaController)); in setMediaController()
284 mColors.setValue(mColorsFactory.extractColors(mediaController.getPackageName())); in setMediaController()
370 PlaybackStateWrapper(@NonNull MediaControllerCompat mediaController, in PlaybackStateWrapper() argument
372 mMediaController = mediaController; in PlaybackStateWrapper()
570 private PlaybackController(@Nullable MediaControllerCompat mediaController) { in PlaybackController() argument
571 mMediaController = mediaController; in PlaybackController()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java244 MediaController mediaController;
265 mediaController = mActiveUserMediaController;
266 if (mediaController == null) {
270 PlaybackState oldState = mediaController.getPlaybackState();
280 mediaController.getTransportControls().play();
282 mediaController.getTransportControls().pause();
613 private MediaControllerCallback(MediaController mediaController) { in MediaControllerCallback() argument
614 mMediaController = mediaController; in MediaControllerCallback()
615 PlaybackState state = mediaController.getPlaybackState(); in MediaControllerCallback()