Searched refs:packet (Results 1 – 4 of 4) sorted by relevance
/bootable/libbootloader/gbl/docs/ |
D | EFI_ANDROID_BOOT_PROTOCOL.md | 71 Polls and receives the next USB packet if available. See 75 Sends a USB packet. See 80 packet sent by `FastbootUsbSend()` to complete. 106 On exit, set to the maximum packet size in bytes allowed by the USB interface. 116 * Max packet size must be 64 bytes for full-speed, 512 bytes for high-speed and 191 Receives a USB packet from the interface started by 214 packet that was received. 217 A pointer to the data buffer to receive the USB packet. 222 packet from the Fastboot USB interface into the provided buffer. 228 | EFI_SUCCESS | A new USB packet is received successfully. | [all …]
|
/bootable/libbootloader/gbl/efi/src/ |
D | fastboot.rs | 111 fn send_packet(&mut self, packet: &[u8]) -> Result<(), TransportError> { in send_packet() 114 while sent < packet.len() { in send_packet() 115 let to_send = core::cmp::min(packet.len() - sent, self.max_packet_size); in send_packet() 117 self.protocol.fastboot_usb_send(&packet[sent..][..to_send], &mut out_size)?; in send_packet()
|
/bootable/libbootloader/gbl/libfastboot/src/ |
D | lib.rs | 108 fn send_packet(&mut self, packet: &[u8]) -> Result<(), TransportError>; in send_packet() 159 fn send_packet(&mut self, packet: &[u8]) -> Result<(), TransportError> { in send_packet() 161 &mut u64::try_from(packet.len()) in send_packet() 165 self.0.write_exact(packet) in send_packet() 618 let mut packet = [0u8; MAX_COMMAND_SIZE]; in process_next_packet() localVariable 619 let cmd_size = transport.receive_packet(&mut packet[..])?; in process_next_packet() 625 let cmd_str = match from_utf8(&packet[..cmd_size]) { in process_next_packet() 1105 fn add_input(&mut self, packet: &[u8]) { in add_input() 1106 self.in_queue.push_back(packet.into()); in add_input() 1123 fn send_packet(&mut self, packet: &[u8]) -> Result<(), TransportError> { in send_packet() [all …]
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 6004 …fduse*packetforward_out…
|