Home
last modified time | relevance | path

Searched refs:octets (Results 1 – 10 of 10) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Devent_payload_builder.cc29 bool EventPayloadBuilder::AddPayloadOctets(size_t octets, const vector<uint8_t>& bytes) { in AddPayloadOctets() argument
30 if (payload_.size() + octets > max_bytes_) return false; in AddPayloadOctets()
32 if (octets != bytes.size()) return false; in AddPayloadOctets()
43 bool EventPayloadBuilder::AddPayloadOctets(size_t octets, uint64_t value) { in AddPayloadOctets() argument
48 if (octets > sizeof(uint64_t)) return false; in AddPayloadOctets()
50 for (size_t i = 0; i < octets; i++) { in AddPayloadOctets()
57 return AddPayloadOctets(octets, val_vector); in AddPayloadOctets()
Devent_payload_builder.h41 bool AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes);
56 bool AddPayloadOctets(size_t octets, uint64_t value);
Devent_packet_builder.h303 bool CanAddPayloadOctets(size_t octets);
305 bool AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes);
Devent_packet_builder.cc762 bool EventPacketBuilder::CanAddPayloadOctets(size_t octets) { in CanAddPayloadOctets() argument
763 return payload_->CanAddOctets(octets); in CanAddPayloadOctets()
766 bool EventPacketBuilder::AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes) { in AddPayloadOctets() argument
767 return payload_->AddOctets(octets, bytes); in AddPayloadOctets()
/system/bt/gd/packet/
Draw_builder.cc31 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets() argument
32 if (payload_.size() + octets > max_bytes_) return false; in AddOctets()
34 if (octets != bytes.size()) return false; in AddOctets()
45 bool RawBuilder::AddOctets(size_t octets, uint64_t value) { in AddOctets() argument
50 if (octets > sizeof(uint64_t)) return false; in AddOctets()
52 for (size_t i = 0; i < octets; i++) { in AddOctets()
59 return AddOctets(octets, val_vector); in AddOctets()
Draw_builder.h49 bool AddOctets(size_t octets, const std::vector<uint8_t>& bytes);
64 bool AddOctets(size_t octets, uint64_t value);
/system/bt/vendor_libs/test_vendor_lib/packets/
Draw_builder.cc29 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets() argument
30 if (payload_.size() + octets > max_bytes_) return false; in AddOctets()
32 if (octets != bytes.size()) return false; in AddOctets()
43 bool RawBuilder::AddOctets(size_t octets, uint64_t value) { in AddOctets() argument
48 if (octets > sizeof(uint64_t)) return false; in AddOctets()
50 for (size_t i = 0; i < octets; i++) { in AddOctets()
57 return AddOctets(octets, val_vector); in AddOctets()
Draw_builder.h48 bool AddOctets(size_t octets, const std::vector<uint8_t>& bytes);
63 bool AddOctets(size_t octets, uint64_t value);
/system/bt/packet/base/
Dpacket_builder.cc31 size_t octets, uint64_t value) { in AddPayloadOctets() argument
32 CHECK_LE(octets, sizeof(uint64_t)); in AddPayloadOctets()
34 for (size_t i = 0; i < octets; i++) { in AddPayloadOctets()
Dpacket_builder.h58 bool AddPayloadOctets(const std::shared_ptr<Packet>& pkt, size_t octets,