Sepolicy for IRadio modules
Test: build and flash
Bug: 198331673
Change-Id: I06513050252874400bcd81fb5735d6790f6e2ac1
diff --git a/private/compat/31.0/31.0.ignore.cil b/private/compat/31.0/31.0.ignore.cil
index f9645f4..47a2e8c 100644
--- a/private/compat/31.0/31.0.ignore.cil
+++ b/private/compat/31.0/31.0.ignore.cil
@@ -14,9 +14,15 @@
hal_contexthub_service
hal_graphics_composer_service
hal_health_service
+ hal_radio_config_service
+ hal_radio_data_service
+ hal_radio_messaging_service
+ hal_radio_modem_service
+ hal_radio_network_service
+ hal_radio_sim_service
+ hal_radio_voice_service
hal_sensors_service
hal_system_suspend_service
- hal_radio_service
hal_tv_tuner_service
hal_uwb_service
hal_uwb_vendor_service
diff --git a/private/service_contexts b/private/service_contexts
index 50002d4..f79715d 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -14,7 +14,25 @@
android.hardware.oemlock.IOemLock/default u:object_r:hal_oemlock_service:s0
android.hardware.power.IPower/default u:object_r:hal_power_service:s0
android.hardware.power.stats.IPowerStats/default u:object_r:hal_power_stats_service:s0
-android.hardware.radio.config.IRadioConfig/default u:object_r:hal_radio_service:s0
+android.hardware.radio.config.IRadioConfig/default u:object_r:hal_radio_config_service:s0
+android.hardware.radio.data.IRadioData/slot1 u:object_r:hal_radio_data_service:s0
+android.hardware.radio.data.IRadioData/slot2 u:object_r:hal_radio_data_service:s0
+android.hardware.radio.data.IRadioData/slot3 u:object_r:hal_radio_data_service:s0
+android.hardware.radio.messaging.IRadioMessaging/slot1 u:object_r:hal_radio_messaging_service:s0
+android.hardware.radio.messaging.IRadioMessaging/slot2 u:object_r:hal_radio_messaging_service:s0
+android.hardware.radio.messaging.IRadioMessaging/slot3 u:object_r:hal_radio_messaging_service:s0
+android.hardware.radio.modem.IRadioModem/slot1 u:object_r:hal_radio_modem_service:s0
+android.hardware.radio.modem.IRadioModem/slot2 u:object_r:hal_radio_modem_service:s0
+android.hardware.radio.modem.IRadioModem/slot3 u:object_r:hal_radio_modem_service:s0
+android.hardware.radio.network.IRadioNetwork/slot1 u:object_r:hal_radio_network_service:s0
+android.hardware.radio.network.IRadioNetwork/slot2 u:object_r:hal_radio_network_service:s0
+android.hardware.radio.network.IRadioNetwork/slot3 u:object_r:hal_radio_network_service:s0
+android.hardware.radio.sim.IRadioSim/slot1 u:object_r:hal_radio_sim_service:s0
+android.hardware.radio.sim.IRadioSim/slot2 u:object_r:hal_radio_sim_service:s0
+android.hardware.radio.sim.IRadioSim/slot3 u:object_r:hal_radio_sim_service:s0
+android.hardware.radio.voice.IRadioVoice/slot1 u:object_r:hal_radio_voice_service:s0
+android.hardware.radio.voice.IRadioVoice/slot2 u:object_r:hal_radio_voice_service:s0
+android.hardware.radio.voice.IRadioVoice/slot3 u:object_r:hal_radio_voice_service:s0
android.hardware.rebootescrow.IRebootEscrow/default u:object_r:hal_rebootescrow_service:s0
android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service:s0
android.hardware.security.keymint.IRemotelyProvisionedComponent/default u:object_r:hal_remotelyprovisionedcomponent_service:s0