Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dusb_linux.cpp70 size_t max_packet_size; member
156 size_t max_packet_size = 0; in find_usb_device() local
263 max_packet_size = ep1->wMaxPacketSize; in find_usb_device()
295 device->iSerialNumber, zero_mask, max_packet_size); in find_usb_device()
541 return h->max_packet_size; in usb_get_max_packet_size()
546 unsigned zero_mask, size_t max_packet_size) { in register_device() argument
587 usb->max_packet_size = max_packet_size; in register_device()
Dusb_windows.cpp68 unsigned max_packet_size; member
493 return handle->max_packet_size; in usb_get_max_packet_size()
530 handle->max_packet_size = endpoint_info.max_packet_size; in recognized_device()
531 handle->zero_mask = endpoint_info.max_packet_size - 1; in recognized_device()
Dusb_osx.cpp56 size_t max_packet_size; member
68 max_packet_size(0), in usb_handle()
324 LOG(INFO) << "reported max packet size for " << serial << " is " << handle->max_packet_size; in AndroidInterfaceAdded()
461 handle->max_packet_size = endPointMaxPacketSize; in CheckInterface()
636 return handle->max_packet_size; in usb_get_max_packet_size()
/packages/modules/Bluetooth/system/hci/src/
Dpacket_fragmenter.cc101 uint16_t max_packet_size = max_data_size + HCI_ISO_PREAMBLE_SIZE; in fragment_and_dispatch() local
112 if (remaining_length <= max_packet_size) { in fragment_and_dispatch()
116 while (remaining_length > max_packet_size) { in fragment_and_dispatch()
122 packet->len = max_packet_size; in fragment_and_dispatch()
131 if (remaining_length > max_packet_size) { in fragment_and_dispatch()