1vndbinder_use(hal_camera_default) 2 3hal_client_domain(hal_camera_default, hal_graphics_allocator) 4 5# For camera hal to talk with sensor service 6binder_call(hal_camera_default, sensor_service_server) 7binder_call(sensor_service_server, hal_camera_default) 8 9# Allow the Camera HAL to communicate with the thermal HAL. 10hal_client_domain(hal_camera_default, hal_thermal) 11 12# Vsocket camera 13starting_at_board_api(202504, ` 14typeattribute hal_camera_default unconstrained_vsock_violators; 15') 16allow hal_camera_default self:vsock_socket { accept bind create getopt listen read write }; 17 18set_prop(hal_camera_default, vendor_camera_prop) 19 20# For observing apex file changes 21allow hal_camera_default apex_info_file:file r_file_perms; 22 23# Allow vendor files to define their own config. 24set_prop(vendor_init, vendor_camera_config) 25get_prop(domain, vendor_camera_config) 26