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