Home
last modified time | relevance | path

Searched refs:getPlaybackInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputUtilsTest.java71 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaPlaying_returnController()
82 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaPause_returnController()
102 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_remoteMediaPlaying_returnNull()
121 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaStopped_returnNull()
140 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaNone_returnNull()
159 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaError_returnNull()
184 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
186 when(remoteMediaController.getPlaybackInfo()).thenReturn(playbackInfo); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
209 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull()
211 when(remoteMediaController.getPlaybackInfo()).thenReturn(playbackInfo); in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull()
DMediaOutputIndicatorWorkerTest.java119 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in onSlicePinned_registerCallback()
136 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in onSlicePinned_packageUpdated_checkPackageName()
183 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in onSliceUnpinned_unRegisterCallback()
216 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaPlaying_returnController()
249 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_remoteMediaPlaying_returnNull()
268 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_localMediaStopped_returnNull()
291 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
293 when(remoteMediaController.getPlaybackInfo()).thenReturn(playbackInfo); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/
DMediaController.java115 public android.media.session.MediaController.PlaybackInfo getPlaybackInfo() { in getPlaybackInfo() method in MediaController
116 return mDelegate.getPlaybackInfo(); in getPlaybackInfo()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputUtils.java51 final MediaController.PlaybackInfo pi = controller.getPlaybackInfo(); in getActiveLocalMediaController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/
DMediaOutputPreferenceControllerTest.java192 when(mMediaController.getPlaybackInfo()).thenReturn(mPlaybackInfo); in setUp()