Home
last modified time | relevance | path

Searched refs:packet_ (Results 1 – 8 of 8) 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/test_vendor_lib/model/devices/
Dh4_packetizer.cc84 command_cb_(packet_); in OnPacketReady()
87 acl_cb_(packet_); in OnPacketReady()
90 sco_cb_(packet_); in OnPacketReady()
93 event_cb_(packet_); in OnPacketReady()
96 iso_cb_(packet_); in OnPacketReady()
127 bytes_to_read = packet_.size() - bytes_read_; in OnDataReady()
128 buffer_pointer = packet_.data() + bytes_read_; in OnDataReady()
174 packet_.resize(preamble_size[static_cast<size_t>(hci_packet_type_)]); in OnDataReady()
178 if (bytes_read_ == packet_.size()) { in OnDataReady()
180 HciGetPacketLengthForType(hci_packet_type_, packet_.data()); in OnDataReady()
[all …]
Dh4_packetizer.h92 std::vector<uint8_t> packet_; variable
/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/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