Lines Matching refs:pkt
43 bool PacketBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize() argument
44 ReserveSpace(pkt, size()); in Serialize()
47 PushHeader(pkt); in Serialize()
50 return payload_->Serialize(pkt); in Serialize()
54 const std::shared_ptr<::bluetooth::Packet>& pkt) { in PushHeader() argument
55 AddPayloadOctets1(pkt, static_cast<uint8_t>(c_type_)); in PushHeader()
56 AddPayloadOctets1(pkt, (subunit_type_ << 3) | subunit_id_); in PushHeader()
57 AddPayloadOctets1(pkt, static_cast<uint8_t>(opcode_)); in PushHeader()
61 const std::shared_ptr<::bluetooth::Packet>& pkt, uint32_t company_id) { in PushCompanyId() argument
65 AddPayloadOctets1(pkt, company_id & 0xFF); in PushCompanyId()
72 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse() argument
73 return std::shared_ptr<Packet>(new Packet(pkt)); in Parse()