aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-08Revert "temp: Reuse file descriptor if available"HEADandroid-4.4w_r1android-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1tools_r22.2mastermainkitkat-wearjb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-devAdam Hampson
This reverts commit 60ccd6b0b264605d84fd85c343ae465e7fa4deb0. Bug: 8133917 Change-Id: Ic5114ce77d6ef3f9711fb9a3423d965b94e6644c Signed-off-by: Adam Hampson <ahampson@google.com>
2013-02-04temp: Reuse file descriptor if availabletools_r22jb-mr1.1-dev-plus-aospAdam Hampson
This will need to be reviewed at a later date and removed or modified if possible. Modify the open behavior to reuse an existing file descriptor if available. This allows libusb to reuse the file descriptor used by the Android USB host. Also change the search order proc/bus/usb before /dev/bus/usb. Change-Id: I1d9f29fb7eebe783bbcfac5def59dd59928d975f Signed-off-by: Hendrik Dahlkamp <hendrik@google.com> Signed-off-by: Adam Hampson <ahampson@google.com>
2013-02-01Remove large inline functions from the library headerAdam Hampson
The libusb_get_iso_packet_buffer() and libusb_get_iso_packet_buffer_simple() functions are now exported library functions. Change-Id: I9ffd656e27f303d0e68f3cbc228699d93bc7c9a7 Signed-off-by: Adam Hampson <ahampson@google.com>
2013-01-29Move TIMESPEC_TO_TIMEVAL definitionAdam Hampson
Bionic's sys/time.h does not contain this definition so it is needed by both Windows and Android. Change-Id: I9bdbefca939f96528fe9ddb9e6c0d46663421562 Signed-off-by: Adam Hampson <ahampson@google.com>
2013-01-29Add libusb v1.0.9Adam Hampson
Change-Id: Ib2d76c36a6caffcf69d03a8798ca2c2222c85ae7 Signed-off-by: Adam Hampson <ahampson@google.com>
2013-01-28Initial empty repositoryChad Jones