Home
last modified time | relevance | path

Searched refs:mMediaPlayerList (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java70 private MediaPlayerList mMediaPlayerList; field in AvrcpTargetService
188 if (mMediaPlayerList != null) { in setUserUnlocked()
189 mMediaPlayerList.init(new ListCallback()); in setUserUnlocked()
212 mMediaPlayerList = new MediaPlayerList(Looper.myLooper(), this); in start()
223 mMediaPlayerList.init(new ListCallback()); in start()
270 if (mMediaPlayerList != null) mMediaPlayerList.cleanup(); in stop()
273 mMediaPlayerList = null; in stop()
368 Metadata metadata = mMediaPlayerList.getCurrentSongInfo(); in getCurrentSongInfo()
377 return PlayStatus.fromPlaybackState(mMediaPlayerList.getCurrentPlayStatus(), in getPlayState()
382 String id = mMediaPlayerList.getCurrentMediaId(); in getCurrentMediaId()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java50 private MediaPlayerList mMediaPlayerList; field in MediaPlayerListTest
86 mMediaPlayerList = in setUp()
99 mMediaPlayerList.init(mMediaUpdateCallback); in setUp()
106 mMediaPlayerList.setActivePlayer(mMediaPlayerList.addMediaPlayer(mMockController)); in setUp()
121 mMediaPlayerList.cleanup(); in tearDown()
145 mMediaPlayerList.injectAudioPlaybacActive(true); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
153 mMediaPlayerList.injectAudioPlaybacActive(false); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
177 mMediaPlayerList.injectAudioPlaybacActive(true); in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying()
178 mMediaPlayerList.injectAudioPlaybacActive(false); in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying()
186 mMediaPlayerList.injectAudioPlaybacActive(true); in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()