[roll] Roll fuchsia [audio_core] Load idle policy consts from config

Move the idle-power-conservation constants out of code, to a
product-specific static configuration file. Three optional values
are added to smart_audio_policy.json -- idle_countdown_milliseconds,
startup_idle_countdown_milliseconds and use_all_ultrasonic_channels.

Key 'idle_countdown_milliseconds' specifies how long, after an
output device is no longer used, we wait before disabling it.
If the key is absent, the entire idle-policy feature is disabled:
all output devices will remain fully powered at all times.

Key 'startup_idle_countdown_milliseconds' specifies how long, when
an output device has NEVER been used, we wait before disabling it.
If the key is absent, output devices will remain powered-up and
ready indefinitely until they are first used.

Key 'use_all_ultrasonic_channels' indicates whether ultrasonic
a) uses every ultrasonic-capable channel, or b) uses only the first
ultrasonic-capable channel and allows remaining ultrasonic-capable
channels to be powered-down. If this key is absent, we will use all
capable channels.

Original-Fixed: fxb/82408

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/569746
Original-Revision: affd0cc0ff286d2aac87bbf8eeae1444f98ad1ec
GitOrigin-RevId: e2030ba4410ec5b9ca180bb4b2689b65315e667e
Change-Id: I4b1651d8f41cb4289f9bdfc29a0104aba154cdb0
1 file changed
tree: ec1866d174bf8543626b75dfa3083783f80e162d
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
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.