Home
last modified time | relevance | path

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

/system/bt/packet/base/
Diterator.cc26 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 …]
Diterator.h96 std::shared_ptr<const Packet> packet_;
/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc48 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()
Dhci_packetizer.h45 hidl_vec<uint8_t> packet_; variable
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dh4_packetizer.cc78 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()
Dhci_packetizer.cc54 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()
Dhci_packetizer.h61 std::vector<uint8_t> packet_; variable
Dh4_packetizer.h78 std::vector<uint8_t> packet_; variable
/system/bt/gd/hci/acl_manager/
Dacl_fragmenter.cc27 : mtu_(mtu), packet_(std::move(packet)) {} in AclFragmenter()
32 packet_->Serialize(fragmenting_inserter); in GetFragments()
Dacl_fragmenter.h41 std::unique_ptr<packet::BasePacketBuilder> packet_; variable