summaryrefslogtreecommitdiff
path: root/libsparse/include/sparse/sparse.h
diff options
context:
space:
mode:
authorAaron Wisner <awisner@google.com>2018-07-23 15:40:58 -0500
committerAaron Wisner <awisner@google.com>2018-07-24 11:24:15 -0500
commitceb7cbf5fde0ff26a35d442135d01e52b0ef0771 (patch)
tree839d5d4c329fe15e5391e02f829b886db4f00d05 /libsparse/include/sparse/sparse.h
parent767506fc5a5023e815cdc36e56688adaac2fe0d5 (diff)
Add derived UsbTransport class with USB reset method
For testing there needs to be a way to simulate unplugging and replugging a device. This change adds support for a USB reset method that does this. Also add timeouts, so USB reads/writes don't block forever on an unresponsive device. Test: glinux, fastboot tool still works Test: Reset confirmed working via wireshark Linux URB captures Change-Id: I7213a2395d4ef1c0238810e4929ab966e78c8b55
Diffstat (limited to 'libsparse/include/sparse/sparse.h')
0 files changed, 0 insertions, 0 deletions