commit | e0194c79dd9d2509b49ef1022184c3f2a1a8c5f2 | [log] [tgz] |
---|---|---|
author | Hunter Freyer <hjfreyer@fuchsia.infra.roller.google.com> | Wed Feb 26 14:28:19 2025 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 26 14:32:07 2025 -0800 |
tree | f432c418fde350b70e7c4c1a4f9f1ee028e50786 | |
parent | 6a78faaf33be4876817fd4c62120b837dd2d4473 [diff] |
[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.