Skip to content
Snippets Groups Projects
Commit 9c1be510 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "haldomain: add hwbinder_use" am: 51c00faf am: 44b18d64 am: 148a416f

am: d3408e1a

Change-Id: I1f01696a9efbe6ab430e43a70e179aa5925dd079
parents 3e18e231 d3408e1a
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 49 deletions
###
### Rules for all HAL implementations
###
hwbinder_use(haldomain)
......@@ -3,6 +3,3 @@ type hal_allocator, domain;
hal_impl_domain(hal_allocator)
type hal_allocator_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_allocator)
hwbinder_use(hal_audio)
binder_use(hal_audio)
binder_call(hal_audio, audioserver)
binder_call(hal_audio, system_server)
......
# hwbinder access
hwbinder_use(hal_bluetooth)
r_dir_file(hal_bluetooth, system_file)
# call into the Bluetooth process (callbacks)
......
......@@ -4,8 +4,5 @@ hal_impl_domain(hal_boot)
type hal_boot_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_boot)
# call into system_server process (callbacks)
binder_call(hal_boot, system_server)
# hwbinder access
hwbinder_use(hal_contexthub)
# call into system_server process (callbacks)
binder_call(hal_contexthub, system_server)
# hwbinder access
hwbinder_use(hal_dumpstate)
# call into dumpstate process (callbacks)
binder_call(hal_dumpstate, dumpstate)
......
hwbinder_use(hal_fingerprint)
# Scan through /system/lib64/hw looking for installed HALs
allow hal_fingerprint system_file:dir r_dir_perms;
......
# hwbinder access
hwbinder_use(hal_gatekeeper)
# call into gatekeeperd process (callbacks)
binder_call(hal_gatekeeper, gatekeeperd)
......
# hwbinder access
hwbinder_use(hal_gnss)
binder_call(hal_gnss, system_server)
# hwbinder access
hwbinder_use(hal_graphics_allocator)
# GPU device access
allow hal_graphics_allocator gpu_device:chr_file rw_file_perms;
allow hal_graphics_allocator ion_device:chr_file r_file_perms;
# HwBinder access
hwbinder_use(hal_graphics_composer)
# IComposerCallback
binder_call(hal_graphics_composer, surfaceflinger)
......
# hwbinder access
hwbinder_use(hal_health)
# call into healthd for callbacks
binder_call(hal_health, healthd)
......
# hwbinder access
hwbinder_use(hal_ir)
# call into system_server process (callbacks)
binder_call(hal_ir, system_server)
# hwbinder access
hwbinder_use(hal_light)
# call into system_server process (callbacks)
binder_call(hal_light, system_server)
# hwbinder access
hwbinder_use(hal_memtrack);
# hwbinder access
hwbinder_use(hal_nfc)
# call into NFC process (callbacks)
binder_call(hal_nfc, nfc)
......
# hwbinder access
hwbinder_use(hal_power);
# hwbinder access
hwbinder_use(hal_sensors)
# Perform HwBinder IPC.
hwbinder_use(hal_telephony)
binder_call(hal_telephony, radio)
binder_call(hal_telephony, bluetooth)
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