Merge "Vehicle HAL: allow communication with CAN bus HAL and alternative service naming"
This commit is contained in:
commit
eeb6279953
2 changed files with 6 additions and 1 deletions
2
vendor/file_contexts
vendored
2
vendor/file_contexts
vendored
|
@ -6,7 +6,7 @@
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@1\.0-service u:object_r:hal_audiocontrol_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.audiocontrol@1\.0-service u:object_r:hal_audiocontrol_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.can@1\.0-service u:object_r:hal_can_socketcan_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.can@1\.0-service u:object_r:hal_can_socketcan_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.evs@1\.[0-9]-service u:object_r:hal_evs_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.evs@1\.[0-9]-service u:object_r:hal_evs_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.vehicle@2\.0-service u:object_r:hal_vehicle_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.vehicle@2\.0-(service|protocan-service) u:object_r:hal_vehicle_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service u:object_r:hal_bluetooth_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service u:object_r:hal_bluetooth_default_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.btlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service\.btlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service u:object_r:hal_fingerprint_default_exec:s0
|
||||||
|
|
5
vendor/hal_vehicle_default.te
vendored
5
vendor/hal_vehicle_default.te
vendored
|
@ -5,3 +5,8 @@ hal_server_domain(hal_vehicle_default, hal_vehicle)
|
||||||
# may be started by init
|
# may be started by init
|
||||||
type hal_vehicle_default_exec, exec_type, vendor_file_type, file_type;
|
type hal_vehicle_default_exec, exec_type, vendor_file_type, file_type;
|
||||||
init_daemon_domain(hal_vehicle_default)
|
init_daemon_domain(hal_vehicle_default)
|
||||||
|
|
||||||
|
# communication with CAN bus HAL
|
||||||
|
allow hal_vehicle_default hal_can_bus_hwservice:hwservice_manager find;
|
||||||
|
allow hal_vehicle_default hal_can_socketcan:binder { call transfer };
|
||||||
|
allow hal_can_socketcan hal_vehicle_default:binder { call transfer };
|
||||||
|
|
Loading…
Reference in a new issue