blob: 0bc9ebdc866488e2a19e051fa5242e56d1f5b3ac [file] [log] [blame]
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)
# Vsocket camera
starting_at_board_api(202504, `
typeattribute hal_camera_default unconstrained_vsock_violators;
')
allow hal_camera_default self:vsock_socket { accept bind create getopt listen read write };
set_prop(hal_camera_default, vendor_camera_prop)
# For observing apex file changes
allow hal_camera_default apex_info_file:file r_file_perms;
# Allow vendor files to define their own config.
set_prop(vendor_init, vendor_camera_config)
get_prop(domain, vendor_camera_config)