# Qualcomm telephony apps, such as AtFwd and FastDormancy
type qtelephony, domain;

app_domain(qtelephony)

hwbinder_use(qtelephony)
add_hwservice(qtelephony, vnd_atcmdfwd_hwservice)

allow qtelephony { app_api_service }:service_manager find;

# Read and write /data/data subdirectory.
allow qtelephony system_app_data_file:dir create_dir_perms;
allow qtelephony system_app_data_file:{ file lnk_file } create_file_perms;

set_prop(qtelephony, atfwd_start_prop)

allow qtelephony cgroup:file w_file_perms;