Home
last modified time | relevance | path

Searched refs:PlaybackState (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
DA2dpMediaBrowserService.java31 import android.media.session.PlaybackState;
75 private long mTransportControlFlags = PlaybackState.ACTION_PAUSE | PlaybackState.ACTION_PLAY
76 | PlaybackState.ACTION_SKIP_TO_NEXT | PlaybackState.ACTION_SKIP_TO_PREVIOUS;
108 Pair<PlaybackState, MediaMetadata> pair = in handleMessage()
109 (Pair<PlaybackState, MediaMetadata>) (msg.obj); in handleMessage()
272 PlaybackState pbb =
277 MSG_TRACK, new Pair<PlaybackState, MediaMetadata>(pbb, mmd)).sendToTarget();
315 PlaybackState playbackState = mAvrcpProfile.getPlaybackState(mA2dpDevice); in refreshInitialPlayingState()
317 PlaybackState.Builder pbb = new PlaybackState.Builder(playbackState); in refreshInitialPlayingState()
338 PlaybackState.Builder pbb = new PlaybackState.Builder(); in msgDeviceDisconnect()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java34 import android.media.session.PlaybackState;
80 private PlaybackState mCurrentPlayState;
158 …mCurrentPlayState = new PlaybackState.Builder().setState(PlaybackState.STATE_NONE, -1L, 0.0f).buil… in Avrcp()
240 public void onPlaybackStateChanged(PlaybackState state) { in onPlaybackStateChanged()
550 PlaybackState.ACTION_FAST_FORWARD) != 0) { in handleMessage()
559 PlaybackState.ACTION_REWIND) != 0) { in handleMessage()
624 PlaybackState.Builder builder = new PlaybackState.Builder(); in updateA2dpAudioState()
626 builder.setState(PlaybackState.STATE_PLAYING, in updateA2dpAudioState()
627 PlaybackState.PLAYBACK_POSITION_UNKNOWN, 1.0f); in updateA2dpAudioState()
629 builder.setState(PlaybackState.STATE_PAUSED, in updateA2dpAudioState()
[all …]
DAvrcpControllerClasses.java29 import android.media.session.PlaybackState;
131 public static PlaybackState mapBtPlayStatustoPlayBackState(byte btPlayStatus, long btPlayPos) { in mapBtPlayStatustoPlayBackState()
132 int mState = PlaybackState.STATE_NONE; in mapBtPlayStatustoPlayBackState()
137 mState = PlaybackState.STATE_STOPPED; in mapBtPlayStatustoPlayBackState()
142 mState = PlaybackState.STATE_PLAYING; in mapBtPlayStatustoPlayBackState()
145 mState = PlaybackState.STATE_PAUSED; in mapBtPlayStatustoPlayBackState()
149 mState = PlaybackState.STATE_FAST_FORWARDING; in mapBtPlayStatustoPlayBackState()
153 mState = PlaybackState.STATE_REWINDING; in mapBtPlayStatustoPlayBackState()
157 return new PlaybackState.Builder().setState(mState, position, speed).build(); in mapBtPlayStatustoPlayBackState()
DAvrcpControllerService.java30 import android.media.session.PlaybackState;
316 public PlaybackState getPlaybackState(BluetoothDevice device) { in getPlaybackState()
458 public PlaybackState getPlaybackState(BluetoothDevice device) { in getPlaybackState()
488 private PlaybackState getCurrentPlayBackState() { in getCurrentPlayBackState()
490 return new PlaybackState.Builder().setState(PlaybackState.STATE_ERROR, in getCurrentPlayBackState()
491 PlaybackState.PLAYBACK_POSITION_UNKNOWN, in getCurrentPlayBackState()
520 private void broadcastPlayBackStateChanged(PlaybackState state) { in broadcastPlayBackStateChanged()
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
DMediaStateMonitor.java23 import android.media.session.PlaybackState;
104 private void onPlaybackStateChanged(PlaybackState state) { in onPlaybackStateChanged()
113 void onPlaybackStateChanged(PlaybackState playbackState); in onPlaybackStateChanged()
126 public void onPlaybackStateChanged(PlaybackState state) { in onPlaybackStateChanged()
DDemoMediaRenderer.java21 import android.media.session.PlaybackState;
46 public void onPlaybackStateChanged(PlaybackState playbackState) { in onPlaybackStateChanged()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsPlayer.java97 public @interface PlaybackState {} annotation in MpegTsPlayer
131 @PlaybackState private int mLastReportedPlaybackState;
272 @PlaybackState public int getPlaybackState() { in getPlaybackState()
280 @PlaybackState int state = getPlaybackState(); in isPlaying()
398 @PlaybackState int playbackState = getPlaybackState(); in maybeReportPlayerState()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java37 import android.media.session.PlaybackState;
1987 PlaybackState.Builder builder = new PlaybackState.Builder();
1988 builder.setState(isPlaying ? PlaybackState.STATE_PLAYING : PlaybackState.STATE_STOPPED,
1989 PlaybackState.PLAYBACK_POSITION_UNKNOWN,
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt40873 …2653 2760 D AvrcpControllerService: broadcastPlayBackStateChanged = PlaybackState {state=2, posi…
41180 …ce: Media metadata android.media.MediaMetadata@9754ebd playback state PlaybackState {state=2, posi…
92420 …state=PlaybackState {state=2, position=255, buffered position=0, speed=0.0, updated=162089, action…
92467 …state=PlaybackState {state=2, position=255, buffered position=0, speed=0.0, updated=162089, action…