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:
parent
adf19fcc76
commit
858f999657
1 changed files with 4 additions and 0 deletions
4
vendor/hal_bluetooth_btlinux.te
vendored
4
vendor/hal_bluetooth_btlinux.te
vendored
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue