platform_system_sepolicy/private/hal_power.te
Inseob Kim 179c2c9671 Grant dalvik_dynamic_prop access to power HAL
Currently vendors need to write dex2oat property from power HAL for
performance but vendors should workaround it with init rc scripts. This
allows power HAL to write such properties directly, without workaround.

Bug: 163539793
Test: boot
Change-Id: I1812c577cb11d24d924d32cdab40594c0eb72d52
2024-05-27 10:04:37 +09:00

12 lines
461 B
Text

# HwBinder IPC from client to server, and callbacks
binder_call(hal_power_client, hal_power_server)
binder_call(hal_power_server, hal_power_client)
hal_attribute_hwservice(hal_power, hal_power_hwservice)
hal_attribute_service(hal_power, hal_power_service)
binder_call(hal_power_server, servicemanager)
binder_call(hal_power_client, servicemanager)
# power HAL sets dex2oat performance tuning properties
set_prop(hal_power_server, dalvik_dynamic_config_prop)