/external/chromium_org/chrome/browser/devtools/adb/ |
android_usb_device.h | 90 scoped_refptr<UsbDeviceHandle> usb_device() { return usb_device_; } function in class:AndroidUsbDevice
|
android_usb_device.cc | 18 #include "chrome/browser/usb/usb_device.h" 143 void ReleaseInterface(scoped_refptr<UsbDeviceHandle> usb_device) { 144 usb_device->ReleaseInterface(1); 145 usb_device->Close(); 245 UsbDevice* usb_device = it2->get(); local 247 if (usb_device == device->usb_device()->device()) { 249 claimed_devices.insert(usb_device); 315 scoped_refptr<UsbDeviceHandle> usb_device, 322 usb_device_(usb_device), [all...] |
/external/libusb-compat/libusb/ |
core.c | 309 struct usb_bus *bus, struct usb_device **ret) 311 struct usb_device *devices = NULL; 312 struct usb_device *dev; 342 struct usb_device *tdev = dev->next; 389 static void clear_device(struct usb_device *dev) 506 static int initialize_device(struct usb_device *dev) 559 static void free_device(struct usb_device *dev) 585 struct usb_device *new_devices = NULL; 586 struct usb_device *dev; 600 struct usb_device *tdev = dev->next 682 API_EXPORTED struct usb_device *usb_device(usb_dev_handle *dev) function [all...] |
usb.h | 237 struct usb_device; 245 struct usb_device { struct 246 struct usb_device *next, *prev; 260 struct usb_device **children; 268 struct usb_device *devices; 271 struct usb_device *root_dev; 287 usb_dev_handle *usb_open(struct usb_device *dev); 331 struct usb_device *usb_device(usb_dev_handle *dev);
|
/system/core/libusbhost/ |
usbhost.c | 75 struct usb_device { struct 316 struct usb_device *usb_device_open(const char *dev_name) 341 struct usb_device* result = usb_device_new(dev_name, fd); 347 void usb_device_close(struct usb_device *device) 353 struct usb_device *usb_device_new(const char *dev_name, int fd) 355 struct usb_device *device = calloc(1, sizeof(struct usb_device)); 380 static int usb_device_reopen_writeable(struct usb_device *device) 396 int usb_device_get_fd(struct usb_device *device) 403 const char* usb_device_get_name(struct usb_device *device [all...] |
/external/kernel-headers/original/linux/ |
usb.h | 23 struct usb_device; 150 container_of(intf->dev.parent, struct usb_device, dev) 176 * These structures persist for the lifetime of a usb_device, unlike 280 struct usb_device *root_hub; /* Root hub */ 317 * struct usb_device - kernel's representation of a USB device 324 struct usb_device { struct 336 struct usb_device *parent; /* our hub, unless we're the root */ 375 struct usb_device *children[USB_MAXCHILDREN]; 377 #define to_usb_device(d) container_of(d, struct usb_device, dev) 379 extern struct usb_device *usb_get_dev(struct usb_device *dev) [all...] |