Board tree for Google Tensor G1 devices
Find a file
Vaibhav Devmurari ac878d3f62 Add SePolicy for system_server accessing sysfs for USB 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
2022-10-03 14:52:52 +00:00
ambient Allow exo_app to find Virtual Device manager 2021-10-19 11:20:13 -07:00
confirmationui organize confirmationui settings 2021-06-18 12:56:05 +08:00
display atc context change 2022-01-17 16:53:53 +08:00
edgetpu Remove vendor_service. 2022-07-29 18:34:05 +00:00
health Implement health AIDL HAL. 2022-01-05 23:08:07 -08:00
modem modularize dmd 2021-06-24 14:17:29 +08:00
neuralnetworks modulize hal_neuralnetwork_armnn 2021-06-08 11:17:22 +08:00
pkvm Assign pkvm_enabler to vendor_misc_writer domain 2021-10-08 09:34:22 +00:00
private remove obsolete sepolicy 2022-06-09 11:29:43 +08:00
system_ext Allow platform apps to access FP Hal 2022-04-14 21:44:11 +00:00
telephony Fix build break if BOARD_WITHOUT_RADIO 2022-07-28 17:59:28 +08:00
tracking_denials Revert "Update SELinux error" 2022-08-15 13:47:56 +10:00
trusty_metricsd reorganize trusty_metricsd settings 2021-06-10 02:54:00 +00:00
usf Give permissions to save usf stats and dump them in bugreports. am: 4b4afb2eea 2022-08-25 03:38:27 +00:00
whitechapel/vendor/google Add SePolicy for system_server accessing sysfs for USB devices 2022-10-03 14:52:52 +00:00
gs101-sepolicy.mk Move dauntless settings to gs-common 2022-08-30 12:29:54 +08:00
OWNERS Include core policy OWNERS. 2022-01-06 10:17:14 -08:00