Searched refs:mUinputFd (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 1877 mUinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); in initializeUinputNode() 1878 if (mUinputFd < 0) { in initializeUinputNode() 1884 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SW)); in initializeUinputNode() 1885 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SYN)); in initializeUinputNode() 1886 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_SWBIT, SW_LID)); in initializeUinputNode() 1901 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &uidev, sizeof(uidev))); in initializeUinputNode() 1907 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_DEV_CREATE)); in initializeUinputNode() 1925 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &ev, sizeof(ev))); in sendFolioEvent() 1935 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &ev, sizeof(ev))); in sendFolioEvent()
|
D | hubconnection.h | 298 int mUinputFd; member
|