• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Needed by hubconnection for sensor hub
2allow system_server sensors_device:chr_file rw_file_perms;
3allow system_server uhid_device:chr_file rw_file_perms;
4
5allow system_server sysfs_led:dir r_dir_perms;
6allow system_server sysfs_led:file rw_file_perms;
7
8allow system_server sysfs_msm_subsys:dir r_dir_perms;
9allow system_server sysfs_msm_subsys:lnk_file r_file_perms;
10
11# Grant access to Qualcomm MSM Interface (QMI) radio sockets to system services
12# (e.g., LocationManager)
13qmux_socket(system_server)
14
15# talk to perfd
16allow system_server perfd_data_file:dir search;
17allow system_server perfd_data_file:sock_file write;
18allow system_server perfd:unix_stream_socket connectto;
19
20allow system_server persist_file:dir search;
21allow system_server persist_file:file r_file_perms;
22
23# hubconnection to get and set sensors.contexthub.* properties
24set_prop(system_server, contexthub_prop);
25
26allow system_server per_mgr_service:service_manager find;
27
28# To improve app launch times - we would like to force all tasks to
29# run on big cores for app launch (sched_boost) - instead of just
30# boosting them to make it "more likely" to run on big cores.
31allow system_server zygote:process setsched;
32
33# remove fingerprint dataset when remove user account
34allow system_server fingerprintd_data_file:file r_file_perms;
35allow system_server fingerprintd_data_file:file create_file_perms;
36allow system_server fingerprintd_data_file:dir create_dir_perms;
37