Home
last modified time | relevance | path

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

/device/google/wahoo/folio_daemon/
Dmain.cpp43 struct uinput_user_dev uidev; in main() local
68 memset(&uidev, 0, sizeof (uidev)); in main()
69 snprintf(uidev.name, UINPUT_MAX_NAME_SIZE, "uinput-folio"); in main()
70 uidev.id.bustype = BUS_VIRTUAL; in main()
71 uidev.id.vendor = 0; in main()
72 uidev.id.product = 0; in main()
73 uidev.id.version = 0; in main()
75 err = TEMP_FAILURE_RETRY(write(uinputFd, &uidev, sizeof (uidev))); in main()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp1893 struct uinput_user_dev uidev; in initializeUinputNode() local
1894 memset(&uidev, 0, sizeof(uidev)); in initializeUinputNode()
1895 snprintf(uidev.name, UINPUT_MAX_NAME_SIZE, "uinput-folio"); in initializeUinputNode()
1896 uidev.id.bustype = BUS_SPI; in initializeUinputNode()
1897 uidev.id.vendor = 0; in initializeUinputNode()
1898 uidev.id.product = 0; in initializeUinputNode()
1899 uidev.id.version = 0; in initializeUinputNode()
1901 ret = TEMP_FAILURE_RETRY(::write(mUinputFd, &uidev, sizeof(uidev))); in initializeUinputNode()