1allow hal_bluetooth_default bt_device:chr_file rw_file_perms; 2 3# talk to system_server to set priority 4allow hal_bluetooth fwk_scheduler_hwservice:hwservice_manager find; 5allow hal_bluetooth system_server:binder call; 6 7set_prop(hal_bluetooth_default, vendor_bluetooth_prop) 8 9userdebug_or_eng(` 10 allow hal_bluetooth_default diag_device:chr_file rw_file_perms; 11 allow hal_bluetooth_default ramdump_vendor_data_file:dir w_dir_perms; 12 allow hal_bluetooth_default ramdump_vendor_data_file:file { create w_file_perms }; 13 allow hal_bluetooth_default sysfs_timestamp_switch:file r_file_perms; 14 r_dir_file(hal_bluetooth_default, debugfs_ipc) 15 r_dir_file(hal_bluetooth_default, sysfs_diag) 16 set_prop(hal_bluetooth_default, vendor_ssr_prop) 17') 18 19dontaudit hal_bluetooth_default diag_device:chr_file rw_file_perms; 20