Home
last modified time | relevance | path

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

/system/bt/include/hardware/avrcp/
Davrcp.h35 enum PlayState : uint8_t { enum
47 PlayState state;
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc151 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F()
152 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F()
166 true, PlayState::PLAYING); in TEST_F()
180 false, PlayState::STOPPED); in TEST_F()
195 PlayStatus status1 = {0x1234, 0x5678, PlayState::PAUSED}; in TEST_F()
196 PlayStatus status2 = {0x5678, 0x9ABC, PlayState::STOPPED}; in TEST_F()
313 true, PlayState::PLAYING); in TEST_F()
319 false, PlayState::STOPPED); in TEST_F()
336 PlayStatus status1 = {0x1234, 0x5678, PlayState::PLAYING}; in TEST_F()
341 PlayStatus status2 = {0x1234, 0x5678, PlayState::STOPPED}; in TEST_F()
[all …]
/system/bt/profile/avrcp/
Ddevice.cc453 if (status.state == PlayState::PAUSED) play_pos_update_cb_.Cancel(); in PlaybackStatusNotificationResponse()
463 if (!IsActive()) state_to_send = PlayState::PAUSED; in PlaybackStatusNotificationResponse()
475 interim, IsActive() ? status.state : PlayState::PAUSED); in PlaybackStatusNotificationResponse()
516 if (status.state == PlayState::PLAYING && !IsInSilenceMode()) { in PlaybackPosNotificationResponse()
580 IsActive() ? status.state : PlayState::PAUSED); in GetPlayStatusResponse()
659 if (s.state == PlayState::PLAYING) { in MessageReceived()