Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java182 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playItemFromQueue()
187 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playCurrent()
192 MediaController.TransportControls controller = mMediaController.getTransportControls(); in stopCurrent()
197 MediaController.TransportControls controller = mMediaController.getTransportControls(); in pauseCurrent()
202 MediaController.TransportControls controller = mMediaController.getTransportControls(); in seekTo()
207 MediaController.TransportControls controller = mMediaController.getTransportControls(); in fastForward()
212 MediaController.TransportControls controller = mMediaController.getTransportControls(); in rewind()
217 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToPrevious()
222 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToNext()
227 MediaController.TransportControls controller = mMediaController.getTransportControls(); in setPlaybackSpeed()
DPlayerSettingsManager.java117 controls = mActivePlayerController.getTransportControls(); in setPlayerRepeatMode()
149 controls = mActivePlayerController.getTransportControls(); in setPlayerShuffleMode()
DBrowsedPlayerWrapper.java215 MediaController.TransportControls ctrl = controller.getTransportControls(); in playItem()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DMediaControlHelperTest.java110 verify(mMediaController, never()).getTransportControls(); in testStart_isStopped_onDeviceListUpdate_shouldNotStopMedia()
124 verify(mMediaController, never()).getTransportControls(); in testStart_isPlaying_onDeviceListUpdate_noDevice_shouldNotStopMedia()
139 verify(mMediaController).getTransportControls(); in testStart_isPlaying_onDeviceListUpdate_deviceMatch_shouldStopMedia()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapperTest.java782 when(mMockController.getTransportControls()).thenReturn(transportControls); in pauseCurrent()
795 when(mMockController.getTransportControls()).thenReturn(transportControls); in playCurrent()
808 when(mMockController.getTransportControls()).thenReturn(transportControls); in playItemFromQueue()
823 when(mMockController.getTransportControls()).thenReturn(transportControls); in rewind()
836 when(mMockController.getTransportControls()).thenReturn(transportControls); in seekTo()
850 when(mMockController.getTransportControls()).thenReturn(transportControls); in setPlaybackSpeed()
864 when(mMockController.getTransportControls()).thenReturn(transportControls); in skipToNext()
877 when(mMockController.getTransportControls()).thenReturn(transportControls); in skipToPrevious()
890 when(mMockController.getTransportControls()).thenReturn(transportControls); in stopCurrent()
DBrowserPlayerWrapperTest.java292 when(mockController.getTransportControls()).thenReturn(mockTransport); in testPlayItem()
329 when(mockController.getTransportControls()).thenReturn(mockTransport); in testPlayItem_Timeout()
/packages/modules/Bluetooth/android/app/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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java335 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().play(); in play()
344 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().pause(); in pause()
364 public static synchronized MediaControllerCompat.TransportControls getTransportControls() { in getTransportControls() method in BluetoothMediaBrowserService
366 return sBluetoothMediaBrowserService.mSession.getController().getTransportControls(); in getTransportControls()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java412 BluetoothMediaBrowserService.getTransportControls(); in testControlOnly()
512 BluetoothMediaBrowserService.getTransportControls(); in testPlay()
533 BluetoothMediaBrowserService.getTransportControls(); in testPause()
554 BluetoothMediaBrowserService.getTransportControls(); in testStop()
575 BluetoothMediaBrowserService.getTransportControls(); in testNext()
596 BluetoothMediaBrowserService.getTransportControls(); in testPrevious()
618 BluetoothMediaBrowserService.getTransportControls(); in testFastForward()
641 BluetoothMediaBrowserService.getTransportControls(); in testRewind()
667 BluetoothMediaBrowserService.getTransportControls(); in testSkipToQueueInvalid()
688 BluetoothMediaBrowserService.getTransportControls(); in testShuffle()
[all …]
/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/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DRadioActuator.java108 MediaControllerCompat.TransportControls controls = mMediaController.getTransportControls(); in tuneRadioFrequencyAndBand()
137 mMediaController.getTransportControls().stop(); in stopTuning()
DMediaActuator.java172 private MediaControllerCompat.TransportControls getTransportControls( in getTransportControls() method in MediaActuator
178 return controller.getTransportControls(); in getTransportControls()
282 MediaControllerCompat.TransportControls controls = getTransportControls(controller); in executePlaybackAction()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMultidisplayMediaFragment.java403 mediaController.getTransportControls(); in onClickPauseResume()
430 mediaController.getTransportControls(); in onClickNext()
450 mediaController.getTransportControls(); in onClickPrev()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DMediaControlHelper.java86 var controls = controller.getTransportControls(); in start()
/packages/modules/Bluetooth/android/pandora/server/src/
DMediaPlayerBrowserService.kt186 val transportControls = controller.getTransportControls() in setShuffleMode()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java356 mediaController.getTransportControls().pause();
1054 TransportControls controls = mediaController.getTransportControls(); in stopAndUnregisterCallback()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java291 when(mockController.getTransportControls()).thenReturn(mockTransportControls); in testSetMediaSource_settingPlaybackSourcePausesAndStopsPreviousMedia()