hal_sensors.te 550 B

1234567891011121314
  1. # HwBinder IPC from client to server
  2. binder_call(hal_sensors_client, hal_sensors_server)
  3. hal_attribute_hwservice(hal_sensors, hal_sensors_hwservice)
  4. # Allow sensor hals to access ashmem memory allocated by apps
  5. allow hal_sensors { appdomain -isolated_app }:fd use;
  6. # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
  7. # fd is passed in from framework sensorservice HAL.
  8. allow hal_sensors hal_allocator:fd use;
  9. # allow to run with real-time scheduling policy
  10. allow hal_sensors self:global_capability_class_set sys_nice;