[roll] Roll fuchsia [fastboot]: upload takes Reader

Previously upload function would take a slice of u8 to upload. While
this worked for small files this would require large files to be read
entirely into memory in order to be uploaded to the Device. This lead to
inneficient memory usage.

Now, the upload function takes an impl Reader and a size to inform the
Device how much to be uploaded.

Bytes are uploaded to the target in 4096 byte chunks.

This also allows for the on_progress option for the
UploadProgressListener to be called as preivously there was no progress.
Files were uploaded in their entirety or they failed.

Original-Bug: b/325501917
Original-Bug: b/326990810
Fix: b/325501917
Fix: b/326990810
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/997672
Original-Revision: e69adb5e0cb7064331e9f53a4772829df07c1285
GitOrigin-RevId: 7d47ff54afdeaac2fc7de4b8c6f22aa8514e1a0b
Change-Id: I0db2e01605e0b4167483f91d51e3b69c9e69d07a
1 file changed
tree: cd2e12c6c175475fe4c761b008d9c2df8dd1c565
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.