Files
device_xiaomi_stone/sepolicy/vendor/system_app.te
kamikaonashi 17e30d6474 sm6375-common: import XiaomiParts and adapt for stone
imported and adapted xiaomiparts from https://github.com/AlphaDroid-devices/device_xiaomi_sm8350-common/tree/alpha-13/parts

with thermal profiles, per app refresh rate, speaker cleaner
2024-05-07 22:40:18 +02:00

25 lines
897 B
Plaintext

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;
# 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 privapp_data_file:dir { search };