Merge "EARC: Add Policy for EArc Service" am: 6baccc1d8e
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2320410 Change-Id: Ibeedf9ea55a4f80d80678f1fd89a9e5bcd279145 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1791ca2220
10 changed files with 20 additions and 0 deletions
|
@ -115,6 +115,7 @@ var (
|
|||
"android.hardware.soundtrigger3.ISoundTriggerHw/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.thermal.IThermal/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.tv.cec.IHdmiCec/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.tv.earc.IEArc/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.tv.hdmi.IHdmi/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.tv.input.ITvInput/default": EXCEPTION_NO_FUZZER,
|
||||
"android.hardware.tv.tuner.ITuner/default": EXCEPTION_NO_FUZZER,
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
hal_thermal_service
|
||||
hal_usb_gadget_service
|
||||
hal_tv_input_service
|
||||
hal_tv_earc_service
|
||||
hal_tv_hdmi_service
|
||||
hal_tv_hdmi_cec_service
|
||||
hal_wifi_service
|
||||
|
|
|
@ -90,6 +90,7 @@ android.hardware.sensors.ISensors/default u:object_r:
|
|||
android.hardware.soundtrigger3.ISoundTriggerHw/default u:object_r:hal_audio_service:s0
|
||||
android.hardware.thermal.IThermal/default u:object_r:hal_thermal_service:s0
|
||||
android.hardware.tv.cec.IHdmiCec/default u:object_r:hal_tv_hdmi_cec_service:s0
|
||||
android.hardware.tv.earc.IEArc/default u:object_r:hal_tv_earc_service:s0
|
||||
android.hardware.tv.hdmi.IHdmi/default u:object_r:hal_tv_hdmi_service:s0
|
||||
android.hardware.tv.tuner.ITuner/default u:object_r:hal_tv_tuner_service:s0
|
||||
android.hardware.tv.input.ITvInput/default u:object_r:hal_tv_input_service:s0
|
||||
|
|
|
@ -331,6 +331,7 @@ hal_client_domain(system_server, hal_sensors)
|
|||
hal_client_domain(system_server, hal_tetheroffload)
|
||||
hal_client_domain(system_server, hal_thermal)
|
||||
hal_client_domain(system_server, hal_tv_cec)
|
||||
hal_client_domain(system_server, hal_tv_earc)
|
||||
hal_client_domain(system_server, hal_tv_hdmi)
|
||||
hal_client_domain(system_server, hal_tv_hdmi_cec)
|
||||
hal_client_domain(system_server, hal_tv_input)
|
||||
|
|
|
@ -370,6 +370,7 @@ hal_attribute(telephony);
|
|||
hal_attribute(tetheroffload);
|
||||
hal_attribute(thermal);
|
||||
hal_attribute(tv_cec);
|
||||
hal_attribute(tv_earc);
|
||||
hal_attribute(tv_hdmi);
|
||||
hal_attribute(tv_hdmi_cec);
|
||||
hal_attribute(tv_input);
|
||||
|
|
7
public/hal_tv_earc.te
Normal file
7
public/hal_tv_earc.te
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Binder IPC from clients into server, and callbacks
|
||||
binder_call(hal_tv_earc_client, hal_tv_earc_server)
|
||||
binder_call(hal_tv_earc_server, hal_tv_earc_client)
|
||||
binder_use(hal_tv_earc_client)
|
||||
binder_use(hal_tv_earc_server)
|
||||
|
||||
hal_attribute_service(hal_tv_earc, hal_tv_earc_service)
|
|
@ -315,6 +315,7 @@ type hal_secure_element_service, protected_service, hal_service_type, service_ma
|
|||
type hal_sharedsecret_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_system_suspend_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_thermal_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_tv_earc_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_tv_hdmi_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_tv_hdmi_cec_service, protected_service, hal_service_type, service_manager_type;
|
||||
type hal_tv_input_service, protected_service, hal_service_type, service_manager_type;
|
||||
|
|
|
@ -97,6 +97,7 @@ userdebug_or_eng(`
|
|||
typeattribute su hal_tetheroffload_client;
|
||||
typeattribute su hal_thermal_client;
|
||||
typeattribute su hal_tv_cec_client;
|
||||
typeattribute su hal_tv_earc_client;
|
||||
typeattribute su hal_tv_hdmi_client;
|
||||
typeattribute su hal_tv_hdmi_cec_client;
|
||||
typeattribute su hal_tv_input_client;
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -100,6 +100,7 @@
|
|||
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal-service\.example u:object_r:hal_thermal_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.cec@1\.[01]-service u:object_r:hal_tv_cec_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.cec-service u:object_r:hal_tv_hdmi_cec_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.earc-service u:object_r:hal_tv_earc_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.hdmi-service u:object_r:hal_tv_hdmi_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.input@1\.0-service u:object_r:hal_tv_input_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.tv\.input-service\.example u:object_r:hal_tv_input_default_exec:s0
|
||||
|
|
5
vendor/hal_tv_earc_default.te
vendored
Normal file
5
vendor/hal_tv_earc_default.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_tv_earc_default, domain;
|
||||
hal_server_domain(hal_tv_earc_default, hal_tv_earc)
|
||||
|
||||
type hal_tv_earc_default_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_tv_earc_default)
|
Loading…
Reference in a new issue