Searched refs:devicePath (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 697 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked() 700 if (device->path == devicePath) { in getDeviceByPathLocked() 1054 status_t EventHub::openDeviceLocked(const char *devicePath) { in openDeviceLocked() argument 1057 ALOGV("Opening device: %s", devicePath); in openDeviceLocked() 1059 int fd = open(devicePath, O_RDWR | O_CLOEXEC); in openDeviceLocked() 1061 ALOGE("could not open %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1079 ALOGI("ignoring event id %s driver %s\n", devicePath, item.string()); in openDeviceLocked() 1088 ALOGE("could not get driver version for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1096 ALOGE("could not get device input id for %s, %s\n", devicePath, strerror(errno)); in openDeviceLocked() 1133 Device* device = new Device(fd, deviceId, String8(devicePath), identifier); in openDeviceLocked() [all …]
|
D | EventHub.h | 379 status_t openDeviceLocked(const char *devicePath); 384 status_t closeDeviceByPathLocked(const char *devicePath); 394 Device* getDeviceByPathLocked(const char* devicePath) const;
|