Skip to content
Snippets Groups Projects
Commit 29eed9fa authored by Steven Moreland's avatar Steven Moreland
Browse files

All hal policies expressed as attributes.

Bug: 32123421
Bug: 32905206

Test: compiles, nfc works
Change-Id: Ibf72ef70255573e4df0863ea640354b3c37eb47d
parent a95c52e3
No related branches found
No related tags found
No related merge requests found
type hal_vr_default, hal_vr, domain;
type hal_vr_default_exec, exec_type, file_type;
init_daemon_domain(hal_vr_default)
# type_transition must be private policy the domain_trans rules could stay
# public, but conceptually should go with this
init_daemon_domain(hal_wifi)
type hal_wifi_default, hal_wifi, domain;
type hal_wifi_default_exec, exec_type, file_type;
init_daemon_domain(hal_wifi_default)
......@@ -115,5 +115,15 @@ attribute boot_control_hal;
attribute update_engine_common;
# HALs
attribute hal_light;
attribute hal_audio;
attribute hal_graphics_allocator;
attribute hal_graphics_composer;
attribute hal_ir;
attribute hal_light;
attribute hal_memtrack;
attribute hal_nfc;
attribute hal_power;
attribute hal_thermal;
attribute hal_vibrator;
attribute hal_vr;
attribute hal_wifi;
# hal_audio - audio services daemon
type hal_audio, domain;
type hal_audio_exec, exec_type, file_type;
hwbinder_use(hal_audio)
binder_call(hal_audio, audioserver)
......
# graphics buffer allocator subsystem
type hal_graphics_allocator, domain;
type hal_graphics_allocator_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_graphics_allocator)
......
# graphics composer subsystem
type hal_graphics_composer, domain;
type hal_graphics_composer_exec, exec_type, file_type;
# HwBinder access
hwbinder_use(hal_graphics_composer)
# IComposerCallback
......
# memtrack subsystem
type hal_memtrack, domain;
type hal_memtrack_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_memtrack);
# nfc subsystem
type hal_nfc, domain;
type hal_nfc_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_nfc)
......
# power subsystem
type hal_power, domain;
type hal_power_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_power);
# thermal subsystem
type hal_thermal, domain;
type hal_thermal_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_thermal)
......
# vibrator subsystem
type hal_vibrator, domain;
type hal_vibrator_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_vibrator)
......
# vr subsystem
type hal_vr, domain;
type hal_vr_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_vr)
......
# wifi legacy hal
type hal_wifi, domain;
type hal_wifi_exec, exec_type, file_type;
## hwbinder access
hwbinder_use(hal_wifi)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment