1# persist
2type persist_display_file, file_type, vendor_persist_type;
3type persist_battery_file, file_type, vendor_persist_type;
4type persist_camera_file, file_type, vendor_persist_type;
5type persist_uwb_file, file_type, vendor_persist_type;
6
7#sysfs
8type sysfs_power_dump, sysfs_type, fs_type;
9type sysfs_acpm_stats, sysfs_type, fs_type;
10type sysfs_write_leds, sysfs_type, fs_type;
11type sysfs_pca, sysfs_type, fs_type;
12type sysfs_aoc_udfps, sysfs_type, fs_type;
13
14# Trusty
15type sysfs_trusty, sysfs_type, fs_type;
16
17# mount FS
18allow proc_vendor_sched proc:filesystem associate;
19allow bootdevice_sysdev sysfs:filesystem associate;
20
21# debugfs
22type vendor_charger_debugfs, fs_type, debugfs_type;
23type vendor_votable_debugfs, fs_type, debugfs_type;
24type vendor_battery_debugfs, fs_type, debugfs_type;
25type vendor_pm_genpd_debugfs, fs_type, debugfs_type;
26type vendor_usb_debugfs, fs_type, debugfs_type;
27type vendor_maxfg_debugfs, fs_type, debugfs_type;
28type vendor_regmap_debugfs, fs_type, debugfs_type;
29
30# WLC
31type sysfs_wlc, sysfs_type, fs_type;
32
33# CHRE
34type chre_socket, file_type;
35
36# BT
37type vendor_bt_data_file, file_type, data_file_type;
38type sysfs_bt_uart, sysfs_type, fs_type;
39
40# Data
41type uwb_vendor_data_file, file_type, data_file_type, app_data_file_type;
42type uwb_data_vendor, file_type, data_file_type;
43type chre_data_file, file_type, data_file_type;
44
45# Vendor sched files
46userdebug_or_eng(`
47    typeattribute proc_vendor_sched mlstrustedobject;
48')
49
50# sysfs
51type sysfs_fabric, sysfs_type, fs_type;
52type sysfs_em_profile, sysfs_type, fs_type;
53type sysfs_ospm, sysfs_type, fs_type;
54
55# GSA
56type sysfs_gsa_log, sysfs_type, fs_type;
57type sysfs_faceauth_rawimage_heap, sysfs_type, fs_type;
58