Searched refs:packet_size (Results 1 – 2 of 2) sorted by relevance
192 uint16_t packet_size = ExtractUint16(rx_data + 2); in InitializeProtocol() local193 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()
72 const auto packet_size = getMaxPacketSize(aiob->fd); in usb_ffs_do_aio() local106 << " max packet size: " << packet_size << ", fd: " << aiob->fd; in usb_ffs_do_aio()