[bt][a2dp] Migrate A2DP source peer to library

Move the A2DP source peer into the A2DP library in preparation for
consolidating the A2DP source and sink peers.

While doing this, switch to using the log crate for logging,

Bug: 44645

Test: refactor, de-duplicated some test code

Multiply: bt-a2dp-source-tests, bt-a2dp-tests

Change-Id: I727e1a435fe6afe93226b4c0d850d0b8474487b7
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/404916
Commit-Queue: Marie Janssen 💖 <jamuraa@google.com>
Reviewed-by: Ani Ramakrishnan <aniramakri@google.com>
Testability-Review: Ani Ramakrishnan <aniramakri@google.com>
5 files changed
tree: 334284f39a26026df21967db3a146febccf7c560
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.