Searched refs:octets (Results 1 – 10 of 10) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | event_payload_builder.cc | 29 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()
|
D | event_payload_builder.h | 41 bool AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes); 56 bool AddPayloadOctets(size_t octets, uint64_t value);
|
D | event_packet_builder.h | 303 bool CanAddPayloadOctets(size_t octets); 305 bool AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes);
|
D | event_packet_builder.cc | 762 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/ |
D | raw_builder.cc | 31 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()
|
D | raw_builder.h | 49 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/ |
D | raw_builder.cc | 29 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()
|
D | raw_builder.h | 48 bool AddOctets(size_t octets, const std::vector<uint8_t>& bytes); 63 bool AddOctets(size_t octets, uint64_t value);
|
/system/bt/packet/base/ |
D | packet_builder.cc | 31 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()
|
D | packet_builder.h | 58 bool AddPayloadOctets(const std::shared_ptr<Packet>& pkt, size_t octets,
|