[roll] Roll fuchsia [role_manager] Implement the FakeRoleManager

Implements the FakeRoleManager, which implements the
`fuchsia.scheduler.RoleManager` protocol but does not read the global
profile files or set any zircon profiles. Instead, it just parses the
given, per-package config files in /pkg/profiles and returns the
associated output parameters on a `SetRole` request.

Providing a fake implementation here will allow users of the RoleManager
to test their components without implementing their own fake or, worse,
using the system's RoleManager.

To use this fake correctly, callers will need to bundle this fake into
their own test package, and provide the profile config files they want
to use.

Original-Bug: 323262398
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/992473
Original-Revision: 831da14fa2c817e03542e4f101b97814918d8e01
GitOrigin-RevId: ce5f044a0d6d70d1791ff9d0db6418453cdede03
Change-Id: I5052f779e7a4b7ad206d2dcf5223c0d7b1fc629e
1 file changed
tree: 3d973807a95068eea15a421268e2966ded44a65c
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. 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.