1r_dir_file(hal_audio_default, sysfs_soc) 2 3allow hal_audio_default audio_vendor_data_file:dir rw_dir_perms; 4allow hal_audio_default audio_vendor_data_file:file create_file_perms; 5 6hal_client_domain(hal_audio_default, hal_power) 7 8userdebug_or_eng(` 9 allow hal_audio diag_device:chr_file rw_file_perms; 10') 11