/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | UtilTest.java | 100 assertThat(PlayStatus.playbackStateToAvrcpState(PlaybackState.STATE_STOPPED)) in playStatus_playbackStateToAvrcpState() 101 .isEqualTo(PlayStatus.STOPPED); in playStatus_playbackStateToAvrcpState() 102 assertThat(PlayStatus.playbackStateToAvrcpState(PlaybackState.STATE_NONE)) in playStatus_playbackStateToAvrcpState() 103 .isEqualTo(PlayStatus.STOPPED); in playStatus_playbackStateToAvrcpState() 104 assertThat(PlayStatus.playbackStateToAvrcpState(PlaybackState.STATE_CONNECTING)) in playStatus_playbackStateToAvrcpState() 105 .isEqualTo(PlayStatus.STOPPED); in playStatus_playbackStateToAvrcpState() 107 assertThat(PlayStatus.playbackStateToAvrcpState(PlaybackState.STATE_BUFFERING)) in playStatus_playbackStateToAvrcpState() 108 .isEqualTo(PlayStatus.PLAYING); in playStatus_playbackStateToAvrcpState() 109 assertThat(PlayStatus.playbackStateToAvrcpState(PlaybackState.STATE_PLAYING)) in playStatus_playbackStateToAvrcpState() 110 .isEqualTo(PlayStatus.PLAYING); in playStatus_playbackStateToAvrcpState() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/ |
D | PlayStatus.java | 24 public class PlayStatus { class 37 public static PlayStatus fromPlaybackState(PlaybackState state, long duration) { in fromPlaybackState() 38 PlayStatus ret = new PlayStatus(); in fromPlaybackState() 52 return PlayStatus.STOPPED; in playbackStateToAvrcpState() 56 return PlayStatus.PLAYING; in playbackStateToAvrcpState() 59 return PlayStatus.PAUSED; in playbackStateToAvrcpState() 64 return PlayStatus.FWD_SEEK; in playbackStateToAvrcpState() 68 return PlayStatus.REV_SEEK; in playbackStateToAvrcpState() 72 return PlayStatus.ERROR; in playbackStateToAvrcpState()
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | device.h | 186 PlayStatus status); 189 virtual void GetPlayStatusResponse(uint8_t label, PlayStatus status); 191 PlayStatus status); 378 PlayStatus last_play_status_;
|
D | device.cc | 690 PlayStatus status) { in PlaybackStatusNotificationResponse() 723 PlayStatus status) { in PlaybackPosNotificationResponse() 814 void Device::GetPlayStatusResponse(uint8_t label, PlayStatus status) { in GetPlayStatusResponse() 901 [](base::WeakPtr<Device> d, PlayStatus s) { in MessageReceived()
|
/packages/modules/Bluetooth/system/include/hardware/avrcp/ |
D | avrcp.h | 45 struct PlayStatus { struct 114 using PlayStatusCallback = base::Callback<void(PlayStatus)>;
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/ |
D | AvrcpTargetService.java | 45 import com.android.bluetooth.audio_util.PlayStatus; 410 PlayStatus getPlayState() { in getPlayState() 411 return PlayStatus.fromPlaybackState( in getPlayState()
|
D | AvrcpNativeInterface.java | 25 import com.android.bluetooth.audio_util.PlayStatus; 115 PlayStatus getPlayStatus() { in getPlayStatus()
|
/packages/modules/Bluetooth/system/profile/avrcp/tests/ |
D | avrcp_device_test.cc | 259 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() 260 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F() 304 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F() 305 PlayStatus status2 = {0x5678, 0x9ABC, PlayState::STOPPED}; in TEST_F() 448 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() 453 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F() 504 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F() 509 PlayStatus status2 = {0x5678, 0x9ABC, PlayState::STOPPED}; in TEST_F() 681 PlayStatus status = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() 1515 PlayStatus status = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F() [all …]
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 68 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/modules/Bluetooth/system/profile/avrcp/tests/avrcp_device_fuzz/ |
D | avrcp_device_fuzz.cc | 20 using PlayStatusCallback = base::Callback<void(PlayStatus)>;
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_avrcp_target.cpp | 45 static PlayStatus getCurrentPlayStatus(); 534 static PlayStatus getCurrentPlayStatus() { in getCurrentPlayStatus() 538 if (!sCallbackEnv.valid() || !mJavaInterface) return PlayStatus(); in getCurrentPlayStatus() 540 PlayStatus status; in getCurrentPlayStatus()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/ |
D | btav_shim.cc | 130 PlayStatus playStatus_;
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 195 auto cb_lambda = [](PlayStatusCallback cb, PlayStatus status) { in GetPlayStatus()
|