History log of /packages/services/Car/tools/keventreader/server/eventprovider.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3ac2057bd91eb506a4731338f724897cc8f449ae 08-May-2018 Enrico Granata <egranata@google.com> Service and KitchenSink logic to read the kernel's input event queues

This patch provides a native service that can manually be built, installed to a device, and launched, e.g.

sh# /system/bin/com.android.car.keventreader /dev/input/event*

The service will monitor the files provided as input (expecting them to be kernel input queues in the format
described at, e.g. https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h), and generate
events upon reading EV_KEY events from each such file.

The patch also includes a KitchenSink hook to talk to the native service and receive key events from it.

Bug: 78258802
Test: manual on Mojave
Change-Id: If7f2f1f72e4dc6a26cd9d32b31e90e494d55650b
Merged-In: If7f2f1f72e4dc6a26cd9d32b31e90e494d55650b
/packages/services/Car/tools/keventreader/server/eventprovider.cpp