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.java59 private MediaPlayerList mMediaPlayerList; field in AvrcpTargetService
163 if (mMediaPlayerList != null) { in setUserUnlocked()
164 mMediaPlayerList.init(new ListCallback()); in setUserUnlocked()
187 mMediaPlayerList = new MediaPlayerList(Looper.myLooper(), this); in start()
196 mMediaPlayerList.init(new ListCallback()); in start()
225 if (mMediaPlayerList != null) mMediaPlayerList.cleanup(); in stop()
228 mMediaPlayerList = null; in stop()
323 return mMediaPlayerList.getCurrentSongInfo(); in getCurrentSongInfo()
327 return PlayStatus.fromPlaybackState(mMediaPlayerList.getCurrentPlayStatus(), in getPlayState()
332 String id = mMediaPlayerList.getCurrentMediaId(); in getCurrentMediaId()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java50 private MediaPlayerList mMediaPlayerList; field in MediaPlayerListTest
86 mMediaPlayerList = in setUp()
100 mMediaPlayerList.init(mAvrcpCallback); in setUp()
107 mMediaPlayerList.setActivePlayer(mMediaPlayerList.addMediaPlayer(mMockController)); in setUp()
122 mMediaPlayerList.cleanup(); in tearDown()
146 mMediaPlayerList.injectAudioPlaybacActive(true); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
154 mMediaPlayerList.injectAudioPlaybacActive(false); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
178 mMediaPlayerList.injectAudioPlaybacActive(true); in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying()
179 mMediaPlayerList.injectAudioPlaybacActive(false); in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying()
187 mMediaPlayerList.injectAudioPlaybacActive(true); in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()