[sl4f][evolution] Add audio test FIDL protocol

- Convert audio facade implementation into a test component under
  sl4f.core_shard
  - Note I've merged sl4f/src/audio/facade.rs into commands.rs in order
    for Gerrit to show the diff between the then facade.rs and the new
    sl4f/audio_recording/src/lib.rs
  - sl4f audio facade now calls the AudioRecordingControl protocol.
  - Added a clear_input_audio method to clear injected audio file. This
    used to be done automatically in put_input_audio, but due to input
    size, we need to allow put_input_audio to only append. I chose to
    use `vector<uint8>:AUDIO_INPUT_BYTES_MAX` as input arg for
    `PutInputAudio` so that we can create a ffx plugin that injects
    audio.
- [fix] Updated setui facade to handle where mic is not present (i.e
  FEMU). This allows e2e tests to pass on emulator.

Bug: 101853
Change-Id: Ie5e8ea3a4c3ed047d5a3f5643a67b8d11978bfdd
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/686111
Reviewed-by: Tom Bergan <tombergan@google.com>
Reviewed-by: Miguel Flores <miguelfrde@google.com>
API-Review: Dale Sather <dalesat@google.com>
Commit-Queue: Yuan Zhi <yuanzhi@google.com>
13 files changed
tree: beae2ea015d611f2f4be9667458145361f93b352
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. products/
  7. scripts/
  8. sdk/
  9. src/
  10. third_party/
  11. tools/
  12. zircon/
  13. .clang-format
  14. .clang-tidy
  15. .editorconfig
  16. .git-blame-ignore-revs
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. analysis_options.yaml
  22. AUTHORS
  23. BUILD.gn
  24. CODE_OF_CONDUCT.md
  25. CONTRIBUTING.md
  26. LICENSE
  27. OWNERS
  28. PATENTS
  29. pyrightconfig.json
  30. README.md
  31. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

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.