Searched refs:KeyState (Results 1 – 10 of 10) sorted by relevance
/system/bt/packet/avrcp/ |
D | pass_through_packet.cc | 49 KeyState PassThroughPacket::GetKeyState() const { in GetKeyState() 51 return static_cast<KeyState>(((*it) & 0b10000000) >> 7); in GetKeyState()
|
D | pass_through_packet.h | 65 KeyState GetKeyState() const;
|
/system/bt/packet/tests/avrcp/ |
D | pass_through_packet_test.cc | 45 ASSERT_EQ(test_packet->GetKeyState(), KeyState::PUSHED); in TEST() 49 ASSERT_EQ(test_packet->GetKeyState(), KeyState::RELEASED); in TEST()
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_logging_helper.h | 229 inline std::string KeyStateText(const KeyState& state) { in KeyStateText() 231 CASE_RETURN_TEXT(KeyState::PUSHED); in KeyStateText() 232 CASE_RETURN_TEXT(KeyState::RELEASED); in KeyStateText() 238 inline std::ostream& operator<<(std::ostream& os, const KeyState& dir) {
|
D | avrcp.h | 105 virtual void SendKeyEvent(uint8_t key, KeyState state) = 0;
|
D | avrcp_common.h | 142 enum class KeyState : uint8_t { enum
|
/system/bt/profile/avrcp/tests/ |
D | avrcp_test_helper.h | 36 MOCK_METHOD2(SendKeyEvent, void(uint8_t, KeyState));
|
D | avrcp_device_test.cc | 1158 EXPECT_CALL(interface, SendKeyEvent(0x44, KeyState::PUSHED)).Times(1); in TEST_F() 1192 EXPECT_CALL(interface, SendKeyEvent(0x44, KeyState::PUSHED)).Times(0); in TEST_F() 1221 EXPECT_CALL(interface, SendKeyEvent(0x44, KeyState::RELEASED)).Times(1); in TEST_F() 1251 EXPECT_CALL(interface, SendKeyEvent(0x44, KeyState::RELEASED)).Times(0); in TEST_F()
|
/system/bt/profile/avrcp/ |
D | device.cc | 640 true, pass_through_packet->GetKeyState() == KeyState::PUSHED, in MessageReceived() 646 pass_through_packet->GetKeyState() == KeyState::PUSHED) { in MessageReceived() 666 d->media_interface_->SendKeyEvent(0x44, KeyState::PUSHED); in MessageReceived()
|
/system/bt/btif/avrcp/ |
D | avrcp_service.cc | 141 void SendKeyEvent(uint8_t key, KeyState state) override { in SendKeyEvent()
|