Home | History | Annotate | Download | only in input

Lines Matching refs:devicePath

637 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
640 if (device->path == devicePath) {
1000 status_t EventHub::openDeviceLocked(const char *devicePath) {
1003 ALOGV("Opening device: %s", devicePath);
1005 int fd = open(devicePath, O_RDWR | O_CLOEXEC);
1007 ALOGE("could not open %s, %s\n", devicePath, strerror(errno));
1015 //fprintf(stderr, "could not get device name for %s, %s\n", devicePath, strerror(errno));
1025 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string());
1034 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno));
1042 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno));
1053 //fprintf(stderr, "could not get location for %s, %s\n", devicePath, strerror(errno));
1061 //fprintf(stderr, "could not get idstring for %s, %s\n", devicePath, strerror(errno));
1079 Device* device = new Device(fd, deviceId, String8(devicePath), identifier);
1081 ALOGV("add device %d: %s\n", deviceId, devicePath);
1223 ALOGW("Unable to disable kernel key repeat for %s: %s", devicePath, strerror(errno));
1230 deviceId, devicePath, device->identifier.name.string());
1280 deviceId, fd, devicePath, device->identifier.name.string(),
1394 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1395 Device* device = getDeviceByPathLocked(devicePath);
1400 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath);