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