Lines Matching refs:devicePath
629 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
632 if (device->path == devicePath) { in getDeviceByPathLocked()
933 status_t EventHub::openDeviceLocked(const char *devicePath) { in openDeviceLocked() argument
936 ALOGV("Opening device: %s", devicePath); in openDeviceLocked()
938 int fd = open(devicePath, O_RDWR | O_CLOEXEC); in openDeviceLocked()
940 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
958 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string()); in openDeviceLocked()
967 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
975 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked()
1012 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); in openDeviceLocked()
1014 ALOGV("add device %d: %s\n", deviceId, devicePath); in openDeviceLocked()
1157 deviceId, devicePath, device->identifier.name.string()); in openDeviceLocked()
1203 deviceId, fd, devicePath, device->identifier.name.string(), in openDeviceLocked()
1296 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) { in closeDeviceByPathLocked() argument
1297 Device* device = getDeviceByPathLocked(devicePath); in closeDeviceByPathLocked()
1302 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath); in closeDeviceByPathLocked()