Home | History | Annotate | Download | only in common
      1 # ModemDiagnosticSystem app
      2 type modem_diagnostic_app, domain;
      3 
      4 app_domain(modem_diagnostic_app)
      5 net_domain(modem_diagnostic_app)
      6 
      7 allow modem_diagnostic_app app_api_service:service_manager find;
      8 allow modem_diagnostic_app surfaceflinger_service:service_manager find;
      9 allow modem_diagnostic_app radio_service:service_manager find;
     10 
     11 userdebug_or_eng(`
     12   allow modem_diagnostic_app diag_device:chr_file rw_file_perms;
     13 
     14   allow modem_diagnostic_app sysfs_esim:file r_file_perms;
     15 
     16   typeattribute modem_diagnostic_app mlstrustedsubject;
     17   unix_socket_connect(modem_diagnostic_app, diag, qlogd);
     18 
     19   set_prop(modem_diagnostic_app, vendor_modem_diag_prop)
     20   set_prop(modem_diagnostic_app, exported3_radio_prop)
     21 ')
     22