5d1756ceb58246a721e10464f788e81cdcdc455a |
|
23-Feb-2017 |
Josh Gao <jmgao@google.com> |
adb: add `adb host-features`, report libusb status. Add a 'host-features' command to get the features of the currently running host adb server. Abuse it to report libusb status. Bug: http://b/34983123 Test: adb host-features; adb kill-server; ADB_LIBUSB=1 adb start-server; adb host-features Change-Id: I0e8d503a2dbdff9002ebb6ce8a298498a9421422
/system/core/adb/client/usb_dispatch.cpp
|
aced420f20538eb64137e154b1b5e9a00551ffce |
|
01-Feb-2017 |
Nick Kralevich <nnk@google.com> |
usb_dispatch.cpp: Lower severity of logging statement. The first time you run adb, it starts the adbd server and annoyingly generates the following message: adb I 02-01 11:57:58 99717 99717 usb_dispatch.cpp:30] using native backend Drop the severity of the message to avoid visible spammy messages only intended for debugging. Test: code compiles and no more log message in normal adb use Change-Id: I882092a6cd14bc67980d88416397d51ab8393b1b
/system/core/adb/client/usb_dispatch.cpp
|
1c70e1bcbcced190b351d4fb418f32b4e428f496 |
|
28-Sep-2016 |
Josh Gao <jmgao@google.com> |
adb: add libusb implementation for Linux/Darwin. Add a libusb-based implementation alongside the existing native implementations, controlled by the ADB_LIBUSB environment variable. Windows will need more work for the usb driver. Bug: http://b/31321337 Test: python test_device.py on linux/darwin, with ADB_LIBUSB=0 and 1 Change-Id: Ib68fb2c6c05475eae3ff4cc19f55802a6f489bb7
/system/core/adb/client/usb_dispatch.cpp
|