diff options
author | Yifan Hong <elsk@google.com> | 2021-02-17 11:16:39 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2021-03-17 15:38:06 -0700 |
commit | bbf374dbd7a9d1e8090d8a9cabcdaf181dee615c (patch) | |
tree | 570711ad13369b1ba16e5ef8a7b7a3492721804b /fastboot/fastboot.cpp | |
parent | b10d067e0cbeacc117dc404769d9019794672637 (diff) |
fastboot driver: add RunAndReadBuffer helper
Refactor UploadInner and add a new RunAndReadBuffer helper function
that handles the generic procedure of:
1. Sending a command
2. Receiving a DATA response with N bytes
3. Receiving another response
Test: pass
Bug: 173654501
Change-Id: I568bea127315e42d8a111c23602fc582e7bc935b
Diffstat (limited to 'fastboot/fastboot.cpp')
0 files changed, 0 insertions, 0 deletions