# For atfwd service type qtelephony, domain; app_domain(qtelephony) add_hwservice(qtelephony, vnd_atcmdfwd_hwservice) allow qtelephony app_api_service:service_manager find; allow qtelephony hal_imsrtp_hwservice:hwservice_manager find; allow qtelephony hal_telephony_service:service_manager find; allow qtelephony radio_service:service_manager find; allow qtelephony sysfs_diag:dir search; allow qtelephony sysfs_timestamp_switch:file r_file_perms; allow qtelephony audioserver_service:service_manager find; allow qtelephony cameraserver_service:service_manager find; allow qtelephony mediaextractor_service:service_manager find; allow qtelephony mediametrics_service:service_manager find; allow qtelephony mediaserver_service:service_manager find; allow qtelephony sysfs_soc:dir search; allow qtelephony sysfs_soc:file r_file_perms; binder_call(qtelephony, hal_imsrtp) binder_call(qtelephony, rild) hal_client_domain(qtelephony, hal_telephony) get_prop(qtelephony, vendor_radio_prop) get_prop(qtelephony, public_vendor_default_prop) get_prop(qtelephony, qcom_ims_prop) userdebug_or_eng(` allow qtelephony diag_device:chr_file rw_file_perms; ') dontaudit qtelephony property_socket:sock_file write;