Lines Matching refs:devicePath
697 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
700 if (device->path == devicePath) { in getDeviceByPathLocked()
1054 status_t EventHub::openDeviceLocked(const char *devicePath) { in openDeviceLocked() argument
1057 ALOGV("Opening device: %s", devicePath); in openDeviceLocked()
1059 int fd = open(devicePath, O_RDWR | O_CLOEXEC); in openDeviceLocked()
1061 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1079 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string()); in openDeviceLocked()
1088 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1096 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1133 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); in openDeviceLocked()
1135 ALOGV("add device %d: %s\n", deviceId, devicePath); in openDeviceLocked()
1287 ALOGW("Unable to disable kernel key repeat for %s: %s", devicePath, strerror(errno)); in openDeviceLocked()
1294 deviceId, devicePath, device->identifier.name.string()); in openDeviceLocked()
1365 deviceId, fd, devicePath, device->identifier.name.string(), in openDeviceLocked()
1509 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) { in closeDeviceByPathLocked() argument
1510 Device* device = getDeviceByPathLocked(devicePath); in closeDeviceByPathLocked()
1515 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath); in closeDeviceByPathLocked()