Searched refs:devicePath (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 728 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked() 731 if (device->path == devicePath) { in getDeviceByPathLocked() 1110 status_t EventHub::openDeviceLocked(const char *devicePath) { in openDeviceLocked() argument 1113 ALOGV("Opening device: %s", devicePath); in openDeviceLocked() 1115 int fd = open(devicePath, O_RDWR | O_CLOEXEC | O_NONBLOCK); in openDeviceLocked() 1117 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1135 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string()); in openDeviceLocked() 1144 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1152 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1182 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); in openDeviceLocked() [all …]
|
D | EventHub.h | 395 status_t openDeviceLocked(const char *devicePath); 400 status_t closeDeviceByPathLocked(const char *devicePath); 418 Device* getDeviceByPathLocked(const char* devicePath) const;
|