Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:devicePath

690 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
693 if (device->path == devicePath) {
1051 status_t EventHub::openDeviceLocked(const char *devicePath) {
1054 ALOGV("Opening device: %s", devicePath);
1056 int fd = open(devicePath, O_RDWR | O_CLOEXEC);
1058 ALOGE("could not open %s, %s\n", devicePath, strerror(errno));
1066 //fprintf(stderr, "could not get device name for %s, %s\n", devicePath, strerror(errno));
1076 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string());
1085 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno));
1093 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno));
1104 //fprintf(stderr, "could not get location for %s, %s\n", devicePath, strerror(errno));
1112 //fprintf(stderr, "could not get idstring for %s, %s\n", devicePath, strerror(errno));
1130 Device* device = new Device(fd, deviceId, String8(devicePath), identifier);
1132 ALOGV("add device %d: %s\n", deviceId, devicePath);
1274 ALOGW("Unable to disable kernel key repeat for %s: %s", devicePath, strerror(errno));
1281 deviceId, devicePath, device->identifier.name.string());
1344 deviceId, fd, devicePath, device->identifier.name.string(),
1478 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1479 Device* device = getDeviceByPathLocked(devicePath);
1484 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath);