Home
last modified time | relevance | path

Searched refs:PlayState (Results 1 – 3 of 3) sorted by relevance

/system/bt/include/hardware/avrcp/
Davrcp.h36 enum PlayState : uint8_t { enum
48 PlayState state;
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc173 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F()
174 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F()
188 true, PlayState::PLAYING); in TEST_F()
202 false, PlayState::STOPPED); in TEST_F()
217 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F()
218 PlayStatus status2 = {0x5678, 0x9ABC, PlayState::STOPPED}; in TEST_F()
336 true, PlayState::PLAYING); in TEST_F()
342 false, PlayState::STOPPED); in TEST_F()
359 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F()
364 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F()
[all …]
/system/bt/profile/avrcp/
Ddevice.cc475 if (status.state == PlayState::PAUSED) play_pos_update_cb_.Cancel(); in PlaybackStatusNotificationResponse()
485 if (!IsActive()) state_to_send = PlayState::PAUSED; in PlaybackStatusNotificationResponse()
497 interim, IsActive() ? status.state : PlayState::PAUSED); in PlaybackStatusNotificationResponse()
538 if (status.state == PlayState::PLAYING && !IsInSilenceMode()) { in PlaybackPosNotificationResponse()
602 IsActive() ? status.state : PlayState::PAUSED); in GetPlayStatusResponse()
684 if (s.state == PlayState::PLAYING) { in MessageReceived()