vndbinder_use(hal_camera_default) | |
hal_client_domain(hal_camera_default, hal_graphics_allocator) | |
# For camera hal to talk with sensor service | |
binder_call(hal_camera_default, sensor_service_server) | |
binder_call(sensor_service_server, hal_camera_default) | |
# Allow the Camera HAL to communicate with the thermal HAL. | |
hal_client_domain(hal_camera_default, hal_thermal) | |
gpu_access(hal_camera_default) | |
# Vsocket camera | |
allow hal_camera_default self:vsock_socket { accept bind create getopt listen read write }; |