Roy Luo 427a3262f1 Add udc sysfs to udc_sysfs fs context
Meeded for system server to monitor usb gadget state.
Grant hal_usb_impl read access as it's needed by UsbDataSessionMonitor.
Starting at board level api 202504 due to its dependency on aosp/3337514

10956 10956 W android.hardwar: type=1400 audit(0.0:327): avc:  denied  { read } for  name="state" dev="sysfs" ino=84394 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_udc:s0 tclass=file permissive=0

Bug: 339241080
Test: tested on Cheetah
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I0eac6b46677c786b505a4bd1c4f63385062bc132
2025-02-06 10:27:37 -08:00
2022-01-11 21:39:14 +00:00
2023-05-12 02:11:38 +00:00
Description
Board tree for Google Tensor G2 devices
65 MiB
Languages
C++ 60.5%
Makefile 25.6%
PureBasic 9.1%
Shell 2.1%
C 1.5%
Other 1.2%