1# UeventListener 2r_dir_file(pixelstats_vendor, sysfs_batteryinfo) 3allow pixelstats_vendor sysfs_batteryinfo:file w_file_perms; 4allow pixelstats_vendor self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl; 5 6allow pixelstats_vendor sysfs_scsi_devices_0000:dir search; 7allow pixelstats_vendor sysfs_scsi_devices_0000:file r_file_perms; 8allow pixelstats_vendor sysfs_fs_f2fs:dir search; 9allow pixelstats_vendor sysfs_fs_f2fs:file rw_file_perms; 10get_prop(pixelstats_vendor, boottime_public_prop) 11 12allow pixelstats_vendor fwk_stats_service:service_manager find; 13binder_call(pixelstats_vendor, stats_service_server) 14 15allow pixelstats_vendor sysfs_zram:dir search; 16allow pixelstats_vendor sysfs_zram:file r_file_perms; 17allow pixelstats_vendor sysfs_pixel_stat:dir r_dir_perms; 18allow pixelstats_vendor sysfs_pixel_stat:file r_file_perms; 19 20userdebug_or_eng(` 21 allow pixelstats_vendor proc_vmstat:file r_file_perms; 22 allow pixelstats_vendor sysfs_ion:dir search; 23 allow pixelstats_vendor sysfs_ion:file r_file_perms; 24 allow pixelstats_vendor sysfs_dma_heap:dir search; 25 allow pixelstats_vendor sysfs_dma_heap:file r_file_perms; 26 allow pixelstats_vendor kernel:dir search; 27 allow pixelstats_vendor kernel:file r_file_perms; 28') 29