Home
last modified time | relevance | path

Searched refs:MediaPlayerWrapper (Results 1 – 6 of 6) 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 = MediaPlayerWrapper.wrap(null, mThread.getLooper()); in testNullControllerLooper()
144 wrapper = MediaPlayerWrapper.wrap(mMockController, null); in testNullControllerLooper()
154 MediaPlayerWrapper wrapper = MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testIsReady()
182 MediaPlayerWrapper wrapper = MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testControllerUpdate()
215 MediaPlayerWrapper wrapper = in testNoQueueMediaUpdates()
216 MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testNoQueueMediaUpdates()
277 MediaPlayerWrapper wrapper = in testDataOnUpdateNoQueue()
278 MediaPlayerWrapper.wrap(mMockController, mThread.getLooper()); in testDataOnUpdateNoQueue()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java83 private Map<Integer, MediaPlayerWrapper> mMediaPlayers =
84 Collections.synchronizedMap(new HashMap<Integer, MediaPlayerWrapper>());
195 for (MediaPlayerWrapper player : mMediaPlayers.values()) { in cleanup()
221 MediaPlayerWrapper getActivePlayer() { in getActivePlayer()
247 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentMediaId()
268 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentSongInfo()
275 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentPlayStatus()
429 MediaPlayerWrapper player = mMediaPlayers.get(playerId); in addMediaPlayer()
440 MediaPlayerWrapper newPlayer = MediaPlayerWrapper.wrap( in addMediaPlayer()
464 final MediaPlayerWrapper wrapper = mMediaPlayers.get(playerId); in removeMediaPlayer()
[all …]
DMediaPlayerWrapper.java41 class MediaPlayerWrapper { class
57 protected MediaPlayerWrapper() { in MediaPlayerWrapper() method in MediaPlayerWrapper
84 static MediaPlayerWrapper wrap(MediaController controller, Looper looper) { in wrap()
91 MediaPlayerWrapper newWrapper; in wrap()
96 newWrapper = new MediaPlayerWrapper(); in wrap()
DGPMWrapper.java27 class GPMWrapper extends MediaPlayerWrapper {
DAvrcpTargetService.java71 boolean state = !MediaPlayerWrapper.playstateEquals(mCurrentData.state, data.state); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DMediaData.java45 if (!MediaPlayerWrapper.playstateEquals(state, u.state)) { in equals()