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
13allow hal_camera_default self:vsock_socket { accept bind create getopt listen read write };
14
15set_prop(hal_camera_default, vendor_camera_prop)
16
17# For observing apex file changes
18allow hal_camera_default apex_info_file:file r_file_perms;
19
20# Allow vendor files to define their own config.
21set_prop(vendor_init, vendor_camera_config)
22get_prop(domain, vendor_camera_config)
23