bluetooth: Allow triggering AOC reset from BT HAL

Supports debugging and recovery from fatal errors that do not trigger
AOC SSR on their own.

Bug: 300076774
Test: trigger SSR from BT HAL
Change-Id: I795b2c1830625e2cf05a9aa63c6f7ef273b01a87
This commit is contained in:
Brian Duddie 2023-09-26 16:50:08 -07:00 committed by Chia-Chi Teng
parent adf19fcc76
commit 858f999657

View file

@ -5,5 +5,9 @@ allow hal_bluetooth_btlinux device:dir r_dir_perms;
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms; allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms; allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
# Allow triggering AOC reset
allow hal_bluetooth_btlinux sysfs_aoc:dir search;
allow hal_bluetooth_btlinux sysfs_aoc_reset:file rw_file_perms;
# allow the HAL to call cccdktimesync registered callbacks # allow the HAL to call cccdktimesync registered callbacks
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app) binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)