xref: /aosp_15_r20/system/sepolicy/prebuilts/api/30.0/private/radio.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Workertypeattribute radio coredomain;
2*e4a36f41SAndroid Build Coastguard Worker
3*e4a36f41SAndroid Build Coastguard Workerapp_domain(radio)
4*e4a36f41SAndroid Build Coastguard Worker
5*e4a36f41SAndroid Build Coastguard Workerread_runtime_log_tags(radio)
6*e4a36f41SAndroid Build Coastguard Worker
7*e4a36f41SAndroid Build Coastguard Worker# Telephony code contains time / time zone detection logic so it reads the associated properties.
8*e4a36f41SAndroid Build Coastguard Workerget_prop(radio, time_prop)
9*e4a36f41SAndroid Build Coastguard Worker
10*e4a36f41SAndroid Build Coastguard Worker# allow telephony to access platform compat to log permission denials
11*e4a36f41SAndroid Build Coastguard Workerallow radio platform_compat_service:service_manager find;
12*e4a36f41SAndroid Build Coastguard Worker
13*e4a36f41SAndroid Build Coastguard Workerallow radio uce_service:service_manager find;
14*e4a36f41SAndroid Build Coastguard Worker
15*e4a36f41SAndroid Build Coastguard Worker# Manage /data/misc/emergencynumberdb
16*e4a36f41SAndroid Build Coastguard Workerallow radio emergency_data_file:dir r_dir_perms;
17*e4a36f41SAndroid Build Coastguard Workerallow radio emergency_data_file:file r_file_perms;
18*e4a36f41SAndroid Build Coastguard Worker
19*e4a36f41SAndroid Build Coastguard Worker# allow sending pulled atoms to statsd
20*e4a36f41SAndroid Build Coastguard Workerbinder_call(radio, statsd)
21*e4a36f41SAndroid Build Coastguard Worker
22*e4a36f41SAndroid Build Coastguard Worker# allow telephony to access related cache properties
23*e4a36f41SAndroid Build Coastguard Workerset_prop(radio, binder_cache_telephony_server_prop);
24*e4a36f41SAndroid Build Coastguard Workerneverallow { domain -radio -init }
25*e4a36f41SAndroid Build Coastguard Worker    binder_cache_telephony_server_prop:property_service set;
26