Lines Matching refs:Packet
40 return payload_->size() + Packet::kMinSize(); in size()
43 bool PacketBuilder::Serialize(const std::shared_ptr<::bluetooth::Packet>& pkt) { in Serialize()
54 const std::shared_ptr<::bluetooth::Packet>& pkt) { in PushHeader()
61 const std::shared_ptr<::bluetooth::Packet>& pkt, uint32_t company_id) { in PushCompanyId()
71 std::shared_ptr<Packet> Packet::Parse( in Parse()
72 std::shared_ptr<::bluetooth::Packet> pkt) { in Parse()
73 return std::shared_ptr<Packet>(new Packet(pkt)); in Parse()
76 CType Packet::GetCType() const { in GetCType()
81 uint8_t Packet::GetSubunitType() const { in GetSubunitType()
85 uint8_t Packet::GetSubunitId() const { in GetSubunitId()
89 Opcode Packet::GetOpcode() const { in GetOpcode()
94 bool Packet::IsValid() const { return size() >= kMinSize(); } in IsValid()
96 std::string Packet::ToString() const { in ToString()
112 std::pair<size_t, size_t> Packet::GetPayloadIndecies() const { in GetPayloadIndecies()