Merge "Add hal_vehicle_service for AIDL VHAL service."
This commit is contained in:
commit
885bc3ca66
6 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
|||
hal_system_suspend_service
|
||||
hal_tv_tuner_service
|
||||
hal_uwb_service
|
||||
hal_vehicle_service
|
||||
hal_wifi_hostapd_service
|
||||
hal_wifi_supplicant_service
|
||||
locale_service
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
android.hardware.authsecret.IAuthSecret/default u:object_r:hal_authsecret_service:s0
|
||||
android.hardware.automotive.vehicle.IVehicle/default u:object_r:hal_vehicle_service:s0
|
||||
android.hardware.automotive.audiocontrol.IAudioControl/default u:object_r:hal_audiocontrol_service:s0
|
||||
android.hardware.biometrics.face.IFace/default u:object_r:hal_face_service:s0
|
||||
android.hardware.biometrics.fingerprint.IFingerprint/default u:object_r:hal_fingerprint_service:s0
|
||||
|
|
|
@ -4,3 +4,4 @@ binder_call(hal_vehicle_server, hal_vehicle_client)
|
|||
|
||||
|
||||
hal_attribute_hwservice(hal_vehicle, hal_vehicle_hwservice)
|
||||
hal_attribute_service(hal_vehicle, hal_vehicle_service)
|
||||
|
|
|
@ -293,6 +293,7 @@ type hal_sharedsecret_service, vendor_service, protected_service, service_manage
|
|||
type hal_system_suspend_service, protected_service, service_manager_type;
|
||||
type hal_tv_tuner_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_uwb_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_vehicle_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_vibrator_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_weaver_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_nlinterceptor_service, vendor_service, protected_service, service_manager_type;
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -10,6 +10,7 @@
|
|||
/(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\.vehicle@2\.0-((default|emulator)-)*(service|protocan-service) u:object_r:hal_vehicle_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.automotive\.vehicle@V1-default-service u:object_r:hal_vehicle_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.[0-9]+-service u:object_r:hal_bluetooth_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.[0-9]+-service\.btlinux u:object_r:hal_bluetooth_btlinux_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.face@1\.[0-9]+-service\.example u:object_r:hal_face_default_exec:s0
|
||||
|
|
3
vendor/hal_vehicle_default.te
vendored
3
vendor/hal_vehicle_default.te
vendored
|
@ -8,3 +8,6 @@ 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)
|
||||
|
|
Loading…
Reference in a new issue