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.cc456 if (status.state == PlayState::PAUSED) play_pos_update_cb_.Cancel(); in PlaybackStatusNotificationResponse()
466 if (!IsActive()) state_to_send = PlayState::PAUSED; in PlaybackStatusNotificationResponse()
478 interim, IsActive() ? status.state : PlayState::PAUSED); in PlaybackStatusNotificationResponse()
519 if (status.state == PlayState::PLAYING && !IsInSilenceMode()) { in PlaybackPosNotificationResponse()
583 IsActive() ? status.state : PlayState::PAUSED); in GetPlayStatusResponse()
662 if (s.state == PlayState::PLAYING) { in MessageReceived()