[settings] Add MediaButtonsEventBuilder

Adds a builder for MediaButtonsEvent in SetUI and replaces
instantiations of MediaButtonsEvent with the builder to reduce future
places where changes need to be made for changes in the
MediaButtonsEvent fidl.

Fixed: 62648
Test: fx test setui_service_tests

Change-Id: Ie1fb962ae92ff6414cd97f412a142a1689b08dfb
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442614
Commit-Queue: Chip Fukuhara <cfukuhara@google.com>
Reviewed-by: William Xiao <wxyz@google.com>
Reviewed-by: Bryce Lee <brycelee@google.com>
Testability-Review: William Xiao <wxyz@google.com>
Testability-Review: Bryce Lee <brycelee@google.com>
4 files changed
tree: 07f4ce73a1083bd9d2751c7ba9478788ac6eeb84
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .gitattributes
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. AUTHORS
  21. BUILD.gn
  22. CODE_OF_CONDUCT.md
  23. CONTRIBUTING.md
  24. LICENSE
  25. OWNERS
  26. PATENTS
  27. README.md
  28. 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.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.