Home
last modified time | relevance | path

Searched refs:getTransportControls (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java579 mMediaController.getTransportControls().play(); in play()
588 mMediaController.getTransportControls().skipToPrevious(); in skipToPrevious()
597 mMediaController.getTransportControls().skipToNext(); in skipToNext()
606 mMediaController.getTransportControls().pause(); in pause()
615 mMediaController.getTransportControls().stop(); in stop()
632 mMediaController.getTransportControls().seekTo(pos); in seekTo()
644 MediaControllerCompat.TransportControls cntrl = mMediaController.getTransportControls(); in doCustomAction()
661 mMediaController.getTransportControls().playFromMediaId(item.getId(), null); in playItem()
672 mMediaController.getTransportControls().skipToQueueItem(queueId); in skipToQueueItem()
681 mMediaController.getTransportControls().prepare(); in prepare()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java154 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playItemFromQueue()
159 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playCurrent()
164 MediaController.TransportControls controller = mMediaController.getTransportControls(); in stopCurrent()
169 MediaController.TransportControls controller = mMediaController.getTransportControls(); in pauseCurrent()
174 MediaController.TransportControls controller = mMediaController.getTransportControls(); in seekTo()
179 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToPrevious()
184 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToNext()
DBrowsedPlayerWrapper.java213 MediaController.TransportControls ctrl = controller.getTransportControls(); in playItem()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java387 BluetoothMediaBrowserService.getTransportControls(); in testControlOnly()
463 BluetoothMediaBrowserService.getTransportControls(); in testPlay()
482 BluetoothMediaBrowserService.getTransportControls(); in testPause()
501 BluetoothMediaBrowserService.getTransportControls(); in testStop()
520 BluetoothMediaBrowserService.getTransportControls(); in testNext()
540 BluetoothMediaBrowserService.getTransportControls(); in testPrevious()
561 BluetoothMediaBrowserService.getTransportControls(); in testFastForward()
582 BluetoothMediaBrowserService.getTransportControls(); in testRewind()
606 BluetoothMediaBrowserService.getTransportControls(); in testSkipToQueueInvalid()
631 BluetoothMediaBrowserService.getTransportControls(); in testShuffle()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java259 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().play(); in play()
270 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().pause(); in pause()
293 public static synchronized MediaControllerCompat.TransportControls getTransportControls() { in getTransportControls() method in BluetoothMediaBrowserService
295 return sBluetoothMediaBrowserService.mSession.getController().getTransportControls(); in getTransportControls()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/mockable/
DMediaController.java49 mTransportDelegate = delegate.getTransportControls(); in MediaController()
55 mTransportDelegate = mDelegate.getTransportControls(); in MediaController()
64 public TransportControls getTransportControls() { in getTransportControls() method in MediaController
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java223 getActivity().getMediaController().getTransportControls().pause(); in onActivityCreated()
238 .getTransportControls() in onActivityCreated()
287 getActivity().getMediaController().getTransportControls().pause(); in onPause()
448 getActivity().getMediaController().getTransportControls().prepare(); in preparePlayback()
DDvrPlaybackControlHelper.java82 mTransportControls = mMediaController.getTransportControls(); in DvrPlaybackControlHelper()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java280 mediaController.getTransportControls().play();
282 mediaController.getTransportControls().pause();
580 TransportControls controls = mActiveUserMediaController.getTransportControls(); in stopAndUnregisterCallback()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DBrowserPlayerWrapperTest.java287 when(mockController.getTransportControls()).thenReturn(mockTransport); in testPlayItem()
324 when(mockController.getTransportControls()).thenReturn(mockTransport); in testPlayItem_Timeout()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java146 mMediaSession.getController().getTransportControls().playFromMediaId( in onStartCommand()