Home
last modified time | relevance | path

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

/system/bt/hci/test/
Dhci_layer_test.cc69 BT_HDR* AllocateHciEventPacket(size_t packet_length) const { in AllocateHciEventPacket()
70 return AllocatePacket(packet_length, MSG_HC_TO_STACK_HCI_EVT); in AllocateHciEventPacket()
78 BT_HDR* AllocatePacket(size_t packet_length, uint16_t event) const { in AllocatePacket() argument
80 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
82 packet->len = packet_length; in AllocatePacket()
Dpacket_fragmenter_host_test.cc206 BT_HDR* AllocatePacket(size_t packet_length, uint16_t event_mask) const { in AllocatePacket() argument
208 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
210 packet->len = static_cast<uint16_t>(packet_length); in AllocatePacket()
/system/bt/stack/test/a2dp/
Da2dp_vendor_ldac_decoder_test.cc55 BT_HDR* AllocatePacket(size_t packet_length) const { in AllocatePacket()
57 static_cast<BT_HDR*>(osi_calloc(sizeof(BT_HDR) + packet_length)); in AllocatePacket()
58 packet->len = packet_length; in AllocatePacket()
/system/bt/vendor_libs/linux/interface/
Dhci_packetizer.cc64 size_t packet_length = in OnDataReady() local
66 packet_.resize(preamble_size_for_type[packet_type] + packet_length); in OnDataReady()
68 bytes_remaining_ = packet_length; in OnDataReady()
/system/bt/tools/scripts/
Dbtsnooz.py128 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
135 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
138 sys.stdout.write(struct.pack('>II', packet_length, length))
/system/bt/btif/include/
Dbtif_debug_btsnoop.h35 uint16_t packet_length; member
/system/bt/btif/src/
Dbtif_debug_btsnoop.cc66 header.packet_length = length + 1; // +1 for type byte. in btsnoop_cb()