2016-12-22 21:55:02 +01:00
|
|
|
type hal_camera_default, domain;
|
2017-02-17 01:08:22 +01:00
|
|
|
hal_server_domain(hal_camera_default, hal_camera)
|
2016-12-22 21:55:02 +01:00
|
|
|
|
2017-04-10 22:03:28 +02:00
|
|
|
type hal_camera_default_exec, exec_type, vendor_file_type, file_type;
|
2016-12-22 21:55:02 +01:00
|
|
|
init_daemon_domain(hal_camera_default)
|
2017-04-14 04:05:27 +02:00
|
|
|
|
2022-12-15 00:52:15 +01:00
|
|
|
# HIDL sensorservice
|
2017-04-14 04:05:27 +02:00
|
|
|
allow hal_camera_default fwk_sensor_hwservice:hwservice_manager find;
|
2022-12-15 00:52:15 +01:00
|
|
|
# AIDL sensorservice
|
|
|
|
allow hal_camera_default fwk_sensor_service:service_manager find;
|
2018-02-14 23:32:38 +01:00
|
|
|
|
2022-12-09 19:23:37 +01:00
|
|
|
get_prop(hal_camera_default, device_config_camera_native_prop);
|
|
|
|
|
2018-02-14 23:32:38 +01:00
|
|
|
# For collecting bugreports.
|
|
|
|
allow hal_camera_default dumpstate:fd use;
|
|
|
|
allow hal_camera_default dumpstate:fifo_file write;
|
2022-02-24 19:32:16 +01:00
|
|
|
|
|
|
|
allow hal_camera_default gpu_device:chr_file rw_file_perms;
|
|
|
|
allow hal_camera_default gpu_device:dir r_dir_perms;
|