Home
last modified time | relevance | path

Searched refs:mUinputFd (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.cpp1172 mUinputFd = TEMP_FAILURE_RETRY(open("/dev/uinput", O_WRONLY | O_NONBLOCK)); in initializeUinputNode()
1173 if (mUinputFd < 0) { in initializeUinputNode()
1179 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SW)); in initializeUinputNode()
1180 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_EVBIT, EV_SYN)); in initializeUinputNode()
1181 ret |= TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_SET_SWBIT, SW_LID)); in initializeUinputNode()
1196 ret = TEMP_FAILURE_RETRY(write(mUinputFd, &uidev, sizeof(uidev))); in initializeUinputNode()
1202 ret = TEMP_FAILURE_RETRY(ioctl(mUinputFd, UI_DEV_CREATE)); in initializeUinputNode()
1220 ret = TEMP_FAILURE_RETRY(write(mUinputFd, &ev, sizeof(ev))); in sendFolioEvent()
1230 ret = TEMP_FAILURE_RETRY(write(mUinputFd, &ev, sizeof(ev))); in sendFolioEvent()
Dhubconnection.h229 int mUinputFd; member