Home
last modified time | relevance | path

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

/system/core/init/
Dkeychords.cpp33 static int keychord_fd = -1; variable
73 ret = read(keychord_fd, &id, sizeof(id)); in handle_keychord()
98 keychord_fd = TEMP_FAILURE_RETRY(open("/dev/keychord", O_RDWR | O_CLOEXEC)); in keychord_init()
99 if (keychord_fd == -1) { in keychord_init()
104 int ret = write(keychord_fd, keychords, keychords_length); in keychord_init()
107 close(keychord_fd); in keychord_init()
113 register_epoll_handler(keychord_fd, handle_keychord); in keychord_init()