Alex Klyubin | f98650e | 2017-02-21 15:35:16 -0800 | [diff] [blame] | 1 | # HwBinder IPC from client to server, and callbacks |
| 2 | binder_call(hal_fingerprint_client, hal_fingerprint_server) |
| 3 | binder_call(hal_fingerprint_server, hal_fingerprint_client) |
| 4 | |
Steven Moreland | 9234e00 | 2018-06-06 09:30:18 -0700 | [diff] [blame] | 5 | hal_attribute_hwservice(hal_fingerprint, hal_fingerprint_hwservice) |
Steven Moreland | 82f7900 | 2020-09-10 22:57:51 +0000 | [diff] [blame^] | 6 | hal_attribute_service(hal_fingerprint, hal_fingerprint_service) |
Alex Klyubin | 53656c1 | 2017-04-13 19:05:27 -0700 | [diff] [blame] | 7 | |
Ilya Matyukhin | c71c299 | 2020-09-02 13:32:05 -0700 | [diff] [blame] | 8 | binder_call(hal_fingerprint_server, servicemanager) |
| 9 | |
Jim Miller | 54e0e5a | 2016-12-15 19:46:43 -0800 | [diff] [blame] | 10 | # For memory allocation |
| 11 | allow hal_fingerprint ion_device:chr_file r_file_perms; |
| 12 | |
Nick Kralevich | 83f25e2 | 2018-11-19 18:42:11 +0000 | [diff] [blame] | 13 | allow hal_fingerprint fingerprint_vendor_data_file:file { create_file_perms }; |
| 14 | allow hal_fingerprint fingerprint_vendor_data_file:dir rw_dir_perms; |
Andreas Huber | 4d6a5e8 | 2018-01-22 13:24:10 -0800 | [diff] [blame] | 15 | |
Jim Miller | 54e0e5a | 2016-12-15 19:46:43 -0800 | [diff] [blame] | 16 | r_dir_file(hal_fingerprint, cgroup) |
Jeff Vander Stoep | 350a603 | 2017-02-10 13:20:52 -0800 | [diff] [blame] | 17 | r_dir_file(hal_fingerprint, sysfs) |
Andreas Huber | 4d6a5e8 | 2018-01-22 13:24:10 -0800 | [diff] [blame] | 18 | |
| 19 | |