allow system_app sysfs_thermal:file rw_file_perms;

allow system_app proc_pagetypeinfo:file r_file_perms;
allow system_app sysfs_zram:dir search;
allow system_app sysfs_zram:file r_file_perms;
allow system_app sysfs_zram:dir r_dir_perms;

# vendor_aware_prop
get_prop(system_app, vendor_aware_available_prop);

binder_call(system_app, hal_audio_default)
binder_call(system_app, hal_power_default)
binder_call(system_app, hal_vibrator_default)
binder_call(system_app, hal_wifi_supplicant_default)
binder_call(system_app, wificond)

# Fast charger node
allow system_app vendor_sysfs_battery_supply:dir { search };
allow system_app vendor_sysfs_battery_supply:file { getattr open read };

r_dir_file(system_app, vendor_sysfs_battery_supply)

allow system_app sysfs:file { setattr getattr write open read };
allow system_app vendor_sysfs_graphics:dir { search setattr getattr write open read };
allow system_app vendor_sysfs_graphics:file write;
allow system_app privapp_data_file:dir { search };
allow system_app system_server:file { write read };
