blob: 4d2710dffb8cdf886c5d86305603935f1f6221b7 [file] [log] [blame] [edit]
// Copyright 2020 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.
@available(added=HEAD)
library fuchsia.camera.test;
using fuchsia.hardware.camera;
/// This interface provides manipulation methods for a standard DeviceWatcher. This is intended for
/// test purposes only.
@discoverable
closed protocol DeviceWatcherTester {
/// Inserts the given controller implementation as a new device.
strict InjectDevice(resource struct {
camera client_end:fuchsia.hardware.camera.Device;
});
/// Inserts the given controller implementation as a new device path.
strict InjectDeviceByPath(resource struct {
path string;
});
};