Searched refs:packet_length (Results 1 – 8 of 8) sorted by relevance
/system/core/adb/ |
D | shell_service_protocol.cpp | 39 length_t packet_length; in Read() local 40 memcpy(&packet_length, &buffer_[1], sizeof(packet_length)); in Read() 41 bytes_left_ = packet_length; in Read()
|
/system/bt/stack/test/a2dp/ |
D | a2dp_vendor_ldac_decoder_test.cc | 55 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/test_vendor_lib/model/devices/ |
D | hci_packetizer.cc | 84 size_t packet_length = HciGetPacketLengthForType(packet_type, preamble_); in OnDataReady() local 85 packet_.resize(preamble_size[static_cast<uint8_t>(packet_type)] + packet_length); in OnDataReady() 88 static_cast<int>(packet_length), preamble_[0], preamble_[1], preamble_[2]); in OnDataReady() 89 bytes_remaining_ = packet_length; in OnDataReady()
|
D | h4_packetizer.cc | 147 size_t packet_length = HciGetPacketLengthForType(hci_packet_type_, preamble_); in OnDataReady() local 148 packet_.resize(preamble_bytes + packet_length); in OnDataReady() 151 static_cast<int>(packet_length), preamble_[0], preamble_[1], preamble_[2]); in OnDataReady() 152 bytes_remaining_ = packet_length; in OnDataReady()
|
/system/bt/vendor_libs/linux/interface/ |
D | hci_packetizer.cc | 64 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/ |
D | btsnooz.py | 125 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse… 132 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse… 135 sys.stdout.write(struct.pack('>II', packet_length, length))
|
/system/bt/btif/include/ |
D | btif_debug_btsnoop.h | 35 uint16_t packet_length; member
|
/system/bt/btif/src/ |
D | btif_debug_btsnoop.cc | 72 header.packet_length = length + 1; // +1 for type byte. in btsnoop_cb()
|