Home
last modified time | relevance | path

Searched refs:MediaPlayerWrapper (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java61 @Mock MediaPlayerWrapper.Callback mTestCbs;
132 MediaPlayerWrapper.sTesting = true; in setUp()
141 MediaPlayerWrapper wrapper = MediaPlayerWrapperFactory.wrap(null, mThread.getLooper()); in testNullControllerLooper()
154 MediaPlayerWrapper wrapper = in testIsReady()
183 MediaPlayerWrapper wrapper = in testControllerUpdate()
217 MediaPlayerWrapper wrapper = in testNoQueueMediaUpdates()
279 MediaPlayerWrapper wrapper = in testDataOnUpdateNoQueue()
323 MediaPlayerWrapper wrapper = in testNullMetadata()
352 MediaPlayerWrapper wrapper = in testNullQueue()
379 MediaPlayerWrapper wrapper = in testQueueCached()
[all …]
DMediaPlayerListTest.java53 private @Captor ArgumentCaptor<MediaPlayerWrapper.Callback> mPlayerWrapperCb;
58 private @Mock MediaPlayerWrapper mMockPlayerWrapper;
61 private MediaPlayerWrapper.Callback mActivePlayerCallback;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaPlayerWrapperFactory.java30 private static MediaPlayerWrapper sInjectedWrapper;
32 static MediaPlayerWrapper wrap(MediaController controller, Looper looper) { in wrap()
38 MediaPlayerWrapper newWrapper; in wrap()
42 newWrapper = new MediaPlayerWrapper(controller, looper); in wrap()
48 static void inject(MediaPlayerWrapper wrapper) { in inject()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java97 private Map<Integer, MediaPlayerWrapper> mMediaPlayers =
98 Collections.synchronizedMap(new HashMap<Integer, MediaPlayerWrapper>());
221 for (MediaPlayerWrapper player : mMediaPlayers.values()) { in cleanup()
247 MediaPlayerWrapper getActivePlayer() { in getActivePlayer()
271 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentMediaId()
292 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentSongInfo()
299 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentPlayStatus()
458 MediaPlayerWrapper player = mMediaPlayers.get(playerId); in addMediaPlayer()
469 MediaPlayerWrapper newPlayer = MediaPlayerWrapperFactory.wrap( in addMediaPlayer()
533 final MediaPlayerWrapper wrapper = mMediaPlayers.get(playerId); in removeMediaPlayer()
[all …]
DMediaPlayerWrapper.java41 class MediaPlayerWrapper { class
84 MediaPlayerWrapper(MediaController controller, Looper looper) { in MediaPlayerWrapper() method in MediaPlayerWrapper
DAvrcpTargetService.java78 boolean state = !MediaPlayerWrapper.playstateEquals(mCurrentData.state, data.state); in run()
373 MediaPlayerWrapper player = mMediaPlayerList.getActivePlayer(); in sendMediaKeyEvent()
DGPMWrapper.java28 class GPMWrapper extends MediaPlayerWrapper {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DMediaData.java45 if (!MediaPlayerWrapper.playstateEquals(state, u.state)) { in equals()