c8e937efe5
This macro creates the necessary neverallow to assert the hal_can_*_{client,server} attribute has exclusive ownership of the service. Bug: 176180039 Test: build/TH Change-Id: I876b50e4184ef787117d5ca67c7fbd522d82687c
10 lines
329 B
Text
10 lines
329 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)
|