platform_system_core/fastboot/device
Yifan Hong bcd2770207 fastboot driver: add fetch command in driver
The `fastboot fetch` command is a wrapper around
the fetch protocol. It:

- getvar max-fetch-size
- get the size of the partition
- read the data by chunks, chunk size = max-fetch-size.

The name of the partition is passed directly to the device
(with the usual has-slot magic for flashing etc.) If we support
fetching partitions other than vendor_boot in the future, no change
in the driver is needed.

Bug: 173654501
Test: manual

Change-Id: Ie576eea668234df236b096a372e65c5e91c1e48c
2021-03-17 15:38:06 -07:00
..
commands.cpp fastboot driver: add fetch command in driver 2021-03-17 15:38:06 -07:00
commands.h fastbootd: Add fetch command on device 2021-03-17 15:38:06 -07:00
fastboot_device.cpp fastbootd: Add fetch command on device 2021-03-17 15:38:06 -07:00
fastboot_device.h fastbootd: Add fetch command on device 2021-03-17 15:38:06 -07:00
flashing.cpp Refactor fs_mgr_overlayfs_teardown() 2020-10-28 16:05:09 +08:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp
tcp_client.cpp fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
tcp_client.h fastbootd: Support TCP protocol. 2020-05-19 19:11:25 +00:00
usb.cpp Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
usb_client.cpp fastbootd: Fix USB transport data is repeated every 256K 2021-03-05 19:45:00 -08:00
usb_client.h Move adbd's legacy USB implementation to fastboot. 2020-03-31 16:05:36 -07:00
utility.cpp fastbootd: add O_CLOEXEC/O_BINARY for OpenPartition 2021-03-17 15:38:06 -07:00
utility.h fastbootd: add read arg to OpenPartition 2021-03-17 15:38:06 -07:00
variables.cpp fastbootd: Add getvar max-fetch-size. 2021-03-17 15:38:06 -07:00
variables.h fastbootd: Add getvar max-fetch-size. 2021-03-17 15:38:06 -07:00