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.cc85 auto response = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in VendorPacketHandler()
105 RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in VendorPacketHandler()
152 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
178 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in VendorPacketHandler()
189 auto response = RejectBuilder::MakeBuilder( in VendorPacketHandler()
203 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER); in HandleGetCapabilities()
236 auto response = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, in HandleGetCapabilities()
247 auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), in HandleNotification()
313 auto response = RejectBuilder::MakeBuilder( in HandleNotification()
569 auto response = RejectBuilder::MakeBuilder( in RejectNotification()
[all …]
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc487 auto rejected_response = RejectBuilder::MakeBuilder( in TEST_F()
1016 auto set_addr_player_rej_rsp = RejectBuilder::MakeBuilder( in TEST_F()
1295 auto request_unknown_response = RejectBuilder::MakeBuilder( in TEST_F()
1351 auto reg_notif_rej_rsp = RejectBuilder::MakeBuilder( in TEST_F()
1367 auto rsp = RejectBuilder::MakeBuilder(static_cast<CommandPdu>(0), Status::INVALID_COMMAND); in TEST_F()
1379 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_CAPABILITIES, Status::INVALID_PARAMETER); in TEST_F()
1391 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::GET_ELEMENT_ATTRIBUTES, Status::INVALID_PARAMETE… in TEST_F()
1403 auto rsp = RejectBuilder::MakeBuilder(CommandPdu::PLAY_ITEM, Status::INVALID_PARAMETER); in TEST_F()
1415 …auto rsp = RejectBuilder::MakeBuilder(CommandPdu::SET_ADDRESSED_PLAYER, Status::INVALID_PARAMETER); in TEST_F()