Searched refs:MediaPlayerWrapper (Results 1 – 8 of 8) sorted by relevance
61 @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 …]
53 private @Captor ArgumentCaptor<MediaPlayerWrapper.Callback> mPlayerWrapperCb;58 private @Mock MediaPlayerWrapper mMockPlayerWrapper;61 private MediaPlayerWrapper.Callback mActivePlayerCallback;
30 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()
97 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 …]
41 class MediaPlayerWrapper { class84 MediaPlayerWrapper(MediaController controller, Looper looper) { in MediaPlayerWrapper() method in MediaPlayerWrapper
78 boolean state = !MediaPlayerWrapper.playstateEquals(mCurrentData.state, data.state); in run()373 MediaPlayerWrapper player = mMediaPlayerList.getActivePlayer(); in sendMediaKeyEvent()
28 class GPMWrapper extends MediaPlayerWrapper {
45 if (!MediaPlayerWrapper.playstateEquals(state, u.state)) { in equals()