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)
8set_prop(hal_bluetooth_default, wc_prop)
9
10userdebug_or_eng(`
11  allow hal_bluetooth_default diag_device:chr_file rw_file_perms;
12  allow hal_bluetooth_default ramdump_vendor_data_file:dir w_dir_perms;
13  allow hal_bluetooth_default ramdump_vendor_data_file:file { create w_file_perms };
14  allow hal_bluetooth_default sysfs_timestamp_switch:file r_file_perms;
15  r_dir_file(hal_bluetooth_default, debugfs_ipc)
16  r_dir_file(hal_bluetooth_default, sysfs_diag)
17  set_prop(hal_bluetooth_default, vendor_ssr_prop)
18')
19
20dontaudit hal_bluetooth_default diag_device:chr_file rw_file_perms;
21