Home
last modified time | relevance | path

Searched refs:transportControls (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapperTest.java780 MediaController.TransportControls transportControls = in pauseCurrent() local
782 when(mMockController.getTransportControls()).thenReturn(transportControls); in pauseCurrent()
788 verify(transportControls).pause(); in pauseCurrent()
793 MediaController.TransportControls transportControls = in playCurrent() local
795 when(mMockController.getTransportControls()).thenReturn(transportControls); in playCurrent()
801 verify(transportControls).play(); in playCurrent()
806 MediaController.TransportControls transportControls = in playItemFromQueue() local
808 when(mMockController.getTransportControls()).thenReturn(transportControls); in playItemFromQueue()
816 verify(transportControls).skipToQueueItem(queueItemId); in playItemFromQueue()
821 MediaController.TransportControls transportControls = in rewind() local
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java411 MediaControllerCompat.TransportControls transportControls = in testControlOnly() local
413 Assert.assertNotNull(transportControls); in testControlOnly()
511 MediaControllerCompat.TransportControls transportControls = in testPlay() local
515 transportControls.play(); in testPlay()
532 MediaControllerCompat.TransportControls transportControls = in testPause() local
536 transportControls.pause(); in testPause()
553 MediaControllerCompat.TransportControls transportControls = in testStop() local
557 transportControls.stop(); in testStop()
574 MediaControllerCompat.TransportControls transportControls = in testNext() local
578 transportControls.skipToNext(); in testNext()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMultidisplayMediaFragment.java402 MediaController.TransportControls transportControls = in onClickPauseResume() local
404 if (transportControls == null) { in onClickPauseResume()
412 transportControls.pause(); in onClickPauseResume()
414 transportControls.play(); in onClickPauseResume()
429 MediaController.TransportControls transportControls = in onClickNext() local
431 if (transportControls == null) { in onClickNext()
435 transportControls.skipToNext(); in onClickNext()
449 MediaController.TransportControls transportControls = in onClickPrev() local
451 if (transportControls == null) { in onClickPrev()
455 transportControls.skipToPrevious(); in onClickPrev()
/packages/modules/Bluetooth/android/pandora/server/src/
DMediaPlayerBrowserService.kt186 val transportControls = controller.getTransportControls() in setShuffleMode() constant
190 SHUFFLE_MODE_GROUP -> transportControls.setShuffleMode(shuffleMode) in setShuffleMode()
191 else -> transportControls.setShuffleMode(SHUFFLE_MODE_NONE) in setShuffleMode()