1type hal_radioext_default, domain;
2type hal_radioext_default_exec, vendor_file_type, exec_type, file_type;
3init_daemon_domain(hal_radioext_default)
4
5hwbinder_use(hal_radioext_default)
6get_prop(hal_radioext_default, hwservicemanager_prop)
7add_hwservice(hal_radioext_default, hal_radioext_hwservice)
8
9binder_call(hal_radioext_default, servicemanager)
10binder_call(hal_radioext_default, grilservice_app)
11binder_call(hal_radioext_default, hal_bluetooth_btlinux)
12
13# RW /dev/oem_ipc0
14allow hal_radioext_default radio_device:chr_file rw_file_perms;
15
16# RW MIPI Freq files
17allow hal_radioext_default radio_vendor_data_file:dir create_dir_perms;
18allow hal_radioext_default radio_vendor_data_file:file create_file_perms;
19
20# Bluetooth
21allow hal_radioext_default hal_bluetooth_coexistence_hwservice:hwservice_manager find;
22allow hal_radioext_default hal_bluetooth_coexistence_service:service_manager find;
23
24# Twoshay
25binder_use(hal_radioext_default)
26allow hal_radioext_default gril_antenna_tuning_service:service_manager find;
27binder_call(hal_radioext_default, gril_antenna_tuning_service)
28binder_call(hal_radioext_default, twoshay)
29