Merge "stable aidl Power HAL policy"
This commit is contained in:
commit
fbe4afa7aa
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
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
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user