blob: 06e76f1e17e171b969f97e94461944d6c1d09892 [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
Steven Moreland9234e002018-06-06 09:30:18 -07004hal_attribute_hwservice(hal_sensors, hal_sensors_hwservice)
Alex Klyubin53656c12017-04-13 19:05:27 -07005
Alex Klyubin41518be2017-03-13 15:13:52 -07006# Allow sensor hals to access ashmem memory allocated by apps
7allow hal_sensors { appdomain -isolated_app }:fd use;
Yifan Hongd131f942017-04-04 13:44:46 -07008
9# Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
10# fd is passed in from framework sensorservice HAL.
11allow hal_sensors hal_allocator:fd use;
Martijn Coenen0d1f7d22017-05-09 09:53:46 -070012
13# allow to run with real-time scheduling policy
Benjamin Gordon9b2e0cb2017-11-09 15:51:26 -070014allow hal_sensors self:global_capability_class_set sys_nice;