[roll] Roll fuchsia [netstack3] Introduce Device API

Replace freestanding functions for adding/removing devices with a
generic DeviceApi struct that works for all low level device types.

There's still more to be moved to this new API struct, but we're
starting with the simpler things.

Due to the unintended destructuring described in
https://fxbug.dev/320021524, many tests were not enforcing explicit
cleanup of resources, which caused them to panic on dangling strong
clones of primary references (mainly in timers). Not destructuring
testutil::FakeCtx is more ergonomic for working with API objects so it
exposed many tests that should've been doing cleanup but wren't.

Original-Bug: b/42083910
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/974792
Original-Revision: 958e67e34ee65d108a971636ac08153b33f2a0cc
GitOrigin-RevId: 770fa529d5d57df689f41875b1fcf9e03f6a266d
Change-Id: I1a517e90f2b3fc30b202ecb846721d08cb5a23e2
1 file changed
tree: 025b05c44bfab6b944d03df2f7084edfd6442ab5
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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.