diff options
author | Chris Fries <cfries@google.com> | 2017-04-12 10:25:57 -0500 |
---|---|---|
committer | Chris Fries <cfries@google.com> | 2017-04-17 09:22:49 -0500 |
commit | 0ea946c007cf76a96d867ba3e96505f72639960e (patch) | |
tree | a67c7252fdc8a3c16b588ee6fc1e1155b00fb69b /libsuspend | |
parent | 6a99971096a9c5a6752f494db1d9b57d4ab77af2 (diff) | |
download | core-0ea946c007cf76a96d867ba3e96505f72639960e.tar.gz core-0ea946c007cf76a96d867ba3e96505f72639960e.tar.bz2 core-0ea946c007cf76a96d867ba3e96505f72639960e.zip |
fastboot: Support larger transfers during flash
Adding methods to queue and download flashable images by fd instead of
by pointer, so that we can deal with sending large (up to 4GB) files
on windows and linux. This gets past limitations on linux to read
more than 2GB from a file at a time, as well as memory limitations
on win32, in order to download up to 4GB in a single transfer.
Test: fastboot -w
Test: "flash-all" from nexus factory images site (incl. fastboot -w update)
Test: fastboot flash with large and small image, large and small max-download-size
Test: Sanity check flashing on win32, darwin, linux.
Test: Sanity check 3GB image download (with 3GB max-download-size)
on win32, darwin, linux.
Bug: 36810152
Change-Id: I528d739d344eb080d59d721dadf3b3b34d4b375e
Diffstat (limited to 'libsuspend')
0 files changed, 0 insertions, 0 deletions