Searched refs:packet_ (Results 1 – 10 of 10) sorted by relevance
/system/bt/packet/base/ |
D | iterator.cc | 26 packet_ = packet; in Iterator() 43 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=() 52 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++() 60 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++() 74 index_ = (index_ < offset || index_ - offset < packet_->packet_start_index_) in operator -=() 75 ? packet_->packet_start_index_ in operator -=() 83 if (index_ != packet_->packet_start_index_) index_--; in operator --() 89 if (index_ != packet_->packet_start_index_) index_--; in operator --() 95 packet_ = itr.packet_; in operator =() 102 return ((packet_ == itr.packet_) && (index_ == itr.index_)); in operator ==() [all …]
|
D | iterator.h | 96 std::shared_ptr<const Packet> packet_;
|
/system/bt/vendor_libs/linux/interface/ |
D | hci_packetizer.cc | 48 const hidl_vec<uint8_t>& HciPacketizer::GetPacket() const { return packet_; } in GetPacket() 51 packet_.setToExternal(data, len); in CbHciPacket() 66 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady() 67 memcpy(packet_.data(), preamble_, preamble_size_for_type[packet_type]); in OnDataReady() 78 packet_.data() + preamble_size_for_type[packet_type] + bytes_read_, in OnDataReady()
|
D | hci_packetizer.h | 45 hidl_vec<uint8_t> packet_; variable
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | h4_packetizer.cc | 78 command_cb_(packet_); in OnPacketReady() 81 acl_cb_(packet_); in OnPacketReady() 84 sco_cb_(packet_); in OnPacketReady() 87 event_cb_(packet_); in OnPacketReady() 149 packet_.resize(preamble_bytes + packet_length); in OnDataReady() 150 memcpy(packet_.data(), preamble_, preamble_bytes); in OnDataReady() 167 … TEMP_FAILURE_RETRY(read(fd, packet_.data() + preamble_bytes + bytes_read_, bytes_remaining_)); in OnDataReady()
|
D | hci_packetizer.cc | 54 return packet_; in GetPacket() 84 packet_.resize(preamble_size[static_cast<uint8_t>(packet_type)] + packet_length); in OnDataReady() 85 memcpy(packet_.data(), preamble_, preamble_size[static_cast<uint8_t>(packet_type)]); in OnDataReady() 103 …read(fd, packet_.data() + preamble_size[static_cast<uint8_t>(packet_type)] + bytes_read_, bytes_re… in OnDataReady()
|
D | hci_packetizer.h | 61 std::vector<uint8_t> packet_; variable
|
D | h4_packetizer.h | 78 std::vector<uint8_t> packet_; variable
|
/system/bt/gd/hci/acl_manager/ |
D | acl_fragmenter.cc | 27 : mtu_(mtu), packet_(std::move(packet)) {} in AclFragmenter() 32 packet_->Serialize(fragmenting_inserter); in GetFragments()
|
D | acl_fragmenter.h | 41 std::unique_ptr<packet::BasePacketBuilder> packet_; variable
|