huangcm
2025-09-01 53d8e046ac1bf2ebe94f671983e3d3be059df91a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# HwBinder IPC from client to server, and callbacks
binder_call(hal_fingerprint_client, hal_fingerprint_server)
binder_call(hal_fingerprint_server, hal_fingerprint_client)
 
hal_attribute_hwservice(hal_fingerprint, hal_fingerprint_hwservice)
 
# For memory allocation
allow hal_fingerprint ion_device:chr_file r_file_perms;
 
allow hal_fingerprint fingerprint_vendor_data_file:file { create_file_perms };
allow hal_fingerprint fingerprint_vendor_data_file:dir rw_dir_perms;
 
r_dir_file(hal_fingerprint, cgroup)
r_dir_file(hal_fingerprint, sysfs)