2016-12-22 12:55:02 -08:00
|
|
|
type hal_camera_default, domain;
|
2017-02-16 16:08:22 -08:00
|
|
|
hal_server_domain(hal_camera_default, hal_camera)
|
2016-12-22 12:55:02 -08:00
|
|
|
|
2017-04-10 13:03:28 -07:00
|
|
|
type hal_camera_default_exec, exec_type, vendor_file_type, file_type;
|
2016-12-22 12:55:02 -08:00
|
|
|
init_daemon_domain(hal_camera_default)
|
2017-04-13 19:05:27 -07:00
|
|
|
|
2022-12-14 15:52:15 -08:00
|
|
|
# HIDL sensorservice
|
2017-04-13 19:05:27 -07:00
|
|
|
allow hal_camera_default fwk_sensor_hwservice:hwservice_manager find;
|
2022-12-14 15:52:15 -08:00
|
|
|
# AIDL sensorservice
|
|
|
|
allow hal_camera_default fwk_sensor_service:service_manager find;
|
2018-02-14 14:32:38 -08:00
|
|
|
|
2022-12-09 10:23:37 -08:00
|
|
|
get_prop(hal_camera_default, device_config_camera_native_prop);
|
|
|
|
|
2023-02-08 20:37:29 -08:00
|
|
|
# Allow reading graphics properties, specifically for EGL blobcache mode
|
|
|
|
get_prop(hal_camera_default, graphics_config_prop);
|
2023-05-03 10:12:39 -07:00
|
|
|
get_prop(hal_camera_default, graphics_config_writable_prop);
|
2023-02-08 20:37:29 -08:00
|
|
|
|
2018-02-14 14:32:38 -08:00
|
|
|
# For collecting bugreports.
|
|
|
|
allow hal_camera_default dumpstate:fd use;
|
|
|
|
allow hal_camera_default dumpstate:fifo_file write;
|
2022-02-24 10:32:16 -08:00
|
|
|
|
|
|
|
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
|
|
|
allow hal_camera_default gpu_device:dir r_dir_perms;
|