Home
last modified time | relevance | path

Searched refs:preamble_size (Results 1 – 2 of 2) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dhci_packetizer.cc59 static const size_t preamble_size[static_cast<size_t>(hci::PacketType::EVENT) + 1] = { in OnDataReady() local
70 …read(fd, preamble_ + bytes_read_, preamble_size[static_cast<uint8_t>(packet_type)] - bytes_read_)); in OnDataReady()
83 if (bytes_read_ == preamble_size[static_cast<uint8_t>(packet_type)]) { in OnDataReady()
85 packet_.resize(preamble_size[static_cast<uint8_t>(packet_type)] + packet_length); in OnDataReady()
86 memcpy(packet_.data(), preamble_, preamble_size[static_cast<uint8_t>(packet_type)]); in OnDataReady()
104 …read(fd, packet_.data() + preamble_size[static_cast<uint8_t>(packet_type)] + bytes_read_, bytes_re… in OnDataReady()
Dh4_packetizer.cc122 static const size_t preamble_size[static_cast<size_t>(hci::PacketType::EVENT) + 1] = { in OnDataReady() local
132 size_t preamble_bytes = preamble_size[static_cast<size_t>(hci_packet_type_)]; in OnDataReady()
166 size_t preamble_bytes = preamble_size[static_cast<size_t>(hci_packet_type_)]; in OnDataReady()