Lines Matching refs:libusb
33 #include <libusb/libusb.h>
47 // RAII wrappers for libusb.
90 namespace libusb {
358 // libusb doesn't think we should be messing around with devices we don't have
393 // Android's host linux libusb uses netlink instead of udev for device hotplug notification,
436 adb_thread_setname("libusb hotplug");
452 // We're called with the libusb lock taken. Call these on a separate thread outside of this
453 // function so that the usb_handle mutex is always taken before the libusb mutex.
465 LOG(DEBUG) << "initializing libusb...";
468 LOG(FATAL) << "failed to initialize libusb: " << libusb_error_name(rc);
479 LOG(FATAL) << "failed to register libusb hotplug callback";
484 adb_thread_setname("libusb");
542 // Dispatch a libusb transfer, unlock |device_lock|, and then wait for the result.
641 } // namespace libusb