There's been a lot of work on Bluetooth in Android O, but...

There's been a lot of work on Bluetooth in Android O, but we haven't seen it yet

0 17

Tricks learned writing the software for the Pixel can hopefully make Bluetooth faster, stronger, and better.In their Reddit AMA (Ask Me Anything) session today, the Google team takes on Bluetooth. Specifically, if Android O can make it suck less.

The team is aware of all the Bluetooth errors and inconsistencies evident on many Android phones and have used a trick they learned while writing the new system elements for Android N on the Pixel.

Tim Murray: The Android Bluetooth, audio, and performance teams actually did a lot of work to improve BT audio in O. We flipped the switch internally since the most recent developer preview because we needed a little more time to make sure that things were stable, so you haven’t seen the fruits of that labor quite yet.

What’d we do: back during Pixel development, the perf team guessed that it’s probably a good idea to make the UI-critical parts of the system as deterministic as possible to avoid random scheduler delays. Turns out yes, that’s a good idea, and removing scheduler delay from the UI pipeline fixes a ton of random jank. You can see the details of all the stuff we did at https://source.android.com/devices/tech/debug/eval_perf.
It worked so well for UI that we decided to do the same thing for BT audio. We could see cases where random scheduler delay would cause BT audio artifacts, so we tried working our way through the entire BT pipeline to figure out exactly what guarantees were needed where to ensure that audio quality was perfect. This removed tens of milliseconds of possible jitter per BT packet and required fixes throughout the stack, from the framework down to kernel drivers.

Our testing shows that BT audio reliability is drastically better vs N because of these changes. We’re happy with

Article originally published at: Android Central