Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc99 size_t len_hci_acl = HCI_ACL_HEADER_SIZE + L2CAP_HEADER_SIZE; in btsnoop_calculate_packet_length() local
101 if (length > len_hci_acl) { in btsnoop_calculate_packet_length()
111 len_hci_acl = MAX_HCI_ACL_LEN; in btsnoop_calculate_packet_length()
114 return len_hci_acl < length ? len_hci_acl : length; in btsnoop_calculate_packet_length()
/system/bt/gd/hal/
Dsnoop_logger.cc131 size_t len_hci_acl = kAclHeaderSize + kL2capHeaderSize; in get_btsnooz_packet_length_to_write() local
133 if (packet.size() > len_hci_acl) { in get_btsnooz_packet_length_to_write()
144 len_hci_acl = kMaxBtsnoozAclSize; in get_btsnooz_packet_length_to_write()
147 included_length = std::min(len_hci_acl, packet.size()); in get_btsnooz_packet_length_to_write()