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/
DEventHub.cpp1668 char devname[PATH_MAX]; in readNotifyLocked() local
1685 strcpy(devname, DEVICE_PATH); in readNotifyLocked()
1686 filename = devname + strlen(devname); in readNotifyLocked()
1695 openDeviceLocked(devname); in readNotifyLocked()
1697 ALOGI("Removing device '%s' due to inotify event\n", devname); in readNotifyLocked()
1698 closeDeviceByPathLocked(devname); in readNotifyLocked()
1710 char devname[PATH_MAX]; in scanDirLocked() local
1717 strcpy(devname, dirname); in scanDirLocked()
1718 filename = devname + strlen(devname); in scanDirLocked()
1726 openDeviceLocked(devname); in scanDirLocked()