commit | 40701e3acaaa8712013b7af6803d7ac90c85e617 | [log] [tgz] |
---|---|---|
author | Sharvil Nanavati <sharvil@google.com> | Mon Sep 07 01:05:19 2015 -0700 |
committer | Sharvil Nanavati <sharvil@google.com> | Sun Sep 13 02:09:29 2015 -0700 |
tree | 39872848ef60471d3f3df4a914a643122d22b0db | |
parent | 607b77a90ab9f7b9ab919280c2316b779df69ffe [diff] |
DO NOT MERGE Use POSIX timer API for wake alarms instead of OSI callouts. This change increases RFCOMM throughput by a little over 50%. We were paying a pretty major cost in setting up / tearing down wake timers by going through JNI and Binder over to AlarmService. There are a few gotchas with this implementation, particularly because the Linux kernel implementation of wake timers is somewhat buggy. Bug: 23375670 Change-Id: I27558f439e57696d912b968f56a48e5e4098860b