1typeattribute radio system_writes_vendor_properties_violators;
2
3get_prop(radio, ims_prop)
4get_prop(radio, vendor_radio_prop)
5
6allow radio qmuxd_socket:dir search;
7allow radio qmuxd_socket:sock_file write;
8
9allow radio vendor_file:lnk_file r_file_perms;
10allow radio vendor_framework_file:file r_file_perms;
11allow radio vendor_framework_file:dir search;
12
13hwbinder_use(radio)
14allow radio vnd_ims_radio_hwservice:hwservice_manager find;
15allow radio vnd_qcrilhook_hwservice:hwservice_manager find;
16allow radio hal_imsrtp_hwservice:hwservice_manager find;
17
18add_service(radio, radio_service)
19allow radio {
20  mediaextractor_service
21}:service_manager find;
22
23r_dir_file(radio, sysfs_msm_subsys)
24
25# IMS needs permission to use avtimer
26allow radio avtimer_device:chr_file r_file_perms;
27
28binder_call(radio, hal_imsrtp)
29