Merge "stable aidl Power HAL policy"

am: fbe4afa7aa

Change-Id: Id2791733129f015b4364774ebc3f79b84b043dc4
This commit is contained in:
Wei Wang 2020-01-16 14:40:30 -08:00 committed by android-build-merger
commit 4cb024e790
5 changed files with 10 additions and 2 deletions

View file

@ -33,6 +33,7 @@
hal_can_bus_hwservice
hal_can_controller_hwservice
hal_identity_hwservice
hal_power_service
hal_rebootescrow_service
hal_tv_tuner_hwservice
hal_vibrator_service

View file

@ -1,5 +1,6 @@
android.hardware.rebootescrow.IRebootEscrow/default u:object_r:hal_rebootescrow_service:s0
android.hardware.vibrator.IVibrator/default u:object_r:hal_vibrator_service:s0
android.hardware.power.IPower/default u:object_r:hal_power_service:s0
android.hardware.rebootescrow.IRebootEscrow/default u:object_r:hal_rebootescrow_service:s0
android.hardware.vibrator.IVibrator/default u:object_r:hal_vibrator_service:s0
accessibility u:object_r:accessibility_service:s0
account u:object_r:account_service:s0

View file

@ -3,3 +3,7 @@ binder_call(hal_power_client, hal_power_server)
binder_call(hal_power_server, hal_power_client)
hal_attribute_hwservice(hal_power, hal_power_hwservice)
add_service(hal_power_server, hal_power_service)
binder_call(hal_power_server, servicemanager)
allow hal_power_client hal_power_service:service_manager find;

View file

@ -204,6 +204,7 @@ type tethering_service, app_api_service, ephemeral_app_api_service, system_serve
### HAL Services
###
type hal_power_service, vendor_service, service_manager_type;
type hal_rebootescrow_service, vendor_service, service_manager_type;
type hal_vibrator_service, vendor_service, service_manager_type;

View file

@ -50,6 +50,7 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.media\.omx@1\.0-service u:object_r:mediacodec_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power-service.example u:object_r:hal_power_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.power\.stats@1\.0-service u:object_r:hal_power_stats_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio\.config@1\.0-service u:object_r:hal_radio_config_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.radio@1\.2-radio-service u:object_r:hal_radio_default_exec:s0