Home
last modified time | relevance | path

Searched refs:mPlaybackState (Results 1 – 7 of 7) 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/services/core/java/com/android/server/media/
DMediaSessionRecord.java103 private PlaybackState mPlaybackState; field in MediaSessionRecord
369 return mPlaybackState; in getPlaybackState()
378 int state = mPlaybackState == null ? PlaybackState.STATE_NONE : mPlaybackState.getState(); in isPlaybackActive()
459 mPlaybackState = null; in onDestroy()
502 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString())); in dump()
575 holder.mCallback.onPlaybackStateChanged(mPlaybackState); in pushPlaybackStateUpdate()
736 state = mPlaybackState; in getStateWithUpdatedPosition()
894 int oldState = mPlaybackState == null in setPlaybackState()
895 ? PlaybackState.STATE_NONE : mPlaybackState.getState(); in setPlaybackState()
899 mPlaybackState = state; in setPlaybackState()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java659 if ((mPlaybackState != state) || (mPlaybackPositionMs != timeInMs) in setPlaybackStateInt()
662 mPlaybackState = state; in setPlaybackStateInt()
844 private int mPlaybackState = PLAYSTATE_NONE; field in RemoteControlClient
/frameworks/base/media/java/android/media/session/
DMediaSession.java140 private PlaybackState mPlaybackState; field in MediaSession
434 mPlaybackState = state; in setPlaybackState()
887 PlaybackState state = mSession.mPlaybackState; in onMediaButtonEvent()
972 PlaybackState state = mSession.mPlaybackState; in handleMediaPlayPauseKeySingleTapIfPending()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt39582 Landroid/media/RemoteControlClient;->mPlaybackState:I
40301 Landroid/media/session/MediaSession;->mPlaybackState:Landroid/media/session/PlaybackState;