Home
last modified time | relevance | path

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

/system/core/fastboot/
Dudp.cpp192 uint16_t packet_size = ExtractUint16(rx_data + 2); in InitializeProtocol() local
193 if (packet_size < kMinPacketSize) { in InitializeProtocol()
194 *error = android::base::StringPrintf("target reported invalid packet size %d", packet_size); in InitializeProtocol()
198 packet_size = std::min(kHostMaxPacketSize, packet_size); in InitializeProtocol()
199 max_data_length_ = packet_size - kHeaderSize; in InitializeProtocol()
200 rx_packet_.resize(packet_size); in InitializeProtocol()
/system/core/fastboot/device/
Dusb_iouring.cpp72 const auto packet_size = getMaxPacketSize(aiob->fd); in usb_ffs_do_aio() local
106 << " max packet size: " << packet_size << ", fd: " << aiob->fd; in usb_ffs_do_aio()