Home
last modified time | relevance | path

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

/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java51 protected PlaybackState mPlaybackState; field in PlayerSession
63 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 …]
DNotificationHelper.java41 private PlaybackState mPlaybackState; field in NotificationHelper
90 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()
DOnePlayerActivity.java61 private PlaybackState mPlaybackState; field in OnePlayerActivity
143 final int state = mPlaybackState.getState();
178 mPlaybackState = state;
182 switch (mPlaybackState.getState()) {
212 statusBuilder.append(mPlaybackState);
/frameworks/base/media/java/android/media/
DPlayerRecord.java82 public RccPlaybackState mPlaybackState; field in PlayerRecord
199 " state: " + mPlaybackState); in dump()
205 " -- state: " + mPlaybackState + in dump()
227 mPlaybackState = new RccPlaybackState( in PlayerRecord()
273 return MediaFocusControl.isPlaystateActive(mPlaybackState.mState); in isPlaybackActive()
321 mPlaybackState.reset(); in resetPlaybackInfo()
DRemoteControlClient.java675 if ((mPlaybackState != state) || (mPlaybackPositionMs != timeInMs) in setPlaybackStateInt()
678 mPlaybackState = state; in setPlaybackStateInt()
729 setPlaybackState(mPlaybackState, actPos, mPlaybackSpeed); in onPositionDriftCheck()
861 && playbackPositionShouldMove(mPlaybackState)) { in setOnGetPlaybackPositionListener()
900 private int mPlaybackState = PLAYSTATE_NONE; field in RemoteControlClient
DMediaFocusControl.java1887 && isPlaystateActive(prse.mPlaybackState.mState) in checkUpdateRemoteStateIfActive()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java106 private PlaybackState mPlaybackState; field in MediaSessionRecord
334 int state = mPlaybackState == null ? 0 : mPlaybackState.getState(); in isPlaybackActive()
338 if (includeRecentlyActive && state == mPlaybackState.STATE_PAUSED) { in isPlaybackActive()
449 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString())); in dump()
478 cb.onPlaybackStateChanged(mPlaybackState); in pushPlaybackStateUpdate()
630 state = mPlaybackState; in getStateWithUpdatedPosition()
744 int oldState = mPlaybackState == null ? 0 : mPlaybackState.getState(); in setPlaybackState()
750 mPlaybackState = state; in setPlaybackState()
/frameworks/base/media/java/android/media/session/
DMediaSession.java115 private PlaybackState mPlaybackState; field in MediaSession
395 mPlaybackState = state; in setPlaybackState()
690 PlaybackState state = mSession.mPlaybackState; in onMediaButtonEvent()