Home
last modified time | relevance | path

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

/system/bt/stack/test/common/
Dstack_test_packet_utils.cc77 size_t acl_l2cap_header_size = 4 + L2CAP_PKT_OVERHEAD; in AllocateWrappedOutgoingL2capAclPacket() local
78 CHECK_GE(L2CAP_MIN_OFFSET, static_cast<int>(acl_l2cap_header_size)); in AllocateWrappedOutgoingL2capAclPacket()
80 BT_HDR_SIZE + L2CAP_MIN_OFFSET + buffer_length - acl_l2cap_header_size; in AllocateWrappedOutgoingL2capAclPacket()
83 packet->len = static_cast<uint16_t>(buffer_length - acl_l2cap_header_size); in AllocateWrappedOutgoingL2capAclPacket()
86 memcpy(packet->data + packet->offset - acl_l2cap_header_size, in AllocateWrappedOutgoingL2capAclPacket()