OSDN Git Service

Make Bluetooth audio threads use RT scheduling
authorPhilip Cuadra <philipcuadra@google.com>
Thu, 23 Mar 2017 17:10:34 +0000 (10:10 -0700)
committerPhilip Cuadra <philipcuadra@google.com>
Wed, 26 Apr 2017 18:35:37 +0000 (11:35 -0700)
commiteaa42774f393eb3ccaee91a958e8df6a8fb09b91
treeebcfd680299dc47ff511dad77b69fbe977010908
parentfc9f1bcd774096e1d3e0ca9cc5bcb0e9a9c1cd42
Make Bluetooth audio threads use RT scheduling

Bluetooth threads that are used in audio have deadline
requirements for glitchless playback.  Those threads need to be
scheduled as RT tasks to ensure that they can meet the deadline even if
there is high system load.

Bug 37518404

Test:  play Bluetooth audio, check for RT with systrace
Merged-In: I4505fbce55e5a4fe18d00dbda23646a60e482efd
Change-Id: I4505fbce55e5a4fe18d00dbda23646a60e482efd
(cherry picked from commit 96c42e70f5c6a74a737739aa9c297cd93540f43e)
btif/src/btif_av.cc
hci/src/hci_layer.cc
osi/include/thread.h
osi/src/alarm.cc
osi/src/thread.cc
stack/btu/btu_init.cc
utils/include/bt_utils.h
utils/src/bt_utils.cc