| // Copyright 2024 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| { | |
| collections: [ | |
| { | |
| name: "driver-system-tests", | |
| environment: "#test-env", | |
| durability: "transient", | |
| }, | |
| ], | |
| offer: [ | |
| { | |
| protocol: "fuchsia.scheduler.RoleManager", | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| source_availability: "unknown", | |
| }, | |
| { | |
| protocol: [ | |
| "fuchsia.driver.development.Manager", | |
| "fuchsia.driver.registrar.DriverRegistrar", | |
| "fuchsia.driver.token.NodeBusTopology", | |
| ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| protocol: "fuchsia.diagnostics.ArchiveAccessor", | |
| from: "parent/diagnostics-accessors", | |
| as: "fuchsia.diagnostics.RealArchiveAccessor", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.gpu.magma.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.serial.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.cpu.ctrl.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ | |
| "fuchsia.hardware.temperature.Service", | |
| "fuchsia.hardware.trippoint.Service", | |
| ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.nfc.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ | |
| "fuchsia.hardware.google.cryptobam.Service", | |
| "fuchsia.hardware.google.cryptobam.TestService", | |
| "fuchsia.hardware.google.gpdma.Service", | |
| "fuchsia.hardware.google.gpdma.TestService", | |
| "fuchsia.hardware.google.nanohub.DataChannelService", | |
| "fuchsia.hardware.google.nanohub.Service", | |
| ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.sockettunnel.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.hrtimer.Service" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| service: [ "fuchsia.hardware.spi.TestService" ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/324273348): Remove this capability once the clients have | |
| // been migrated to services. The service capability has been added below. | |
| directory: "dev-gpu", | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| // This service replaces the directory capability above. | |
| service: "fuchsia.gpu.magma.Service", | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| }, | |
| { | |
| protocol: [ "fuchsia.vulkan.loader.Loader" ], | |
| from: "parent", | |
| to: [ "#driver-system-tests" ], | |
| }, | |
| { | |
| event_stream: [ | |
| "capability_requested", | |
| "destroyed", | |
| "started", | |
| "stopped", | |
| ], | |
| from: "parent", | |
| to: "#driver-system-tests", | |
| scope: "#driver-system-tests", | |
| }, | |
| ], | |
| } |