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