summaryrefslogtreecommitdiff
path: root/vendor/google/pixelstats_vendor.te
blob: b8ae709d6c91e937f67bb14f87eeadfdf77eea48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# pixelstats vendor
type pixelstats_vendor, domain;

type pixelstats_vendor_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(pixelstats_vendor)
r_dir_file(pixelstats_vendor, sysfs_pixelstats)

unix_socket_connect(pixelstats_vendor, chre, chre)

get_prop(pixelstats_vendor, hwservicemanager_prop)
hwbinder_use(pixelstats_vendor)
allow pixelstats_vendor hal_pixelstats_hwservice:hwservice_manager find;

allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, statsd)

binder_use(pixelstats_vendor)
allow pixelstats_vendor fwk_stats_service:service_manager find;

allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;

# wlc
allow pixelstats_vendor sysfs_wlc:dir search;

# OrientationCollector
allow pixelstats_vendor fwk_sensor_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, system_server)