blob: ebe0b0c82a77f1a5a0c0b131f76b9a4ec20ffc47 [file] [log] [blame]
Alex Klyubinf98650e2017-02-21 15:35:16 -08001# 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
Alex Klyubin53656c12017-04-13 19:05:27 -07005add_hwservice(hal_fingerprint_server, hal_fingerprint_hwservice)
6allow hal_fingerprint_client hal_fingerprint_hwservice:hwservice_manager find;
7
Jim Miller54e0e5a2016-12-15 19:46:43 -08008# For memory allocation
9allow hal_fingerprint ion_device:chr_file r_file_perms;
10
Andreas Huber4d6a5e82018-01-22 13:24:10 -080011allow hal_fingerprint fingerprint_vendor_data_file:file { create_file_perms };
12allow hal_fingerprint fingerprint_vendor_data_file:dir rw_dir_perms;
13
Jim Miller54e0e5a2016-12-15 19:46:43 -080014r_dir_file(hal_fingerprint, cgroup)
Jeff Vander Stoep350a6032017-02-10 13:20:52 -080015r_dir_file(hal_fingerprint, sysfs)
Andreas Huber4d6a5e82018-01-22 13:24:10 -080016
17