blob: 6ed729216076ded22da57b0c48b7cffe71cbef28 [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 Moreland8fc79812018-05-30 16:43:17 -07004hal_attribute_hwservice_client(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;