blob: 54d49cf132eda33751211e912a30e9abfbf7690a [file] [log] [blame]
// 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.hardware.usb.hcitest;
using zx;
type TestResults = struct {
received_bulk_packets uint64;
bulk_packet_size uint64;
received_isoch_packets uint64;
isoch_packet_size uint64;
got_correct_number_of_bytes_in_short_transfers bool;
};
closed protocol Device {
/// Runs the tests
strict Run() -> (struct {
results TestResults;
}) error zx.Status;
};