Board tree for Google Tensor G1 devices
Add SePolicy to allow Android input manager accessing sysfs nodes for external USB devices To support input device lights manager feature in frameworks, provide sysfs node access to system server process. DD: go/pk_backlight_control (For keyboard backlight control for external keyboards) Kernel provides a standardized LED interface to expose LED controls over sysfs: https://docs.kernel.org/leds/leds-class.html The feature will be provided for devices with kernel sysfs class led support and vendor kernel driver for input controllers that do have lights. The kernel sysfs class led support is a kernel config option (LEDS_CLASS), and an input device driver will create the sysfs class node interface. By giving system_server the access to these sysfs nodes, the feature will work on devices with the kernel option and kernel input/hid driver support. We do use CTS tests to enforce the kernel options and the input device drivers. What's already supported? - We already support access to UHID sysfs node which used for all bluetooth based external peripherals What's included in this CL? - Adding support to access sysfs nodes for USB based external devices Test: manual Bug: 245506418 Change-Id: Ieb55614ed651b85f0e6752a17d02f4d370fd1e6f |
||
---|---|---|
ambient | ||
confirmationui | ||
display | ||
edgetpu | ||
health | ||
modem | ||
neuralnetworks | ||
pkvm | ||
private | ||
system_ext | ||
telephony | ||
tracking_denials | ||
trusty_metricsd | ||
usf | ||
whitechapel/vendor/google | ||
gs101-sepolicy.mk | ||
OWNERS |