blob: 28f0f666323f0c7a4ac85fcc09e4fbbd9a4e9e49 [file] [log] [blame]
// Copyright 2019 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.
library fuchsia.device.manager.test;
// Max size of returned metadata
const uint32 METADATA_MAX_SIZE = 0x1000;
/// Protocol to query a driver's metadata. This is only used to test that the
/// isolateddevmgr sends test metadata correctly to drivers.
[Layout = "Simple"]
protocol Metadata {
/// Recieves the metadata that the driver has been given.
GetMetadata(uint32 type) -> (vector<uint8>:METADATA_MAX_SIZE data);