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