1allow hal_camera_default input_device:dir r_dir_perms;
2
3allow hal_camera_default sysfs_laser:file w_file_perms;
4vndbinder_use(hal_camera_default);
5allow hal_camera_default qdisplay_service:service_manager { find };
6
7hal_client_domain(hal_camera_default, hal_graphics_allocator)
8hal_client_domain(hal_camera_default, hal_configstore)
9
10binder_call(hal_camera_default, hal_graphics_composer)
11binder_call(hal_camera_default, system_server)
12
13# For interfacing with PowerHAL and ThermalHAL
14hal_client_domain(hal_camera_default, hal_power)
15hal_client_domain(hal_camera_default, hal_thermal)
16
17# For camera team debugging
18userdebug_or_eng(`
19  allow hal_camera_default camera_vendor_data_file:dir create_dir_perms;
20  allow hal_camera_default camera_vendor_data_file:file create_file_perms;
21')
22
23get_prop(hal_camera_default, vendor_radio_prop);