Home
last modified time | relevance | path

Searched refs:CType (Results 1 – 21 of 21) sorted by relevance

/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h35 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) {
Davrcp_common.h30 enum class CType : uint8_t { enum
/system/bt/packet/avrcp/
Davrcp_packet.h37 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;
Dpass_through_packet.h40 : PacketBuilder(response ? CType::ACCEPTED : CType::CONTROL, 0x09, 0x00, in PassThroughPacketBuilder()
Davrcp_packet.cc28 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()
Dregister_notification_packet.h93 : VendorPacketBuilder(interim ? CType::INTERIM : CType::CHANGED, in RegisterNotificationResponseBuilder()
149 : VendorPacketBuilder(CType::NOTIFY, CommandPdu::REGISTER_NOTIFICATION, in RegisterNotificationRequestBuilder()
Dvendor_packet.h29 CType ctype, CommandPdu pdu, PacketType packet_type,
48 VendorPacketBuilder(CType ctype, CommandPdu pdu, PacketType packet_type) in VendorPacketBuilder()
Dcapabilities_packet.h41 : VendorPacketBuilder(CType::STATUS, CommandPdu::GET_CAPABILITIES, in GetCapabilitiesRequestBuilder()
100 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_CAPABILITIES, in GetCapabilitiesResponseBuilder()
Dregister_notification_packet.cc25 return GetCType() == CType::INTERIM; in IsInterim()
42 …if (GetCType() != CType::INTERIM && GetCType() != CType::CHANGED && GetCType() != CType::REJECTED)… in IsValid()
Davrcp_reject_packet.h39 : VendorPacketBuilder(CType::REJECTED, pdu, PacketType::SINGLE), in RejectBuilder()
Dset_addressed_player.h39 : VendorPacketBuilder(CType::ACCEPTED, CommandPdu::SET_ADDRESSED_PLAYER, in SetAddressedPlayerResponseBuilder()
Dset_absolute_volume.h45 : VendorPacketBuilder(CType::CONTROL, CommandPdu::SET_ABSOLUTE_VOLUME, in SetAbsoluteVolumeRequestBuilder()
Dplay_item.h38 : VendorPacketBuilder(CType::ACCEPTED, CommandPdu::PLAY_ITEM, in PlayItemResponseBuilder()
Dget_play_status_packet.h72 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_PLAY_STATUS, in GetPlayStatusResponseBuilder()
Dget_element_attributes_packet.h80 : VendorPacketBuilder(CType::STABLE, CommandPdu::GET_ELEMENT_ATTRIBUTES, in GetElementAttributesResponseBuilder()
Dset_absolute_volume.cc54 if (GetCType() != CType::ACCEPTED) return false; in IsValid()
Dvendor_packet.cc23 CType ctype, CommandPdu pdu, PacketType packet_type, in MakeBuilder()
/system/bt/packet/tests/avrcp/
Davrcp_packet_test.cc71 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()
Dvendor_packet_test.cc72 CType::STATUS, CommandPdu::GET_CAPABILITIES, PacketType::SINGLE, in TEST()
/system/bt/packet/tests/fuzzers/
Davrcp_packet_fuzzer.cc78 CType::STATUS, 0x09, 0x00, Opcode::VENDOR, std::move(cap_req_builder)); in LLVMFuzzerTestOneInput()
/system/bt/profile/avrcp/
Ddevice.cc91 if (pkt->GetCType() == CType::NOT_IMPLEMENTED) { in VendorPacketHandler()
95 if (pkt->GetCType() >= CType::ACCEPTED) { in VendorPacketHandler()
354 if (pkt->GetCType() == CType::REJECTED) { in HandleVolumeChanged()