blob: 094ed148056d85bafb459d6afc61a0e98b545252 [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.
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;
};