Searched refs:mPlaybackState (Results 1 – 10 of 10) sorted by relevance
51 protected PlaybackState mPlaybackState; field in PlayerSession63 mPlaybackState = psBob.build(); in PlayerSession()80 mSession.setPlaybackState(mPlaybackState); in createSession()141 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in updateState()144 mPlaybackState = bob.build(); in updateState()145 mSession.setPlaybackState(mPlaybackState); in updateState()167 PlaybackState.Builder bob = new PlaybackState.Builder(mPlaybackState); in onError()172 mPlaybackState = bob.build(); in onError()173 mSession.setPlaybackState(mPlaybackState); in onError()175 mListener.onPlayStateChanged(mPlaybackState); in onError()[all …]
61 private PlaybackState mPlaybackState; field in OnePlayerActivity143 final int state = mPlaybackState.getState();178 mPlaybackState = state;182 switch (mPlaybackState.getState()) {212 statusBuilder.append(mPlaybackState);
41 private PlaybackState mPlaybackState; field in NotificationHelper90 mPlaybackState = mController.getPlaybackState(); in onStart()131 mPlaybackState = state;150 if (mPlaybackState == null) { in updateNotification()160 final int state = mPlaybackState.getState(); in updateNotification()205 final long pos = mPlaybackState.getPosition(); in updateNotification()
77 private PlaybackState mPlaybackState = mock(PlaybackState.class); field in MediaOutputDialogTest108 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in setUp()109 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_NONE); in setUp()162 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getStopButtonVisibility_remoteBLEDevice_returnVisible()173 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getStopButtonVisibility_remoteNonBLEDevice_returnGone()191 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_isBroadcasting_returnVisible()202 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_noBroadcasting_returnGone()213 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_remoteNonLeDevice_returnGone()
77 private PlaybackState mPlaybackState = mock(PlaybackState.class); field in MediaOutputBaseDialogTest116 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in setUp()117 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_NONE); in setUp()
93 private PlaybackState mPlaybackState = mPlaybackStateBuilder.build(); field in PipActivity267 if (mPlaybackState.getState() == newState) { in updateMediaSessionState()287 mPlaybackState = mPlaybackStateBuilder.build(); in updateMediaSessionState()291 mMediaSession.setPlaybackState(mPlaybackState); in updateMediaSessionState()
160 private PlaybackState mPlaybackState; field in MediaSessionRecord417 if (mPlaybackState == null) { in checkPlaybackActiveState()420 return mPlaybackState.isActive() == expected; in checkPlaybackActiveState()450 mPlaybackState = null; in close()538 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString())); in dump()615 playbackState = mPlaybackState; in pushPlaybackStateUpdate()836 state = mPlaybackState; in getStateWithUpdatedPosition()1073 int oldState = mPlaybackState == null in setPlaybackState()1074 ? PlaybackState.STATE_NONE : mPlaybackState.getState(); in setPlaybackState()1081 mPlaybackState = state; in setPlaybackState()
660 if ((mPlaybackState != state) || (mPlaybackPositionMs != timeInMs) in setPlaybackStateInt()663 mPlaybackState = state; in setPlaybackStateInt()845 private int mPlaybackState = PLAYSTATE_NONE; field in RemoteControlClient
147 private PlaybackState mPlaybackState; field in MediaSession481 mPlaybackState = state; in setPlaybackState()924 PlaybackState state = mSession.mPlaybackState; in onMediaButtonEvent()1009 PlaybackState state = mSession.mPlaybackState; in handleMediaPlayPauseKeySingleTapIfPending()
29447 Landroid/media/RemoteControlClient;->mPlaybackState:I30166 Landroid/media/session/MediaSession;->mPlaybackState:Landroid/media/session/PlaybackState;