[roll] Roll fuchsia [audio][clock] Add new Clock types

The existing AudioClock object serves three purposes:

1. Wrap a zx::clock or a fake clock (via the FakeAudioClock subclass)
2. Recover a device clock
3. Synchronize two clocks

In the audio core refactor, step 2 will happen in a different service
(device registry) and we will want the ability to "snapshot" clocks.
To prepare for this refactor, this CL adds a new classes:

* Clock type which acts as a base class for all clocks.
* RealClock, which wraps a zx::clock
* SyntheticClock, which is a "fake" clock that can be used in tests
* SyntheticClockRealm, which controls a collection of SyntheticClocks

Future CLs will add another subclass of Clock to handle device clock
recovery (purpose 2) and a completely separate class to handle clock
synchronization (purpose 3).

Original-Bug: 87651
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/680484
Original-Revision: 2e69e4676119aec1fdf51ef9df97be8fcacb59eb
GitOrigin-RevId: 026029309b4e307ecffaabda4c65371826ea64e7
Change-Id: I1159b476699c12835f85811ae6479e5781ef7c20
1 file changed
tree: 9caaef603d00889c8b75cc14c93972bdf5e39f56
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. fortune-teller
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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.