Home
last modified time | relevance | path

Searched refs:payload_ (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/
Draw_builder.cc28 RawBuilder::RawBuilder(std::vector<uint8_t> vec) : payload_(std::move(vec)) {} in RawBuilder()
31 if (payload_.size() + octets > max_bytes_) { in AddOctets()
37 payload_.insert(payload_.end(), bytes.begin(), bytes.end()); in AddOctets()
90 return payload_.size() + num_bytes <= max_bytes_; in CanAddOctets()
94 for (const auto& val : payload_) { in Serialize()
100 return payload_.size(); in size()
Draw_builder.h52 if (payload_.size() + N > max_bytes_) { in AddOctets()
56 payload_.insert(payload_.end(), bytes.begin(), bytes.end()); in AddOctets()
78 std::vector<uint8_t> payload_; variable
Dpacket_builder_unittest.cc198 size_t payload_size = (payload_ ? payload_->size() : 0); in size()
220 if (payload_) { in Serialize()
221 payload_->Serialize(it); in Serialize()
226 std::unique_ptr<BasePacketBuilder> payload_; member in bluetooth::packet::NestedBuilder
229 …NestedBuilder(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)… in NestedBuilder()
/packages/modules/Bluetooth/system/packet/avrcp/
Dvendor_packet.cc36 builder->payload_ = std::move(payload); in MakeBuilder()
42 return VendorPacket::kMinSize() + payload_->size(); in size()
53 log::assert_that(payload_->size() < size_t(0xFFFF), in Serialize()
55 PushHeader(pkt, payload_->size()); in Serialize()
58 return payload_->Serialize(pkt); in Serialize()
Davrcp_browse_packet.cc29 builder->payload_ = std::move(payload); in MakeBuilder()
35 return BrowsePacket::kMinSize() + payload_->size(); in size()
42 PushHeader(pkt, payload_->size()); in Serialize()
44 return payload_->Serialize(pkt); in Serialize()
Davrcp_packet.cc32 builder->payload_ = std::move(payload); in MakeBuilder()
39 return payload_->size() + Packet::kMinSize(); in size()
49 return payload_->Serialize(pkt); in Serialize()
Davrcp_browse_packet.h43 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable
Davrcp_packet.h47 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable