platform_system_sepolicy/public/hal_can.te
Chris Weir 5bc1652307 binder_call should be binder_use
aosp/2291528 should have had the `binder_call` macro in hal_can.te be a
`binder_use` macro instead. This fixes that.

Bug: 170405615
Test: AIDL CAN HAL starts up and configures
Change-Id: I7b18c25afef5a243bf0bba7c77a682f7cff092a3
2022-12-13 17:38:33 +00:00

13 lines
542 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_use(hal_can_controller)