Searched refs:devname (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 85 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/services/core/jni/ |
D | com_android_server_UsbHostManager.cpp | 58 static int usb_device_added(const char *devname, void* client_data) { in usb_device_added() argument 62 struct usb_device *device = usb_device_open(devname); in usb_device_added() 76 jstring deviceName = env->NewStringUTF(devname); in usb_device_added() 140 static int usb_device_removed(const char *devname, void* client_data) { in usb_device_removed() argument 144 jstring deviceName = env->NewStringUTF(devname); in usb_device_removed()
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | usb.c | 86 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/ |
D | EventHub.cpp | 1548 char devname[PATH_MAX]; in readNotifyLocked() local 1565 strcpy(devname, DEVICE_PATH); in readNotifyLocked() 1566 filename = devname + strlen(devname); in readNotifyLocked() 1575 openDeviceLocked(devname); in readNotifyLocked() 1577 ALOGI("Removing device '%s' due to inotify event\n", devname); in readNotifyLocked() 1578 closeDeviceByPathLocked(devname); in readNotifyLocked() 1590 char devname[PATH_MAX]; in scanDirLocked() local 1597 strcpy(devname, dirname); in scanDirLocked() 1598 filename = devname + strlen(devname); in scanDirLocked() 1606 openDeviceLocked(devname); in scanDirLocked()
|