Lines Matching defs:devicePath
711 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
714 if (device->path == devicePath) {
1068 status_t EventHub::openDeviceLocked(const char *devicePath) {
1071 ALOGV("Opening device: %s", devicePath);
1073 int fd = open(devicePath, O_RDWR | O_CLOEXEC);
1075 ALOGE("could not open %s, %s\n", devicePath, strerror(errno));
1083 //fprintf(stderr, "could not get device name for %s, %s\n", devicePath, strerror(errno));
1093 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string());
1102 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno));
1110 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno));
1121 //fprintf(stderr, "could not get location for %s, %s\n", devicePath, strerror(errno));
1129 //fprintf(stderr, "could not get idstring for %s, %s\n", devicePath, strerror(errno));
1147 Device* device = new Device(fd, deviceId, String8(devicePath), identifier);
1149 ALOGV("add device %d: %s\n", deviceId, devicePath);
1310 ALOGW("Unable to disable kernel key repeat for %s: %s", devicePath, strerror(errno));
1317 deviceId, devicePath, device->identifier.name.string());
1388 deviceId, fd, devicePath, device->identifier.name.string(),
1532 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1533 Device* device = getDeviceByPathLocked(devicePath);
1538 ALOGV("Remove device: %s not found, device may already have been removed.", devicePath);