Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_linux.cpp70 size_t max_packet_size; member
150 size_t max_packet_size = 0; in find_usb_device() local
259 max_packet_size = ep1->wMaxPacketSize; in find_usb_device()
291 device->iSerialNumber, zero_mask, max_packet_size); in find_usb_device()
511 return h->max_packet_size; in usb_get_max_packet_size()
516 unsigned zero_mask, size_t max_packet_size) { in register_device() argument
539 usb->max_packet_size = max_packet_size; in register_device()
Dusb_windows.cpp68 unsigned max_packet_size; member
492 return handle->max_packet_size; in usb_get_max_packet_size()
529 handle->max_packet_size = endpoint_info.max_packet_size; in recognized_device()
530 handle->zero_mask = endpoint_info.max_packet_size - 1; in recognized_device()
Dusb_libusb.cpp94 uint8_t bulk_out, size_t zero_mask, size_t max_packet_size) in usb_handle()
104 max_packet_size(max_packet_size) {} in usb_handle()
148 size_t max_packet_size; member
635 CHECK(h->max_packet_size != 0); in usb_get_max_packet_size()
636 return h->max_packet_size; in usb_get_max_packet_size()
Dusb_osx.cpp55 size_t max_packet_size; member
67 max_packet_size(0), in usb_handle()
308 LOG(INFO) << "reported max packet size for " << serial << " is " << handle->max_packet_size; in AndroidInterfaceAdded()
412 handle->max_packet_size = maxPacketSize; in CheckInterface()
586 return handle->max_packet_size; in usb_get_max_packet_size()
/system/bt/hci/src/
Dpacket_fragmenter.cc77 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; in fragment_and_dispatch() local
84 while (remaining_length > max_packet_size) { in fragment_and_dispatch()
90 packet->len = max_packet_size; in fragment_and_dispatch()
/system/core/fastboot/
Dudp_test.cpp54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { in InitPacket() argument
56 PacketValue(version) + PacketValue(max_packet_size); in InitPacket()
424 for (uint16_t max_packet_size : {512, 1024, 1200}) { in TEST_F()
425 ASSERT_TRUE(InitializeTransport(0, max_packet_size)); in TEST_F()
428 size_t max_data_size = max_packet_size - 4; in TEST_F()
/system/core/libusbhost/include/usbhost/
Dusbhost.h48 int max_packet_size; member
/system/core/libusbhost/
Dusbhost.c712 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize); in usb_request_new()