Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/packet/base/
Diterator.cc26 packet_ = packet; in Iterator()
45 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=()
54 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
62 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
76 index_ = (index_ < offset || index_ - offset < packet_->packet_start_index_) in operator -=()
77 ? packet_->packet_start_index_ in operator -=()
85 if (index_ != packet_->packet_start_index_) index_--; in operator --()
91 if (index_ != packet_->packet_start_index_) index_--; in operator --()
97 packet_ = itr.packet_; in operator =()
104 return ((packet_ == itr.packet_) && (index_ == itr.index_)); in operator ==()
[all …]
Diterator.h110 std::shared_ptr<const Packet> packet_;
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_parser.cc32 packet_.clear(); in Reset()
73 command_cb_(packet_); in OnPacketReady()
76 acl_cb_(packet_); in OnPacketReady()
79 sco_cb_(packet_); in OnPacketReady()
82 event_cb_(packet_); in OnPacketReady()
85 iso_cb_(packet_); in OnPacketReady()
129 packet_.clear(); in Consume()
136 size_t offset = packet_.size(); in Consume()
138 packet_.push_back(*buffer); in Consume()
142 if (packet_[offset] != reset_command[offset]) { in Consume()
[all …]
Dh4_parser.h104 std::vector<uint8_t> packet_; variable
/packages/modules/Bluetooth/tools/rootcanal/test/
Dh4_parser_unittest.cc30 packet_.clear(); in SetUp()
37 packet_ = std::move(packet); in PacketReadCallback()
64 PacketData packet_; member in rootcanal::H4ParserTest
99 ASSERT_LT(0, (int)packet_.size()); in TEST_F()
141 ASSERT_LT(0, (int)packet_.size()); in TEST_F()
175 ASSERT_LT(0, (int)packet_.size()); in TEST_F()
179 ASSERT_EQ(packet_.size(), reset_command.size() - 1); in TEST_F()
180 for (size_t i = 1; i < packet_.size(); i++) { in TEST_F()
181 ASSERT_EQ(packet_[i - 1], reset_command[i]); in TEST_F()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_fragmenter.cc26 : mtu_(mtu), packet_(std::move(packet)) {} in AclFragmenter()
31 packet_->Serialize(fragmenting_inserter); in GetFragments()
Dacl_fragmenter.h38 std::unique_ptr<packet::BasePacketBuilder> packet_; variable