modem_svc: add modem_svc_sit to solve sepolicy conflicts arising from different device versions

Add modem_svc_sit to gs-common. modem_svc_sit will support devices from gs101 to zuma_pro. The shared_modem_platform will be updated to support devices after zumapro (not include).

Bug: 372400955

Flag: NONE local testing only
Change-Id: I0bcc9baf69045327e6fcca92ab8003e303db2649
This commit is contained in:
Eileen Lai 2024-12-06 12:49:05 +00:00
parent 2833eecc49
commit 8112ee64cc
11 changed files with 46 additions and 2 deletions

View file

@ -1,2 +1,2 @@
# modem_svc_sit
/vendor/bin/shared_modem_platform u:object_r:modem_svc_sit_exec:s0
# shared_modem_platform
/vendor/bin/shared_modem_platform u:object_r:shared_modem_platform_exec:s0

View file

@ -1,2 +0,0 @@
# Modem SVC will register the default instance of the AIDL ISharedModemPlatform hal.
hal_server_domain(modem_svc_sit, hal_shared_modem_platform)

View file

@ -0,0 +1,2 @@
# Shared modem platform will register the default instance of the AIDL ISharedModemPlatform hal.
hal_server_domain(shared_modem_platform, hal_shared_modem_platform)

View file

@ -1,6 +1,8 @@
# This file is not included in `modem.mk` since this is included at the
# beginning of each `device.mk` file, and so will be called before
# `SHARED_MODEM_PLATFORM_VENDOR` is defined later in the file.
# This file supports support devices which AP is after zumapro(not include).
# For device before zumapro(include) please use gs-common/modem/modem_svc_sit/shared_modem_platform.mk
SOONG_CONFIG_NAMESPACES += shared_modem_platform
SOONG_CONFIG_shared_modem_platform += \
vendor