Home
last modified time | relevance | path

Searched refs:RejectBuilder (Results 1 – 5 of 5) sorted by relevance

/system/bt/packet/avrcp/
Davrcp_reject_packet.cc22 std::unique_ptr<RejectBuilder> RejectBuilder::MakeBuilder(CommandPdu pdu, in MakeBuilder()
24 std::unique_ptr<RejectBuilder> builder = in MakeBuilder()
25 std::unique_ptr<RejectBuilder>(new RejectBuilder(pdu, reason)); in MakeBuilder()
30 size_t RejectBuilder::size() const { return VendorPacket::kMinSize() + 1; } in size()
32 bool RejectBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize()
Davrcp_reject_packet.h24 class RejectBuilder : public VendorPacketBuilder {
26 virtual ~RejectBuilder() = default;
28 static std::unique_ptr<RejectBuilder> MakeBuilder(CommandPdu pdu,
38 RejectBuilder(CommandPdu pdu, Status reason) in RejectBuilder() function
/system/bt/packet/tests/avrcp/
Davrcp_reject_packet_test.cc29 auto builder = RejectBuilder::MakeBuilder( in TEST()
/system/bt/profile/avrcp/
Ddevice.cc103 auto response = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in VendorPacketHandler()
123 RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler()
170 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
197 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
208 auto response = RejectBuilder::MakeBuilder( in VendorPacketHandler()
222 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in HandleGetCapabilities()
255 auto response = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, in HandleGetCapabilities()
266 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in HandleNotification()
332 auto response = RejectBuilder::MakeBuilder( in HandleNotification()
588 auto response = RejectBuilder::MakeBuilder( in RejectNotification()
[all …]
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc511 auto rejected_response = RejectBuilder::MakeBuilder( in TEST_F()
1197 auto set_addr_player_rej_rsp = RejectBuilder::MakeBuilder( in TEST_F()
1514 auto request_unknown_response = RejectBuilder::MakeBuilder( in TEST_F()
1571 auto reg_notif_rej_rsp = RejectBuilder::MakeBuilder( in TEST_F()
1587 auto rsp = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in TEST_F()
1599 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, Status::INVALID_PARAMETER); in TEST_F()
1611 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_ELEMENT_ATTRIBUTES, Status::INVALID_PARAMETE… in TEST_F()
1623 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::PLAY_ITEM, Status::INVALID_PARAMETER); in TEST_F()
1635 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::SET_ADDRESSED_PLAYER, Status::INVALID_PARAMETER); in TEST_F()