Home
last modified time | relevance | path

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

/external/bluetooth/bluez/input/
Dfakehid.c250 if (write(fake->uinput, &event, sizeof(event)) != sizeof(event)) { in ps3remote_event()
259 if (write(fake->uinput, &event, sizeof(event)) != sizeof(event)) { in ps3remote_event()
267 ioctl(fake->uinput, UI_DEV_DESTROY); in ps3remote_event()
268 close(fake->uinput); in ps3remote_event()
269 fake->uinput = -1; in ps3remote_event()
281 fake->uinput = open("/dev/input/uinput", O_RDWR); in ps3remote_setup_uinput()
282 if (fake->uinput < 0) { in ps3remote_setup_uinput()
283 fake->uinput = open("/dev/uinput", O_RDWR); in ps3remote_setup_uinput()
284 if (fake->uinput < 0) { in ps3remote_setup_uinput()
285 fake->uinput = open("/dev/misc/uinput", O_RDWR); in ps3remote_setup_uinput()
[all …]
Ddevice.c304 send_key(fake->uinput, key); in rfcomm_io_cb()
309 ioctl(fake->uinput, UI_DEV_DESTROY); in rfcomm_io_cb()
310 close(fake->uinput); in rfcomm_io_cb()
311 fake->uinput = -1; in rfcomm_io_cb()
335 fake->uinput = uinput_create(idev->name); in rfcomm_connect_cb()
336 if (fake->uinput < 0) { in rfcomm_connect_cb()
900 if (fake->uinput >= 0) { in fake_disconnect()
901 ioctl(fake->uinput, UI_DEV_DESTROY); in fake_disconnect()
902 close(fake->uinput); in fake_disconnect()
903 fake->uinput = -1; in fake_disconnect()
Ddevice.h36 int uinput; /* uinput socket */ member
/external/bluetooth/bluez/audio/
Dcontrol.c174 int uinput; member
189 uint16_t uinput; member
392 send_key(control->uinput, key_map[i].uinput, 1); in handle_panel_passthrough()
393 send_key(control->uinput, key_map[i].uinput, 0); in handle_panel_passthrough()
397 send_key(control->uinput, key_map[i].uinput, pressed); in handle_panel_passthrough()
428 if (control->uinput >= 0) { in avctp_disconnected()
434 ioctl(control->uinput, UI_DEV_DESTROY); in avctp_disconnected()
435 close(control->uinput); in avctp_disconnected()
436 control->uinput = -1; in avctp_disconnected()
636 ioctl(fd, UI_SET_KEYBIT, key_map[i].uinput); in uinput_create()
[all …]
/external/bluetooth/bluez/
DMakefile.tools217 compat_hidd_SOURCES = compat/hidd.c compat/hidd.h src/uinput.h \
DMakefile.am244 src/oui.h src/oui.c src/uinput.h src/ppoll.h \
DChangeLog900 Update uinput.h with extra key definitions.
947 Add basic uinput support for AVRCP.