1type adpl, domain;
2type adpl_exec, exec_type, vendor_file_type, file_type;
3
4userdebug_or_eng(`
5  init_daemon_domain(adpl)
6
7  allow adpl { rmnet_device ipa_dev }:chr_file rw_file_perms;
8  allow adpl self:qipcrtr_socket create_socket_perms_no_ioctl;
9
10  r_dir_file(adpl, sysfs_diag);
11  allow adpl diag_device:chr_file rw_file_perms;
12
13  #Allow adpl to create adpl socket
14  allow adpl dataadpl_socket:sock_file rw_file_perms;
15
16  allow adpl sysfs_timestamp_switch:file r_file_perms;
17  allow adpl sysfs_msm_subsys:dir r_dir_perms;
18  r_dir_file(adpl, sysfs_ssr)
19  r_dir_file(adpl, sysfs_soc)
20')