diff options
author | Yifan Hong <elsk@google.com> | 2021-02-16 19:37:32 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2021-03-17 15:38:06 -0700 |
commit | bcd27702071cb12df042883c4b120e9b5ebe5ecb (patch) | |
tree | a95374490e58affc8b576b4151d7476e8132fd4c /libutils/Unicode_test.cpp | |
parent | 17d469bd579a83f5cad372dd8b1db47d3e874830 (diff) |
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
Diffstat (limited to 'libutils/Unicode_test.cpp')
0 files changed, 0 insertions, 0 deletions