Home
last modified time | relevance | path

Searched refs:devname (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c85 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument
92 struct usb_device *device = usb_device_open(devname); in usb_device_added()
175 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument
176 if (sDevice && !strcmp(usb_device_get_name(sDevice), devname)) { in usb_device_removed()
/frameworks/base/libs/usb/tests/accessorytest/
Dusb.c86 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument
91 struct usb_device *device = usb_device_open(devname); in usb_device_added()
197 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument
200 if (current_device && !strcmp(usb_device_get_name(current_device), devname)) { in usb_device_removed()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1867 char devname[PATH_MAX]; in scanDirLocked() local
1873 strcpy(devname, dirname); in scanDirLocked()
1874 filename = devname + strlen(devname); in scanDirLocked()
1881 openDeviceLocked(devname); in scanDirLocked()