platform_system_sepolicy/public/hal_can.te
Chris Weir eee59458c2 SEPolicy for AIDL CAN HAL
CAN HAL moving to AIDL, SEPolicy will need to be adjusted.

Bug: 170405615
Test: AIDL CAN HAL VTS
Change-Id: I0d238d38aebb5895ae27fcb52cf43cd481327421
2022-12-09 11:00:10 -08:00

14 lines
560 B
Text

# CAN controller
binder_call(hal_can_controller_client, hal_can_controller_server)
binder_call(hal_can_controller_server, hal_can_controller_client)
hal_attribute_hwservice(hal_can_controller, hal_can_controller_hwservice)
# CAN bus
binder_call(hal_can_bus_client, hal_can_bus_server)
binder_call(hal_can_bus_server, hal_can_bus_client)
hal_attribute_hwservice(hal_can_bus, hal_can_bus_hwservice)
# AIDL HAL for CAN buses (ICanController)
hal_attribute_service(hal_can_controller, hal_can_controller_service)
binder_call(hal_can_controller, servicemanager)