blob: 068c93b8c351b9d37813e00d8713e2d7e6c5a644 [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
15allow hal_sensors self:capability sys_nice;