2020-02-11 15:43:05 +01:00
|
|
|
typeattribute radio coredomain, mlstrustedsubject;
|
2017-03-23 22:27:32 +01:00
|
|
|
|
2016-12-10 05:14:31 +01:00
|
|
|
app_domain(radio)
|
2016-11-08 00:11:39 +01:00
|
|
|
|
|
|
|
read_runtime_log_tags(radio)
|
2018-06-25 16:36:51 +02:00
|
|
|
|
2020-03-04 09:20:35 +01:00
|
|
|
# Property service
|
2020-08-03 07:29:47 +02:00
|
|
|
set_prop(radio, radio_control_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
set_prop(radio, radio_prop)
|
|
|
|
set_prop(radio, net_radio_prop)
|
2020-05-14 14:47:43 +02:00
|
|
|
set_prop(radio, telephony_status_prop)
|
2020-03-04 09:20:35 +01:00
|
|
|
|
|
|
|
# ctl interface
|
|
|
|
set_prop(radio, ctl_rildaemon_prop)
|
|
|
|
|
2018-06-25 16:36:51 +02:00
|
|
|
# Telephony code contains time / time zone detection logic so it reads the associated properties.
|
|
|
|
get_prop(radio, time_prop)
|
2019-08-01 23:05:05 +02:00
|
|
|
|
2019-12-06 22:18:21 +01:00
|
|
|
# allow telephony to access platform compat to log permission denials
|
|
|
|
allow radio platform_compat_service:service_manager find;
|
|
|
|
|
2019-08-01 23:05:05 +02:00
|
|
|
allow radio uce_service:service_manager find;
|
2019-10-15 22:13:56 +02:00
|
|
|
|
|
|
|
# Manage /data/misc/emergencynumberdb
|
|
|
|
allow radio emergency_data_file:dir r_dir_perms;
|
|
|
|
allow radio emergency_data_file:file r_file_perms;
|
2020-01-28 22:08:28 +01:00
|
|
|
|
|
|
|
# allow telephony to access related cache properties
|
|
|
|
set_prop(radio, binder_cache_telephony_server_prop);
|
|
|
|
neverallow { domain -radio -init }
|
|
|
|
binder_cache_telephony_server_prop:property_service set;
|
2020-01-31 19:02:36 +01:00
|
|
|
|
|
|
|
# allow sending pulled atoms to statsd
|
|
|
|
binder_call(radio, statsd)
|
|
|
|
|