summaryrefslogtreecommitdiff
path: root/sepolicy/vendor/modem_diagnostics.te
blob: d34033bd07fca9922dbbc89282988d47cefa3df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# ModemDiagnosticSystem app
type modem_diagnostic_app, domain;

app_domain(modem_diagnostic_app)

allow modem_diagnostic_app app_api_service:service_manager find;
allow modem_diagnostic_app surfaceflinger_service:service_manager find;

userdebug_or_eng(`
  allow modem_diagnostic_app diag_device:chr_file rw_file_perms;

  set_prop(modem_diagnostic_app, modem_diag_prop)
')