device_google_zuma/vendor/hal_bluetooth_btlinux.te
Chia-Chi Teng eb2dcaedc8 Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL"
This reverts commit 0aa787efa8.

Reason for revert: Debug BT HCI timeout on UD2A build and P23 on main

Bug: 306646797
Test: presubmit PTS
Change-Id: Ia72ea9d0ba0209cce483d220b420933b243e05b3
2023-10-27 22:53:17 +00:00

16 lines
667 B
Text

# Allow access to always-on compute device node
allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms;
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:file create_file_perms;
# Allow triggering uart skip suspend
allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_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
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)