1type logger_app, domain;
2
3userdebug_or_eng(`
4  app_domain(logger_app)
5  net_domain(logger_app)
6
7  allow logger_app app_api_service:service_manager find;
8  allow logger_app surfaceflinger_service:service_manager find;
9
10  allow logger_app diag_device:chr_file rw_file_perms;
11  allow logger_app qlogd_exec:file rx_file_perms;
12
13  allow logger_app radio_vendor_data_file:file create_file_perms;
14  allow logger_app radio_vendor_data_file:dir create_dir_perms;
15
16  allow logger_app cnss_vendor_data_file:dir create_dir_perms;
17  allow logger_app cnss_vendor_data_file:file create_file_perms;
18
19  allow logger_app tcpdump_vendor_data_file:dir create_dir_perms;
20  allow logger_app tcpdump_vendor_data_file:file create_file_perms;
21
22  set_prop(logger_app, vendor_cnss_diag_prop)
23  set_prop(logger_app, vendor_modem_diag_prop)
24  set_prop(logger_app, vendor_bluetooth_log_prop)
25  set_prop(logger_app, vendor_tcpdump_log_prop)
26  set_prop(logger_app, vendor_wifi_sniffer_prop)
27
28  get_prop(logger_app, vendor_usb_config_prop)
29')
30