Merge "Support Resume on Reboot" am: 6a9f7b265a
am: 25e571fa5d
am: c11be97479
Change-Id: If3f7b5f69dc0cfba89e37d3bb22db84f5bde8e44
This commit is contained in:
commit
64de2059d3
8 changed files with 18 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
gmscore_app
|
||||
hal_can_bus_hwservice
|
||||
hal_can_controller_hwservice
|
||||
hal_rebootescrow_service
|
||||
hal_tv_tuner_hwservice
|
||||
hal_vibrator_service
|
||||
init_svc_debug_prop
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -224,6 +224,7 @@ hal_client_domain(system_server, hal_oemlock)
|
|||
hal_client_domain(system_server, hal_omx)
|
||||
hal_client_domain(system_server, hal_power)
|
||||
hal_client_domain(system_server, hal_power_stats)
|
||||
hal_client_domain(system_server, hal_rebootescrow)
|
||||
hal_client_domain(system_server, hal_sensors)
|
||||
hal_client_domain(system_server, hal_tetheroffload)
|
||||
hal_client_domain(system_server, hal_thermal)
|
||||
|
|
|
@ -325,6 +325,7 @@ hal_attribute(oemlock);
|
|||
hal_attribute(omx);
|
||||
hal_attribute(power);
|
||||
hal_attribute(power_stats);
|
||||
hal_attribute(rebootescrow);
|
||||
hal_attribute(secure_element);
|
||||
hal_attribute(sensors);
|
||||
hal_attribute(telephony);
|
||||
|
|
7
public/hal_rebootescrow.te
Normal file
7
public/hal_rebootescrow.te
Normal file
|
@ -0,0 +1,7 @@
|
|||
# HwBinder IPC from client to server
|
||||
binder_call(hal_rebootescrow_client, hal_rebootescrow_server)
|
||||
|
||||
add_service(hal_rebootescrow_server, hal_rebootescrow_service)
|
||||
binder_use(hal_rebootescrow_server)
|
||||
|
||||
allow hal_rebootescrow_client hal_rebootescrow_service:service_manager find;
|
|
@ -199,6 +199,7 @@ type tethering_service, system_server_service, service_manager_type;
|
|||
### HAL Services
|
||||
###
|
||||
|
||||
type hal_rebootescrow_service, vendor_service, service_manager_type;
|
||||
type hal_vibrator_service, vendor_service, service_manager_type;
|
||||
|
||||
###
|
||||
|
|
|
@ -86,6 +86,7 @@ userdebug_or_eng(`
|
|||
typeattribute su hal_nfc_client;
|
||||
typeattribute su hal_oemlock_client;
|
||||
typeattribute su hal_power_client;
|
||||
typeattribute su hal_rebootescrow_client;
|
||||
typeattribute su hal_secure_element_client;
|
||||
typeattribute su hal_sensors_client;
|
||||
typeattribute su hal_telephony_client;
|
||||
|
|
5
vendor/hal_rebootescrow_default.te
vendored
Normal file
5
vendor/hal_rebootescrow_default.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_rebootescrow_default, domain;
|
||||
hal_server_domain(hal_rebootescrow_default, hal_rebootescrow)
|
||||
|
||||
type hal_rebootescrow_default_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_rebootescrow_default)
|
Loading…
Reference in a new issue