HomeSort by relevance Sort by last modified time
    Searched refs:usb_device (Results 1 - 25 of 34) 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;
  /hardware/bsp/intel/peripheral/audio/generic/usb/
audio_policy.conf 24 usb_device {
33 usb_device {
  /frameworks/av/media/mtp/
MtpEventPacket.h 39 int readResponse(struct usb_device *device);
MtpDevice.h 28 struct usb_device;
41 struct usb_device* mDevice;
74 MtpDevice(struct usb_device* device,
MtpEventPacket.cpp 68 int MtpEventPacket::readResponse(struct usb_device *device) {
MtpPacket.h 22 struct usb_device;
MtpDataPacket.h 23 struct usb_device;
110 int readDataWait(struct usb_device *device);
  /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...]
android_hardware_UsbRequest.cpp 39 extern struct usb_device* get_device_from_object(JNIEnv* env, jobject connection);
47 struct usb_device* device = get_device_from_object(env, java_device);
  /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 78 struct usb_device { struct
320 struct usb_device *usb_device_open(const char *dev_name)
345 struct usb_device* result = usb_device_new(dev_name, fd);
351 void usb_device_close(struct usb_device *device)
357 struct usb_device *usb_device_new(const char *dev_name, int fd)
359 struct usb_device *device = calloc(1, sizeof(struct usb_device));
384 static int usb_device_reopen_writeable(struct usb_device *device)
400 int usb_device_get_fd(struct usb_device *device)
407 const char* usb_device_get_name(struct usb_device *device
    [all...]
  /device/asus/fugu/
audio_policy.conf 61 usb_device {
69 usb_device {
  /device/htc/flounder/
audio_policy.conf 65 usb_device {
73 usb_device {
  /device/linaro/hikey/audio/
audio_policy.conf 64 usb_device {
72 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...]
  /external/chromium-trace/catapult/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"))
  /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/huawei/angler/
audio_policy.conf 112 usb_device {
120 usb_device {
  /device/moto/shamu/
audio_policy.conf 97 usb_device {
105 usb_device {
  /cts/apps/cts-usb-accessory/
cts-usb-accessory.c 32 static struct usb_device *sDevice = NULL;
72 static int send_string(struct usb_device *device, int index, const char* string) {
88 struct usb_device *device = usb_device_open(devname);

Completed in 2329 milliseconds

1 2