Lines Matching full:devicepath
630 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
633 if (device->path == devicePath) {
993 status_t EventHub::openDeviceLocked(const char *devicePath) {
996 ALOGV("Opening device: %s", devicePath);
998 int fd = open(devicePath, O_RDWR | O_CLOEXEC);
1000 ALOGE("could not open %s, %s\n", devicePath, strerror(errno));
1008 //fprintf(stderr, "could not get device name for %s, %s\n", devicePath, strerror(errno));
1018 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string());
1027 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno));
1035 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno));
1046 //fprintf(stderr, "could not get location for %s, %s\n", devicePath, strerror(errno));
1054 //fprintf(stderr, "could not get idstring for %s, %s\n", devicePath, strerror(errno));
1072 Device* device = new Device(fd, deviceId, String8(devicePath), identifier);
1074 ALOGV("add device %d: %s\n", deviceId, devicePath);
1216 ALOGW("Unable to disable kernel key repeat for %s: %s", devicePath, strerror(errno));
1223 deviceId, devicePath, device->identifier.name.string());
1269 deviceId, fd, devicePath, device->identifier.name.string(),
1362 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1363 Device* device = getDeviceByPathLocked(devicePath);
1368 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath);