Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_rc.c141 static int uinput_fd = -1; variable
300 uinput_fd = uinput_create(name); in init_uinput()
301 if (uinput_fd < 0) { in init_uinput()
303 __FUNCTION__, name, uinput_fd); in init_uinput()
306 __FUNCTION__, name, uinput_fd); in init_uinput()
308 return uinput_fd; in init_uinput()
314 if (uinput_fd > 0) { in close_uinput()
315 TEMP_FAILURE_RETRY(ioctl(uinput_fd, UI_DEV_DESTROY)); in close_uinput()
317 close(uinput_fd); in close_uinput()
318 uinput_fd = -1; in close_uinput()
[all …]