From d44c33ec487219f73aa4dea9b09c364c6c7b39e0 Mon Sep 17 00:00:00 2001 From: timtmlin Date: Thu, 20 Jun 2024 15:44:52 +0800 Subject: [PATCH 1/3] Support AIDL based radio HALs Enable AIDL for V requirement AVC log in b/281968564#comment208 and go/v-ril-hal-migration Bug: 281968564 Test: telephony function test Flag: EXEMPT HAL interface change Change-Id: I9c1e9aecd8a9704fc290bdb3f66dc94d9e2e5073 --- gps/lsi/sepolicy/gnssd.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gps/lsi/sepolicy/gnssd.te b/gps/lsi/sepolicy/gnssd.te index a293b95..29dfa2e 100644 --- a/gps/lsi/sepolicy/gnssd.te +++ b/gps/lsi/sepolicy/gnssd.te @@ -5,7 +5,9 @@ init_daemon_domain(gnssd); # Allow gnssd to access rild binder_call(gnssd, rild); binder_call(gnssd, hwservicemanager) +binder_call(gnssd, servicemanager) allow gnssd hal_exynos_rild_hwservice:hwservice_manager find; +allow gnssd hal_vendor_radio_external_service:service_manager find; allow gnssd radio_device:chr_file rw_file_perms; # Allow gnssd to acess gnss device From 9a26ed1a9b01e5749815ebb3c2056f390aa79623 Mon Sep 17 00:00:00 2001 From: Pechetty Sravani Date: Mon, 1 Jul 2024 06:10:59 +0000 Subject: [PATCH 2/3] Revert "Support AIDL based radio HALs" Revert submission 27917806-v_hal_migration_phase3 Reason for revert: Droidmonitor created revert due to b/350390759. Will be verifying through ABTD before submission. Reverted changes: /q/submissionid:27917806-v_hal_migration_phase3 Change-Id: I466c1b61b86cb7a87f5a1a5ffbc0b4a86438beea --- gps/lsi/sepolicy/gnssd.te | 2 -- 1 file changed, 2 deletions(-) diff --git a/gps/lsi/sepolicy/gnssd.te b/gps/lsi/sepolicy/gnssd.te index 29dfa2e..a293b95 100644 --- a/gps/lsi/sepolicy/gnssd.te +++ b/gps/lsi/sepolicy/gnssd.te @@ -5,9 +5,7 @@ init_daemon_domain(gnssd); # Allow gnssd to access rild binder_call(gnssd, rild); binder_call(gnssd, hwservicemanager) -binder_call(gnssd, servicemanager) allow gnssd hal_exynos_rild_hwservice:hwservice_manager find; -allow gnssd hal_vendor_radio_external_service:service_manager find; allow gnssd radio_device:chr_file rw_file_perms; # Allow gnssd to acess gnss device From 90ea9b5fca3df11aba5629faa1a5495f09290934 Mon Sep 17 00:00:00 2001 From: Tim Lin Date: Mon, 1 Jul 2024 06:46:27 +0000 Subject: [PATCH 3/3] Revert^2 "Support AIDL based radio HALs" Enable AIDL for V requirement AVC log in b/281968564#comment208 and go/v-ril-hal-migration Forrest build result in go/v-ril-hal-migration Bug: 281968564 Test: telephony function test Flag: EXEMPT HAL interface change 9a26ed1a9b01e5749815ebb3c2056f390aa79623 Change-Id: I13117df3e25c01026c100207cc0d43aac8b82b7a --- gps/lsi/sepolicy/gnssd.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gps/lsi/sepolicy/gnssd.te b/gps/lsi/sepolicy/gnssd.te index a293b95..29dfa2e 100644 --- a/gps/lsi/sepolicy/gnssd.te +++ b/gps/lsi/sepolicy/gnssd.te @@ -5,7 +5,9 @@ init_daemon_domain(gnssd); # Allow gnssd to access rild binder_call(gnssd, rild); binder_call(gnssd, hwservicemanager) +binder_call(gnssd, servicemanager) allow gnssd hal_exynos_rild_hwservice:hwservice_manager find; +allow gnssd hal_vendor_radio_external_service:service_manager find; allow gnssd radio_device:chr_file rw_file_perms; # Allow gnssd to acess gnss device