Home
last modified time | relevance | path

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

/system/core/adb/
Dshell_service_protocol.cpp39 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/
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/test_vendor_lib/model/devices/
Dhci_packetizer.cc84 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()
Dh4_packetizer.cc147 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/
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.py125 …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/
Dbtif_debug_btsnoop.h35 uint16_t packet_length; member
/system/bt/btif/src/
Dbtif_debug_btsnoop.cc72 header.packet_length = length + 1; // +1 for type byte. in btsnoop_cb()