/system/bt/include/hardware/avrcp/ |
D | avrcp_logging_helper.h | 35 inline std::string CTypeText(const CType& type) { in CTypeText() 37 CASE_RETURN_TEXT(CType::CONTROL); in CTypeText() 38 CASE_RETURN_TEXT(CType::STATUS); in CTypeText() 39 CASE_RETURN_TEXT(CType::NOTIFY); in CTypeText() 40 CASE_RETURN_TEXT(CType::ACCEPTED); in CTypeText() 41 CASE_RETURN_TEXT(CType::REJECTED); in CTypeText() 42 CASE_RETURN_TEXT(CType::STABLE); in CTypeText() 43 CASE_RETURN_TEXT(CType::CHANGED); in CTypeText() 44 CASE_RETURN_TEXT(CType::INTERIM); in CTypeText() 50 inline std::ostream& operator<<(std::ostream& os, const CType& type) {
|
D | avrcp_common.h | 30 enum class CType : uint8_t { enum
|
/system/bt/packet/avrcp/ |
D | avrcp_packet.h | 37 CType cType, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode, 45 CType c_type_; 55 PacketBuilder(CType type, uint8_t subunit_type, uint8_t subunit_id, in PacketBuilder() 84 CType GetCType() const;
|
D | pass_through_packet.h | 40 : PacketBuilder(response ? CType::ACCEPTED : CType::CONTROL, 0x09, 0x00, in PassThroughPacketBuilder()
|
D | avrcp_packet.cc | 28 CType type, uint8_t subunit_type, uint8_t subunit_id, Opcode opcode, in MakeBuilder() 76 CType Packet::GetCType() const { in GetCType() 78 return static_cast<CType>(value); in GetCType()
|
D | register_notification_packet.h | 93 : VendorPacketBuilder(interim ? CType::INTERIM : CType::CHANGED, in RegisterNotificationResponseBuilder() 149 : VendorPacketBuilder(CType::NOTIFY, CommandPdu::REGISTER_NOTIFICATION, in RegisterNotificationRequestBuilder()
|
D | vendor_packet.h | 29 CType ctype, CommandPdu pdu, PacketType packet_type, 48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder()
|
D | capabilities_packet.h | 41 : VendorPacketBuilder(CType::STATUS, CommandPdu::GET_CAPABILITIES, in GetCapabilitiesRequestBuilder() 100 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_CAPABILITIES, in GetCapabilitiesResponseBuilder()
|
D | register_notification_packet.cc | 25 return GetCType() == CType::INTERIM; in IsInterim() 42 …if (GetCType() != CType::INTERIM && GetCType() != CType::CHANGED && GetCType() != CType::REJECTED)… in IsValid()
|
D | avrcp_reject_packet.h | 39 : VendorPacketBuilder(CType::REJECTED, pdu, PacketType::SINGLE), in RejectBuilder()
|
D | set_absolute_volume.h | 45 : VendorPacketBuilder(CType::CONTROL, CommandPdu::SET_ABSOLUTE_VOLUME, in SetAbsoluteVolumeRequestBuilder()
|
D | set_addressed_player.h | 39 : VendorPacketBuilder(CType::ACCEPTED, CommandPdu::SET_ADDRESSED_PLAYER, in SetAddressedPlayerResponseBuilder()
|
D | play_item.h | 38 : VendorPacketBuilder(CType::ACCEPTED, CommandPdu::PLAY_ITEM, in PlayItemResponseBuilder()
|
D | get_play_status_packet.h | 72 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_PLAY_STATUS, in GetPlayStatusResponseBuilder()
|
D | get_element_attributes_packet.h | 80 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_ELEMENT_ATTRIBUTES, in GetElementAttributesResponseBuilder()
|
D | set_absolute_volume.cc | 54 if (GetCType() != CType::ACCEPTED) return false; in IsValid()
|
D | vendor_packet.cc | 23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder()
|
/system/bt/packet/tests/avrcp/ |
D | avrcp_packet_test.cc | 71 CType::STATUS, 0x09, 0x00, Opcode::VENDOR, std::move(cap_req_builder)); in TEST() 83 ASSERT_EQ(test_avrcp_packet->GetCType(), CType::STATUS); in TEST() 96 ASSERT_EQ(test_avrcp_packet->GetCType(), CType::INTERIM); in TEST()
|
D | vendor_packet_test.cc | 72 CType::STATUS, CommandPdu::GET_CAPABILITIES, PacketType::SINGLE, in TEST()
|
/system/bt/profile/avrcp/ |
D | device.cc | 91 if (pkt->GetCType() == CType::NOT_IMPLEMENTED) { in VendorPacketHandler() 95 if (pkt->GetCType() >= CType::ACCEPTED) { in VendorPacketHandler() 351 if (pkt->GetCType() == CType::REJECTED) { in HandleVolumeChanged()
|