Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc50 size_t included_length = btsnoop_calculate_packet_length(type, data, length); in btsnoop_cb() local
51 if (included_length == 0) return; in btsnoop_cb()
58 (included_length + sizeof(btsnooz_header_t))) { in btsnoop_cb()
65 header.length = included_length + 1; // +1 for type byte in btsnoop_cb()
72 ringbuffer_insert(buffer, data, included_length); in btsnoop_cb()
/system/bt/gd/hal/
Dsnoop_logger.cc122 size_t included_length = 0; in get_btsnooz_packet_length_to_write() local
126 included_length = packet.size(); in get_btsnooz_packet_length_to_write()
147 included_length = std::min(len_hci_acl, packet.size()); in get_btsnooz_packet_length_to_write()
157 return std::min(included_length, kDefaultBtSnoozMaxPayloadBytesPerPacket); in get_btsnooz_packet_length_to_write()
286 size_t included_length = get_btsnooz_packet_length_to_write(packet, type); in Capture() local
287 header.length_captured = htonl(included_length + /* type byte */ 1); in Capture()
291 if (!ss.write(reinterpret_cast<const char*>(packet.data()), included_length)) { in Capture()