[roll] Roll fuchsia [usb] Introduce UsbFunction.Deconfigure

ADB needs to be able to remove itself from the list of available
functions to perform a USB restart. In FIDL world that can't be done
synchronously over 2 channels so we need a method to synchronize.

This revealed a possible race with UsbPeripheral::ClearFunctions (that
runs the destructor for UsbFunction) and the references that the FIDL
client has to USBFunction, so we've moved the lifecycle callbacks to a
handler that keeps a weak reference to the function.

Original-Bug: 439593030
Multiply: usb-peripheral-unittest
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1556461
Original-Revision: 87d736be9ce1f5693f357b917806ee2550fd325b
GitOrigin-RevId: 40bf3428b5a9cd9517620d87054ee0620df77fb8
Change-Id: I82761e56c0b95bf56bad41561e373f75bad2471d
1 file changed
tree: 4eaf2fbd47e416bcd9650f6fc8041ac2b50fcd35
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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.