Home
last modified time | relevance | path

Searched refs:PlayStatus (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
DPlayStatus.java26 public class PlayStatus { class
39 public static PlayStatus fromPlaybackState(PlaybackState state, long duration) { in fromPlaybackState()
40 PlayStatus ret = new PlayStatus(); in fromPlaybackState()
54 return PlayStatus.STOPPED; in playbackStateToAvrcpState()
58 return PlayStatus.PLAYING; in playbackStateToAvrcpState()
61 return PlayStatus.PAUSED; in playbackStateToAvrcpState()
66 return PlayStatus.FWD_SEEK; in playbackStateToAvrcpState()
70 return PlayStatus.REV_SEEK; in playbackStateToAvrcpState()
74 return PlayStatus.ERROR; in playbackStateToAvrcpState()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java43 import com.android.bluetooth.audio_util.PlayStatus;
376 PlayStatus getPlayState() { in getPlayState()
377 return PlayStatus.fromPlaybackState(mMediaPlayerList.getCurrentPlayStatus(), in getPlayState()
DAvrcpNativeInterface.java26 import com.android.bluetooth.audio_util.PlayStatus;
90 PlayStatus getPlayStatus() { in getPlayStatus()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java68 public @interface PlayStatus {} annotation in TimeShiftManager
370 @PlayStatus
531 void onPlayStatusChanged(@PlayStatus int status) { in onPlayStatusChanged()
585 @PlayStatus private int mPlayStatus = PLAY_STATUS_PAUSED;
850 private void setPlayStatus(@PlayStatus int status) { in setPlayStatus()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp45 static PlayStatus getCurrentPlayStatus();
514 static PlayStatus getCurrentPlayStatus() { in getCurrentPlayStatus()
518 if (!sCallbackEnv.valid() || !mJavaInterface) return PlayStatus(); in getCurrentPlayStatus()
520 PlayStatus status; in getCurrentPlayStatus()