summaryrefslogtreecommitdiff
path: root/vendor/google/pixelstats_vendor.te
blob: 42ce69e43abf48e55df1810082552eb22668840f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
binder_call(pixelstats_vendor, pixelstats_system)

allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;

binder_use(pixelstats_vendor)
allow pixelstats_vendor fwk_stats_service:service_manager find;

allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
allow pixelstats_vendor battery_history_device:chr_file r_file_perms;

# UeventListener
r_dir_file(pixelstats_vendor, sysfs_pixelstats)