Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_rc.c206 static int uinput_fd = -1; variable
406 uinput_fd = uinput_create(name); in init_uinput()
407 if (uinput_fd < 0) { in init_uinput()
409 __FUNCTION__, name, uinput_fd); in init_uinput()
412 __FUNCTION__, name, uinput_fd); in init_uinput()
414 return uinput_fd; in init_uinput()
420 if (uinput_fd > 0) { in close_uinput()
421 ioctl(uinput_fd, UI_DEV_DESTROY); in close_uinput()
423 close(uinput_fd); in close_uinput()
424 uinput_fd = -1; in close_uinput()
[all …]