Home | History | Annotate | Download | only in sensorhal

Lines Matching refs:mUinputFd

1977     mUinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK));
1978 if (mUinputFd < 0) {
1984 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SW));
1985 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SYN));
1986 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_SWBIT, SW_LID));
2001 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &uidev, sizeof(uidev)));
2007 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_DEV_CREATE));
2025 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &ev, sizeof(ev)));
2035 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &ev, sizeof(ev)));