Skip to content
Snippets Groups Projects
Commit f41d89eb authored by Alex Klyubin's avatar Alex Klyubin
Browse files

Group all HAL impls using haldomain attribute

This marks all HAL domain implementations with the haldomain attribute
so that rules can be written which apply to all HAL implementations.

This follows the pattern used for appdomain, netdomain and
bluetoothdomain.

Test: No change to policy according to sesearch.
Bug: 34180936
Change-Id: I0cfe599b0d49feed36538503c226dfce41eb65f6
parent ddb52d82
No related branches found
No related tags found
No related merge requests found
Showing
with 60 additions and 41 deletions
type hal_audio_default, hal_audio, domain; type hal_audio_default, domain;
type hal_audio_default_exec, exec_type, file_type; hal_impl_domain(hal_audio_default, hal_audio)
type hal_audio_default_exec, exec_type, file_type;
init_daemon_domain(hal_audio_default) init_daemon_domain(hal_audio_default)
type hal_bluetooth_default, hal_bluetooth, domain; type hal_bluetooth_default, domain;
type hal_bluetooth_default_exec, exec_type, file_type; hal_impl_domain(hal_bluetooth_default, hal_bluetooth)
type hal_bluetooth_default_exec, exec_type, file_type;
init_daemon_domain(hal_bluetooth_default) init_daemon_domain(hal_bluetooth_default)
# VTS tests need to be able to toggle rfkill # VTS tests need to be able to toggle rfkill
......
type hal_contexthub_default, hal_contexthub, domain; type hal_contexthub_default, domain;
type hal_contexthub_default_exec, exec_type, file_type; hal_impl_domain(hal_contexthub_default, hal_contexthub)
type hal_contexthub_default_exec, exec_type, file_type;
init_daemon_domain(hal_contexthub_default) init_daemon_domain(hal_contexthub_default)
type hal_dumpstate_default, hal_dumpstate, domain; type hal_dumpstate_default, domain;
type hal_dumpstate_default_exec, exec_type, file_type; hal_impl_domain(hal_dumpstate_default, hal_dumpstate)
type hal_dumpstate_default_exec, exec_type, file_type;
init_daemon_domain(hal_dumpstate_default) init_daemon_domain(hal_dumpstate_default)
type hal_fingerprint_default, hal_fingerprint, domain; type hal_fingerprint_default, domain;
hal_impl_domain(hal_fingerprint_default, hal_fingerprint)
type hal_fingerprint_default_exec, exec_type, file_type; type hal_fingerprint_default_exec, exec_type, file_type;
# type_transition must be private policy the domain_trans rules could stay
# public, but conceptually should go with this
init_daemon_domain(hal_fingerprint_default) init_daemon_domain(hal_fingerprint_default)
type hal_gatekeeper_default, hal_gatekeeper, domain; type hal_gatekeeper_default, domain;
type hal_gatekeeper_default_exec, exec_type, file_type; hal_impl_domain(hal_gatekeeper_default, hal_gatekeeper)
type hal_gatekeeper_default_exec, exec_type, file_type;
init_daemon_domain(hal_gatekeeper_default); init_daemon_domain(hal_gatekeeper_default);
type hal_gnss_default, hal_gnss, domain; type hal_gnss_default, domain;
type hal_gnss_default_exec, exec_type, file_type; hal_impl_domain(hal_gnss_default, hal_gnss)
type hal_gnss_default_exec, exec_type, file_type;
init_daemon_domain(hal_gnss_default) init_daemon_domain(hal_gnss_default)
# Read access to system files for HALs in # Read access to system files for HALs in
......
type hal_graphics_allocator_default, hal_graphics_allocator, domain; type hal_graphics_allocator_default, domain;
type hal_graphics_allocator_default_exec, exec_type, file_type; hal_impl_domain(hal_graphics_allocator_default, hal_graphics_allocator)
type hal_graphics_allocator_default_exec, exec_type, file_type;
init_daemon_domain(hal_graphics_allocator_default) init_daemon_domain(hal_graphics_allocator_default)
type hal_graphics_composer_default, hal_graphics_composer, domain; type hal_graphics_composer_default, domain;
type hal_graphics_composer_default_exec, exec_type, file_type; hal_impl_domain(hal_graphics_composer_default, hal_graphics_composer)
type hal_graphics_composer_default_exec, exec_type, file_type;
init_daemon_domain(hal_graphics_composer_default) init_daemon_domain(hal_graphics_composer_default)
# health info abstraction # health info abstraction
type hal_health_default, hal_health, domain; type hal_health_default, domain;
type hal_health_default_exec, exec_type, file_type; hal_impl_domain(hal_health_default, hal_health)
type hal_health_default_exec, exec_type, file_type;
init_daemon_domain(hal_health_default) init_daemon_domain(hal_health_default)
type hal_ir_default, hal_ir, domain; type hal_ir_default, domain;
type hal_ir_default_exec, exec_type, file_type; hal_impl_domain(hal_ir_default, hal_ir)
type hal_ir_default_exec, exec_type, file_type;
init_daemon_domain(hal_ir_default) init_daemon_domain(hal_ir_default)
type hal_light_default, hal_light, domain; type hal_light_default, domain;
type hal_light_default_exec, exec_type, file_type; hal_impl_domain(hal_light_default, hal_light)
type hal_light_default_exec, exec_type, file_type;
init_daemon_domain(hal_light_default) init_daemon_domain(hal_light_default)
type hal_memtrack_default, hal_memtrack, domain; type hal_memtrack_default, domain;
type hal_memtrack_default_exec, exec_type, file_type; hal_impl_domain(hal_memtrack_default, hal_memtrack)
type hal_memtrack_default_exec, exec_type, file_type;
init_daemon_domain(hal_memtrack_default) init_daemon_domain(hal_memtrack_default)
type hal_nfc_default, hal_nfc, domain; type hal_nfc_default, domain;
type hal_nfc_default_exec, exec_type, file_type; hal_impl_domain(hal_nfc_default, hal_nfc)
type hal_nfc_default_exec, exec_type, file_type;
init_daemon_domain(hal_nfc_default) init_daemon_domain(hal_nfc_default)
type hal_power_default, hal_power, domain; type hal_power_default, domain;
type hal_power_default_exec, exec_type, file_type; hal_impl_domain(hal_power_default, hal_power)
type hal_power_default_exec, exec_type, file_type;
init_daemon_domain(hal_power_default) init_daemon_domain(hal_power_default)
type hal_sensors_default, hal_sensors, domain; type hal_sensors_default, domain;
type hal_sensors_default_exec, exec_type, file_type; hal_impl_domain(hal_sensors_default, hal_sensors)
type hal_sensors_default_exec, exec_type, file_type;
init_daemon_domain(hal_sensors_default) init_daemon_domain(hal_sensors_default)
type hal_thermal_default, hal_thermal, domain; type hal_thermal_default, domain;
type hal_thermal_default_exec, exec_type, file_type; hal_impl_domain(hal_thermal_default, hal_thermal)
type hal_thermal_default_exec, exec_type, file_type;
init_daemon_domain(hal_thermal_default) init_daemon_domain(hal_thermal_default)
type hal_vibrator_default, hal_vibrator, domain; type hal_vibrator_default, domain;
type hal_vibrator_default_exec, exec_type, file_type; hal_impl_domain(hal_vibrator_default, hal_vibrator)
type hal_vibrator_default_exec, exec_type, file_type;
init_daemon_domain(hal_vibrator_default) init_daemon_domain(hal_vibrator_default)
type hal_vr_default, hal_vr, domain; type hal_vr_default, domain;
type hal_vr_default_exec, exec_type, file_type; hal_impl_domain(hal_vr_default, hal_vr)
type hal_vr_default_exec, exec_type, file_type;
init_daemon_domain(hal_vr_default) init_daemon_domain(hal_vr_default)
type hal_wifi_default, hal_wifi, domain; type hal_wifi_default, domain;
type hal_wifi_default_exec, exec_type, file_type; hal_impl_domain(hal_wifi_default, hal_wifi)
type hal_wifi_default_exec, exec_type, file_type;
init_daemon_domain(hal_wifi_default) init_daemon_domain(hal_wifi_default)
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