[roll] Roll fuchsia [bt][l2cap] Replace RefPtr<Channel> with unique_ptr and WeakPtr

Refactor ownership of l2cap::Channel by replacing instances of
fbl::RefPtr<Channel> with std::unique_ptr<Channel> in
l2cap::LogicalLink and fxl::WeakPtr<Channel> elsewhere.

Fix logic & tests that broke from the above refactor.

Store std::unique_ptr<FakeChannel> in FakeAdapter::FakeBrEdr
so that FakeBrEdr can return valid fxl::WeakPtr<Channel>
and close the channels properly.

Track ACL priority in LogicalLink so that the link's priority
is known after a prioritized channel is invalidated.

Original-Bug: 100658
Test:
1) fx test //src/connectivity/bluetooth/core/bt-host
2) Manually test A2DP source & sink on hardware

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/693951
Original-Revision: 4e1edde06095db38bbf1da5705a059804f60b73f
GitOrigin-RevId: cb8a9cd257065c425275ed088e8d7713f18048c8
Change-Id: If793d3b4662dd6d5b334a5606cef3bc720cce78c
1 file changed
tree: f81cdae4acdde87481d9ef3836101da523810f5a
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.