Home
last modified time | relevance | path

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

/system/bt/stack/test/common/
Dstack_test_packet_utils.cc58 size_t buffer_length) { in AllocateWrappedIncomingL2capAclPacket() argument
59 size_t packet_size = buffer_length + BT_HDR_SIZE; in AllocateWrappedIncomingL2capAclPacket()
63 packet->len = static_cast<uint16_t>(buffer_length - 4 - L2CAP_PKT_OVERHEAD); in AllocateWrappedIncomingL2capAclPacket()
66 memcpy(packet->data, acl_packet_bytes, buffer_length); in AllocateWrappedIncomingL2capAclPacket()
76 size_t buffer_length) { in AllocateWrappedOutgoingL2capAclPacket() argument
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()
87 acl_packet_bytes, buffer_length); in AllocateWrappedOutgoingL2capAclPacket()
Dstack_test_packet_utils.h58 size_t buffer_length);
74 size_t buffer_length);
/system/bt/osi/include/
Dbuffer.h56 size_t buffer_length(const buffer_t* buf);
/system/bt/osi/src/
Dbuffer.cc88 size_t buffer_length(const buffer_t* buf) { in buffer_length() function
/system/bt/stack/l2cap/
Dl2cap_client.cc394 osi_malloc(buffer_length(packet) + L2CAP_MIN_OFFSET + sizeof(BT_HDR))); in fragment_packet()
396 bt_packet->len = buffer_length(packet); in fragment_packet()
398 buffer_length(packet)); in fragment_packet()
/system/core/libusbhost/include/usbhost/
Dusbhost.h46 int buffer_length; member
/system/core/adb/client/
Dusb_linux.cpp314 urb->buffer_length = len; in usb_bulk_write()
353 urb->buffer_length = len; in usb_bulk_read()
/system/core/libusbhost/
Dusbhost.c733 urb->buffer_length = req->buffer_length; in usb_request_queue()