1#IPC between pixel and vendor HAL
2binder_call(hal_gnss_pixel, hal_gnss_default)
3
4#Read modem state
5allow hal_gnss_pixel sysfs_modem_state:file r_file_perms;
6
7#Toggle coredump node
8allow hal_gnss_pixel sysfs_gps:file rw_file_perms;
9
10# Allow access to CHRE multiclient HAL.
11get_prop(hal_gnss_pixel, vendor_chre_hal_prop)
12
13# Allow binder to CHRE.
14binder_call(hal_gnss_pixel, hal_contexthub_default)
15allow hal_gnss_pixel hal_contexthub_service:service_manager find;
16
17# Allow connect to gnss service
18allow hal_gnss_pixel vendor_gps_file:dir create_dir_perms;
19allow hal_gnss_pixel vendor_gps_file:fifo_file create_file_perms;
20
21# Allow access ssrdump information
22allow hal_gnss_pixel sscoredump_vendor_data_crashinfo_file:file r_file_perms;
23allow hal_gnss_pixel sscoredump_vendor_data_crashinfo_file:dir r_dir_perms;
24