diff --git a/generic/vendor/common/hal_neuralnetworks.te b/generic/vendor/common/hal_neuralnetworks.te index b010ba61..ab6f7444 100644 --- a/generic/vendor/common/hal_neuralnetworks.te +++ b/generic/vendor/common/hal_neuralnetworks.te @@ -28,6 +28,7 @@ type vendor_hal_neuralnetworks_default, domain; hal_server_domain(vendor_hal_neuralnetworks_default, hal_neuralnetworks) hal_client_domain(vendor_hal_neuralnetworks_default, hal_graphics_allocator) +hal_client_domain(vendor_hal_neuralnetworks_default, vendor_hal_perf) # allow access to hal_allocator hal_client_domain(vendor_hal_neuralnetworks_default, hal_allocator) @@ -43,9 +44,6 @@ allow vendor_hal_neuralnetworks_default ion_device:chr_file r_file_perms; # Allow access to dmabuf allow vendor_hal_neuralnetworks_default dmabuf_system_heap_device:chr_file r_file_perms; -#Allow access to perfhal -allow vendor_hal_neuralnetworks_default vendor_hal_perf_hwservice:hwservice_manager find; - allow vendor_hal_neuralnetworks_default app_data_file:file { read getattr map }; allow vendor_hal_neuralnetworks_default shell_data_file:file { read getattr map }; allow vendor_hal_neuralnetworks_default vendor_hal_neuralnetworks_data_file:dir create_dir_perms;