mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
wcnss_filter is on the critical path for Bluetooth audio playback. It needs the ability to set critical threads to RT scheduling in order to meet audio deadlines. Bluetooth HAL needs to talk to system_server in order to call SchedulingPolicyService to set priority of Bluetooth HAL threads to RT. Bug 37518404 Test: play Bluetooth audio, verify threads are RT via systrace Change-Id: I458055fe986e3b82b9f633a0e5be62e903e9fc50
10 lines
332 B
Plaintext
10 lines
332 B
Plaintext
allow hal_bluetooth_default bt_device:chr_file rw_file_perms;
|
|
|
|
allow hal_bluetooth_default wcnss_filter:unix_stream_socket connectto;
|
|
|
|
# talk to system_server to set priority
|
|
allow hal_bluetooth fwk_scheduler_hwservice:hwservice_manager find;
|
|
allow hal_bluetooth system_server:binder call;
|
|
|
|
set_prop(hal_bluetooth_default, wc_prop)
|