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 
     10 userdebug_or_eng(`
     11   allow modem_diagnostic_app diag_device:chr_file rw_file_perms;
     12 
     13   allow modem_diagnostic_app sysfs_esim:file r_file_perms;
     14 
     15   typeattribute modem_diagnostic_app mlstrustedsubject;
     16   unix_socket_connect(modem_diagnostic_app, diag, qlogd);
     17 
     18   set_prop(modem_diagnostic_app, vendor_modem_diag_prop)
     19   set_prop(modem_diagnostic_app, exported3_radio_prop)
     20 ')
     21