platform_system_sepolicy/vendor/hal_vehicle_default.te
Vova Sharaienko 5aa340abc2 hal_vehicle_default: enabled communication with statsd
Bug: 233754988
Test: build & boot, logcat | grep SELinux
Change-Id: I92ca95e0088550677baab64fcc36afdc8845e2fc
2022-06-06 19:00:01 +00:00

18 lines
598 B
Text

# vehicle subsystem
type hal_vehicle_default, domain;
hal_server_domain(hal_vehicle_default, hal_vehicle)
# may be started by init
type hal_vehicle_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_vehicle_default)
# communication with CAN bus HAL
hal_client_domain(hal_vehicle_default, hal_can_bus)
# communicate with servicemanager
binder_call(hal_vehicle_server, servicemanager)
# communicate with statsd
hwbinder_use(hal_vehicle_default)
allow hal_vehicle_default fwk_stats_hwservice:hwservice_manager find;
binder_call(hal_vehicle_default, stats_service_server)