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/audio_util/
DMediaPlayerListTest.java163 MediaData currMediaData = prepareMediaData(PlaybackState.STATE_PLAYING); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive() local
164 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
165 verify(mMediaUpdateCallback).run(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
167 currMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
168 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
169 verify(mMediaUpdateCallback).run(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java712 MediaData currMediaData = null; in updateMediaForAudioPlayback() local
720 currMediaData = new MediaData( in updateMediaForAudioPlayback()
726 currMediaData = getActivePlayer().getCurrentMediaData(); in updateMediaForAudioPlayback()
727 currState = currMediaData.state; in updateMediaForAudioPlayback()
741 currMediaData.state = builder.build(); in updateMediaForAudioPlayback()
744 + currMediaData.state); in updateMediaForAudioPlayback()
745 sendMediaUpdate(currMediaData); in updateMediaForAudioPlayback()