Home | History | Annotate | Download | only in vsoc_input_service

Lines Matching refs:fd_

50   if (fd_ >= 0) {
51 close(fd_);
52 fd_ = -1;
57 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
58 if (fd_ < 0) {
70 if (!DoIoctl(fd_, UI_SET_EVBIT, evt_type)) {
77 if (!DoIoctl(fd_, UI_SET_KEYBIT, key)) {
84 if (!DoIoctl(fd_, UI_SET_PROPBIT, property)) {
91 if (!DoIoctl(fd_, UI_SET_ABSBIT, abs)) {
97 if (write(fd_, &dev_, sizeof(dev_)) < 0) {
101 if (ioctl(fd_, UI_DEV_CREATE) < 0) {
117 if (write(fd_, &event, sizeof(event)) < static_cast<ssize_t>(sizeof(event))) {