1# HwBinder IPC from client to server
2binder_call(hal_sensors_client, hal_sensors_server)
3
4add_hwservice(hal_sensors_server, hal_sensors_hwservice)
5allow hal_sensors_client hal_sensors_hwservice:hwservice_manager find;
6
7# Allow sensor hals to access ashmem memory allocated by apps
8allow hal_sensors { appdomain -isolated_app }:fd use;
9
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;
13
14# allow to run with real-time scheduling policy
15allow hal_sensors self:capability sys_nice;
16