2021-10-18 08:04:43 -04:00
|
|
|
type camera_persist_file, vendor_persist_type, file_type;
|
2023-03-24 09:45:31 -04:00
|
|
|
type vendor_hal_cameraperf_hwservice, hwservice_manager_type, protected_hwservice;
|
|
|
|
type vendor_hal_camerapostproc_xiaomi_hwservice, hwservice_manager_type;
|
2020-08-19 07:25:44 -04:00
|
|
|
vendor_internal_prop(vendor_camera_sensor_prop)
|
2021-10-18 08:02:18 -04:00
|
|
|
|
|
|
|
set_prop(hal_camera_default, vendor_camera_sensor_prop)
|
2021-10-18 08:04:43 -04:00
|
|
|
r_dir_file(hal_camera_default, camera_persist_file)
|
2024-01-27 03:32:36 -05:00
|
|
|
allow hal_camera_default mnt_vendor_file:dir search;
|
2023-03-24 09:45:31 -04:00
|
|
|
|
|
|
|
hal_server_domain(hal_camera_default, vendor_hal_cameraperf)
|
|
|
|
hal_server_domain(hal_camera_default, vendor_hal_camerapostproc_xiaomi)
|
|
|
|
add_hwservice(hal_camera_server, vendor_hal_cameraperf_hwservice)
|
|
|
|
add_hwservice(hal_camera_server, vendor_hal_camerapostproc_xiaomi_hwservice)
|
|
|
|
allow hal_camera_client vendor_hal_cameraperf_hwservice:hwservice_manager find;
|
|
|
|
allow hal_camera_client vendor_hal_camerapostproc_xiaomi_hwservice:hwservice_manager find;
|