2020-03-03 18:28:52 -05:00
|
|
|
type hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
|
2024-05-15 10:01:23 -04:00
|
|
|
type hal_swfingerprint_hwservice, hwservice_manager_type;
|
2020-03-03 18:28:52 -05:00
|
|
|
type fingerprint_device, dev_type;
|
|
|
|
type fingerprint_data_file, data_file_type, file_type;
|
2021-09-24 09:08:16 -04:00
|
|
|
type vendor_sysfs_fod, sysfs_type, fs_type;
|
2024-04-25 19:02:18 -04:00
|
|
|
vendor_public_prop(vendor_fp_prop)
|
2020-03-03 18:28:52 -05:00
|
|
|
|
2024-06-02 08:49:02 -04:00
|
|
|
vndbinder_use(hal_fingerprint_default)
|
|
|
|
|
2020-03-03 18:28:52 -05:00
|
|
|
allow hal_fingerprint_default fingerprint_device:chr_file rw_file_perms;
|
|
|
|
allow hal_fingerprint_default fingerprint_data_file:dir create_dir_perms;
|
|
|
|
allow hal_fingerprint_default fingerprint_data_file:file create_file_perms;
|
|
|
|
allow hal_fingerprint_default input_device:chr_file rw_file_perms;
|
2024-05-15 19:45:52 -04:00
|
|
|
allow hal_fingerprint_default self:netlink_kobject_uevent_socket { bind create read setopt };
|
2020-03-03 18:28:52 -05:00
|
|
|
allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
|
|
|
|
allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
|
2021-10-12 18:26:12 -04:00
|
|
|
allow hal_fingerprint_default touchfeature_device:chr_file rw_file_perms;
|
2020-03-03 18:28:52 -05:00
|
|
|
allow hal_fingerprint_default uhid_device:chr_file rw_file_perms;
|
2021-10-12 18:26:12 -04:00
|
|
|
allow hal_fingerprint_default vendor_qdsp_device:chr_file r_file_perms;
|
2024-09-01 17:43:33 -04:00
|
|
|
allow hal_fingerprint_default vendor_sysfs_fingerprint:file rw_file_perms;
|
2021-09-24 09:08:16 -04:00
|
|
|
allow hal_fingerprint_default vendor_sysfs_fod:file rw_file_perms;
|
2021-10-12 18:26:12 -04:00
|
|
|
allow hal_fingerprint_default vendor_sysfs_graphics:file rw_file_perms;
|
2020-10-12 06:52:17 -04:00
|
|
|
allow hal_fingerprint_default vendor_xdsp_device:chr_file r_file_perms;
|
2020-03-03 18:28:52 -05:00
|
|
|
|
|
|
|
r_dir_file(hal_fingerprint_default, firmware_file)
|
|
|
|
|
|
|
|
get_prop(hal_fingerprint_default, vendor_adsprpc_prop)
|
|
|
|
set_prop(hal_fingerprint_default, vendor_fp_prop)
|
2020-10-12 06:52:17 -04:00
|
|
|
hal_client_domain(hal_fingerprint_default, vendor_hal_perf)
|
2020-03-03 18:28:52 -05:00
|
|
|
|
|
|
|
add_hwservice(hal_fingerprint_default, hal_fingerprint_hwservice_xiaomi)
|
2024-05-15 10:01:23 -04:00
|
|
|
add_hwservice(hal_fingerprint_default, hal_swfingerprint_hwservice)
|