[roll] Roll fuchsia [usb-adb-function] Make single-dispatcher-ish.

Moves almost all the business logic in the driver onto the main
dispatcher. Add a sequence_checker to ensure it stays that way. The USB
endpoint client blocks, so it still needs its own thread.

Behavioral changes that _theoretically_ could have an impact:
- The UsbFunctionInterface functions no longer perform their duties
  synchronously - they post an async task and return OK no matter what.
  Same with the UsbEndpointClient callbacks.
- UsbFunctionInterfaceSetInterface in particular has been made into a
  no-op that simply checks that the caller isn't trying to use an
  alternate setting.
- Rather than holding the UsbEndpointClient locks for extended periods,
  (e.g. a whole call to SendLocked/ReceiveLocked), we take and release
  the locks for each operation. Theoretically that could have an impact
  on behavior, though I can't see how.

Otherwise, this shouldn't change anything about how the driver behaves.

Multiply: usb-adb-unittest: 1

Original-Bug: 395635052

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1209890
Original-Revision: 5e40fc5e1cfe2eb5ea970059073e2ff24c4b26ba
GitOrigin-RevId: 0d57bd5f2c887583318d91c94ae17a934ca0f196
Change-Id: Ieace8c40246db1b91d55fcf346389e2d0c1b2e76
1 file changed
tree: f432c418fde350b70e7c4c1a4f9f1ee028e50786
  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 in one of the communication channels documented at get involved.

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.