1# HwBinder IPC from client to server, and callbacks 2binder_call(hal_fingerprint_client, hal_fingerprint_server) 3binder_call(hal_fingerprint_server, hal_fingerprint_client) 4 5hal_attribute_hwservice(hal_fingerprint, hal_fingerprint_hwservice) 6hal_attribute_service(hal_fingerprint, hal_fingerprint_service) 7 8binder_call(hal_fingerprint_server, servicemanager) 9 10# For memory allocation 11allow hal_fingerprint ion_device:chr_file r_file_perms; 12 13allow hal_fingerprint fingerprint_vendor_data_file:file { create_file_perms }; 14allow hal_fingerprint fingerprint_vendor_data_file:dir rw_dir_perms; 15 16r_dir_file(hal_fingerprint, cgroup) 17r_dir_file(hal_fingerprint, cgroup_v2) 18r_dir_file(hal_fingerprint, sysfs) 19 20 21