summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/qtelephony.te
blob: a0650401c84e346bd0e0a719e5b77fcff46ffe6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# For atfwd service
type qtelephony, domain;
app_domain(qtelephony)

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)
hal_client_domain(qtelephony, hal_telephony)

get_prop(qtelephony, vendor_radio_prop)
get_prop(qtelephony, vendor_telephony_vtcam_prop)
set_prop(qtelephony, vendor_qcom_ims_prop)

userdebug_or_eng(`
    allow qtelephony diag_device:chr_file rw_file_perms;
')

# b/265255811#comment26 Ignore access AIDL as we freezed target for HIDL
dontaudit qtelephony default_android_service:service_manager { find };