commit | bbf374dbd7a9d1e8090d8a9cabcdaf181dee615c | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Feb 17 11:16:39 2021 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Mar 17 15:38:06 2021 -0700 |
tree | 570711ad13369b1ba16e5ef8a7b7a3492721804b | |
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