• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1get_prop(radio, ims_prop)
2typeattribute radio system_writes_vendor_properties_violators;
3
4allow radio qmuxd_socket:dir search;
5allow radio qmuxd_socket:sock_file write;
6
7allow radio vendor_file:lnk_file r_file_perms;
8allow radio vendor_framework_file:file r_file_perms;
9allow radio vendor_framework_file:dir search;
10
11hwbinder_use(radio)
12allow radio vnd_ims_radio_hwservice:hwservice_manager find;
13allow radio vnd_qcrilhook_hwservice:hwservice_manager find;
14allow radio hal_imsrtp_hwservice:hwservice_manager find;
15
16allow radio {
17  mediaextractor_service
18  mediacodec_service
19}:service_manager find;
20
21r_dir_file(radio, sysfs_msm_subsys)
22
23# IMS needs permission to use avtimer
24allow radio avtimer_device:chr_file r_file_perms;
25
26binder_call(radio, hal_imsrtp)
27
28userdebug_or_eng(`
29  allow radio diag_device:chr_file rw_file_perms;
30  r_dir_file(radio, sysfs_diag)
31  allow radio sysfs_timestamp_switch:file r_file_perms;
32')
33dontaudit radio diag_device:chr_file rw_file_perms;
34dontaudit radio sysfs_diag:dir search;
35
36# read /proc/cmdline
37allow radio proc_cmdline:file r_file_perms;
38
39get_prop(radio, vendor_radio_prop)
40