Zachary Iqbal | 893272d | 2018-05-24 00:59:40 -0700 | [diff] [blame] | 1 | # Allow HwBinder IPC from client to server, and vice versa for callbacks. |
| 2 | binder_call(hal_face_client, hal_face_server) |
| 3 | binder_call(hal_face_server, hal_face_client) |
| 4 | |
| 5 | hal_attribute_hwservice(hal_face, hal_face_hwservice) |
Ilya Matyukhin | 9bd1642 | 2020-09-25 11:38:42 -0700 | [diff] [blame] | 6 | hal_attribute_service(hal_face, hal_face_service) |
| 7 | |
Jeff Pu | 3778cd4 | 2023-09-08 16:02:05 -0400 | [diff] [blame] | 8 | binder_use(hal_face_server) |
Zachary Iqbal | 893272d | 2018-05-24 00:59:40 -0700 | [diff] [blame] | 9 | |
| 10 | # Allow access to the ion memory allocation device. |
| 11 | allow hal_face ion_device:chr_file r_file_perms; |
| 12 | |
| 13 | # Allow read/write access to the face template directory. |
Jeff Pu | 09a026c | 2024-09-17 16:47:51 +0000 | [diff] [blame^] | 14 | allow {hal_face -coredomain} face_vendor_data_file:file create_file_perms; |
| 15 | allow {hal_face -coredomain} face_vendor_data_file:dir rw_dir_perms; |