dac2a4a3a4
Bug: 78888165 Test: device can boot with HAL running. Change-Id: I3bf7c8203e038b892176c97ec006152a2904c7be
11 lines
606 B
Text
11 lines
606 B
Text
binder_call(hal_system_suspend_client, hal_system_suspend_server)
|
|
binder_call(hal_system_suspend_server, hal_system_suspend_client)
|
|
|
|
# To preserve the semantics of wakelock_use macro, not all clients of
|
|
# system_suspend_hwservice have hal_system_suspend_client attribute. For that
|
|
# reason we don't use hal_attribute_hwservice macro here.
|
|
add_hwservice(hal_system_suspend_server, system_suspend_hwservice)
|
|
allow hal_system_suspend_client system_suspend_hwservice:hwservice_manager find;
|
|
|
|
allow hal_system_suspend_server sysfs_power:file rw_file_perms;
|
|
allow hal_system_suspend_server system_server:fd use;
|