Home
last modified time | relevance | path

Searched refs:mediaUpdatedCallback (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapperTest.java240 verify(mTestCbs, never()).mediaUpdatedCallback(any()); in testControllerUpdate()
269 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNoQueueMediaUpdates()
287 verify(mTestCbs, times(2)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNoQueueMediaUpdates()
337 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testDataOnUpdateNoQueue()
377 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNullMetadata()
402 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testNullQueue()
454 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testPlaybackStateUpdateSpam()
528 verify(mTestCbs, never()).mediaUpdatedCallback(any()); in testIgnorePlaystateNone()
574 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testMetadataSync()
625 verify(mTestCbs, times(1)).mediaUpdatedCallback(mMediaUpdateData.capture()); in testMetadataSyncFail()
[all …]
DMediaPlayerListTest.java164 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
168 mActivePlayerCallback.mediaUpdatedCallback(currMediaData); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
190 mActivePlayerCallback.mediaUpdatedCallback(prepareMediaData(PlaybackState.STATE_PAUSED)); in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java64 void mediaUpdatedCallback(MediaData data); in mediaUpdatedCallback() method
330 mRegisteredCallback.mediaUpdatedCallback(newData); in sendMediaUpdate()
DMediaPlayerList.java789 public void mediaUpdatedCallback(MediaData data) {