blob: 9d7cbe91396652ea4943147203937c1071501d6a [file] [log] [blame]
Alex Klyubin41518be2017-03-13 15:13:52 -07001# HwBinder IPC from client to server
2binder_call(hal_sensors_client, hal_sensors_server)
3
Alex Klyubin53656c12017-04-13 19:05:27 -07004add_hwservice(hal_sensors_server, hal_sensors_hwservice)
5allow hal_sensors_client hal_sensors_hwservice:hwservice_manager find;
6
Alex Klyubin41518be2017-03-13 15:13:52 -07007# Allow sensor hals to access ashmem memory allocated by apps
8allow hal_sensors { appdomain -isolated_app }:fd use;
Yifan Hongd131f942017-04-04 13:44:46 -07009
10# Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
11# fd is passed in from framework sensorservice HAL.
12allow hal_sensors hal_allocator:fd use;
Martijn Coenen0d1f7d22017-05-09 09:53:46 -070013
14# allow to run with real-time scheduling policy
Benjamin Gordon9b2e0cb2017-11-09 15:51:26 -070015allow hal_sensors self:global_capability_class_set sys_nice;