HomeSort by relevance Sort by last modified time
    Searched refs:usb_device (Results 1 - 25 of 37) sorted by null

1 2

  /system/core/include/usbhost/
usbhost.h 44 struct usb_device *dev;
103 /* Creates a usb_device object for a USB device */
104 struct usb_device *usb_device_open(const char *dev_name);
107 void usb_device_close(struct usb_device *device);
109 /* Creates a usb_device object for already open USB device */
110 struct usb_device *usb_device_new(const char *dev_name, int fd);
112 /* Returns the file descriptor for the usb_device */
113 int usb_device_get_fd(struct usb_device *device);
118 const char* usb_device_get_name(struct usb_device *device);
123 int usb_device_get_unique_id(struct usb_device *device)
    [all...]
  /frameworks/base/libs/usb/tests/accessorytest/
accessory.h 24 struct usb_device* usb_wait_for_device();
usb.c 30 static struct usb_device *current_device = NULL;
78 static void send_string(struct usb_device *device, int index, const char* string) {
91 struct usb_device *device = usb_device_open(devname);
210 struct usb_device* usb_wait_for_device() {
211 struct usb_device* device = NULL;
  /frameworks/base/core/jni/
android_hardware_UsbDeviceConnection.cpp 36 struct usb_device* get_device_from_object(JNIEnv* env, jobject connection)
38 return (struct usb_device*)env->GetLongField(connection, field_context);
52 struct usb_device* device = usb_device_new(deviceNameStr, fd);
68 struct usb_device* device = get_device_from_object(env, thiz);
78 struct usb_device* device = get_device_from_object(env, thiz);
111 struct usb_device* device = get_device_from_object(env, thiz);
129 struct usb_device* device = get_device_from_object(env, thiz);
146 struct usb_device* device = get_device_from_object(env, thiz);
158 struct usb_device* device = get_device_from_object(env, thiz);
172 struct usb_device* device = get_device_from_object(env, thiz)
    [all...]
  /system/core/toolbox/
lsusb.c 28 static const char *get_str(struct usb_device *dev, int id)
43 static void lsusb_parse_device_descriptor(struct usb_device *dev,
62 static void lsusb_parse_config_descriptor(struct usb_device *dev,
75 static void lsusb_parse_interface_descriptor(struct usb_device *dev,
89 static void lsusb_parse_endpoint_descriptor(struct usb_device *dev,
102 static void lsusb_dump_descriptor(struct usb_device *dev,
121 static void lsusb_parse_descriptor(struct usb_device *dev,
150 struct usb_device *dev = usb_device_open(dev_name);
  /external/libusb-compat/examples/
lsusb.c 34 struct usb_device *dev;
testlibusb.c 62 int print_device(struct usb_device *dev, int level)
145 struct usb_device *dev;
  /system/core/libusbhost/
usbhost.c 75 struct usb_device { struct
317 struct usb_device *usb_device_open(const char *dev_name)
342 struct usb_device* result = usb_device_new(dev_name, fd);
348 void usb_device_close(struct usb_device *device)
354 struct usb_device *usb_device_new(const char *dev_name, int fd)
356 struct usb_device *device = calloc(1, sizeof(struct usb_device));
381 static int usb_device_reopen_writeable(struct usb_device *device)
397 int usb_device_get_fd(struct usb_device *device)
404 const char* usb_device_get_name(struct usb_device *device
    [all...]
  /frameworks/av/media/mtp/
MtpDevice.h 27 struct usb_device;
39 struct usb_device* mDevice;
63 MtpDevice(struct usb_device* device, int interface,
MtpDataPacket.h 23 struct usb_device;
109 int readDataWait(struct usb_device *device);
  /device/asus/grouper/
audio_policy.conf 60 usb_device {
68 usb_device {
  /device/htc/flounder/
audio_policy.conf 65 usb_device {
73 usb_device {
  /device/samsung/manta/
audio_policy.conf 74 usb_device {
82 usb_device {
  /external/libusb-compat/libusb/
usbi.h 50 struct usb_device *device;
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);
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...]
  /device/asus/flo/
audio_policy.conf 74 usb_device {
82 usb_device {
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/
list_ports_osx.py 186 usb_device = GetParentDeviceByType(service, "IOUSBDevice")
187 if usb_device != None:
188 info.append(get_string_property(usb_device, "USB Product Name"))
192 get_int_property(usb_device, "idVendor"),
193 get_int_property(usb_device, "idProduct"),
194 get_string_property(usb_device, "USB Serial Number"))
  /cts/apps/cts-usb-accessory/
cts-usb-accessory.c 32 struct usb_device *sDevice = NULL;
70 static void send_string(struct usb_device *device, int index, const char* string) {
85 struct usb_device *device = usb_device_open(devname);
  /frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
accessorychat.c 32 struct usb_device *sDevice = NULL;
77 static void send_string(struct usb_device *device, int index, const char* string) {
92 struct usb_device *device = usb_device_open(devname);
  /device/lge/hammerhead/
audio_policy.conf 105 usb_device {
113 usb_device {
  /device/moto/shamu/
audio_policy.conf 89 usb_device {
97 usb_device {
  /device/lge/mako/
audio_policy.conf 74 usb_device {
  /external/libmtp/src/
libusb-glue.h 70 int open_device (int busn, int devn, short force, PTP_USB *ptp_usb, PTPParams *params, struct usb_device **dev);
libusb-glue.c 86 struct usb_device *libusb_device;
103 static void find_interface_and_endpoints(struct usb_device *dev,
111 static int init_ptp_usb (PTPParams* params, PTP_USB* ptp_usb, struct usb_device* dev);
152 * Small recursive function to append a new usb_device to the linked list of
161 struct usb_device *newdevice,
221 static int probe_device_descriptor(struct usb_device *dev, FILE *dumpfile)
308 static int probe_device_descriptor(struct usb_device *dev, FILE *dumpfile)
516 struct usb_device *dev = bus->devices;
695 struct usb_device *dev;
707 dev = usb_device(ptp_usb->handle)
    [all...]

Completed in 5854 milliseconds

1 2