From 691def4fd5089d46fe064214fc270f7f8147e000 Mon Sep 17 00:00:00 2001 From: Tyler Wear Date: Mon, 10 Jan 2022 19:23:21 -0800 Subject: [PATCH] Connectivity Native AIDL interface Sepolicy Sepolicy files for new ConnectivityNative service. This is a new service implemented in java accessible from native code. Stable aidl is used to avoid having to manually write the unparcling code in two different languages. A new service is required because there is no connectivity service in the system server that exposes a stable aidl interface. Bug: 179733303 Change-Id: If2372712a4a8ac7b0631a2195aabc910d1a829cc --- private/compat/32.0/32.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/32.0/32.0.ignore.cil b/private/compat/32.0/32.0.ignore.cil index ee7d51ef6..78087e897 100644 --- a/private/compat/32.0/32.0.ignore.cil +++ b/private/compat/32.0/32.0.ignore.cil @@ -12,6 +12,7 @@ charger_vendor cloudsearch cloudsearch_service + connectivity_native_service device_config_nnapi_native_prop device_config_surface_flinger_native_boot_prop dice_maintenance_service diff --git a/private/service_contexts b/private/service_contexts index 4fb4b2972..d73e84ed3 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -134,6 +134,7 @@ companiondevice u:object_r:companion_device_service:s0 platform_compat u:object_r:platform_compat_service:s0 platform_compat_native u:object_r:platform_compat_service:s0 connectivity u:object_r:connectivity_service:s0 +connectivity_native u:object_r:connectivity_native_service:s0 connmetrics u:object_r:connmetrics_service:s0 consumer_ir u:object_r:consumer_ir_service:s0 content u:object_r:content_service:s0 diff --git a/public/service.te b/public/service.te index b5197a9e8..afe100625 100644 --- a/public/service.te +++ b/public/service.te @@ -89,6 +89,7 @@ type contexthub_service, app_api_service, system_server_service, service_manage type crossprofileapps_service, app_api_service, system_server_service, service_manager_type; type IProxyService_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type companion_device_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; +type connectivity_native_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type connectivity_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type connmetrics_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type consumer_ir_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;