blob: af9abce47fcc77c97ed10f35b4b51e3f792fa9f2 [file] [log] [blame]
// Copyright 2021 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;
using zx;
/// Interface for restarting Driver Hosts through Driver Manager from the front end.
/// This interface should only be used for development and disabled in release builds.
[Discoverable]
protocol DriverHostDevelopment {
// TODO(fxbug.dev/68309): Currently unimplemented.
/// Restart all Driver Hosts containing the driver specified by `driver path`.
/// ZX_ERR_NOT_FOUND indicates that there is no driver matching the given path.
RestartDriverHosts(string:DEVICE_PATH_MAX driver_path) -> () error zx.status;
};