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

/system/core/adb/client/
H A Dusb_linux.cpp68 size_t max_packet_size; member in struct:native::usb_handle
148 size_t max_packet_size = 0; local
257 max_packet_size = ep1->wMaxPacketSize;
289 device->iSerialNumber, zero_mask, max_packet_size);
504 return h->max_packet_size;
509 unsigned zero_mask, size_t max_packet_size) {
532 usb->max_packet_size = max_packet_size;
507 register_device(const char* dev_name, const char* dev_path, unsigned char ep_in, unsigned char ep_out, int interface, int serial_index, unsigned zero_mask, size_t max_packet_size) argument
H A Dusb_windows.cpp69 unsigned max_packet_size; member in struct:usb_handle
531 return handle->max_packet_size;
569 handle->max_packet_size = endpoint_info.max_packet_size;
570 handle->zero_mask = endpoint_info.max_packet_size - 1;
H A Dusb_libusb.cpp95 uint8_t bulk_out, size_t zero_mask, size_t max_packet_size)
105 max_packet_size(max_packet_size) {}
149 size_t max_packet_size; member in struct:libusb::usb_handle
637 CHECK(h->max_packet_size != 0);
638 return h->max_packet_size;
93 usb_handle(const std::string& device_address, const std::string& serial, unique_device_handle&& device_handle, uint8_t interface, uint8_t bulk_in, uint8_t bulk_out, size_t zero_mask, size_t max_packet_size) argument
H A Dusb_osx.cpp55 size_t max_packet_size; member in struct:native::usb_handle
67 max_packet_size(0),
400 handle->max_packet_size = maxPacketSize;
569 return handle->max_packet_size;
/system/bt/hci/src/
H A Dpacket_fragmenter.cc75 uint16_t max_packet_size = max_data_size + HCI_ACL_PREAMBLE_SIZE; local
82 while (remaining_length > max_packet_size) {
88 packet->len = max_packet_size;
/system/core/libusbhost/include/usbhost/
H A Dusbhost.h48 int max_packet_size; member in struct:usb_request
/system/core/fastboot/
H A Dudp_test.cpp53 // Returns an Init packet with a 2-byte |version| and |max_packet_size|.
54 static std::string InitPacket(uint16_t sequence, uint16_t version, uint16_t max_packet_size) { argument
56 PacketValue(version) + PacketValue(max_packet_size);
424 for (uint16_t max_packet_size : {512, 1024, 1200}) {
425 ASSERT_TRUE(InitializeTransport(0, max_packet_size));
428 size_t max_data_size = max_packet_size - 4;
/system/core/libusbhost/
H A Dusbhost.c657 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize);

Completed in 143 milliseconds