Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java164 MediaData currMediaData = prepareMediaData(PlaybackState.STATE_PLAYING); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive() local
165 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
166 verify(mAvrcpCallback).run(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
168 currMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
169 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
170 verify(mAvrcpCallback).run(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java675 MediaData currMediaData = null; in updateMediaForAudioPlayback() local
683 currMediaData = new MediaData( in updateMediaForAudioPlayback()
689 currMediaData = getActivePlayer().getCurrentMediaData(); in updateMediaForAudioPlayback()
690 currState = currMediaData.state; in updateMediaForAudioPlayback()
704 currMediaData.state = builder.build(); in updateMediaForAudioPlayback()
707 + currMediaData.state); in updateMediaForAudioPlayback()
708 sendMediaUpdate(currMediaData); in updateMediaForAudioPlayback()