OSDN Git Service

Bluetooth: Use AsyncFdWatcher for power management
authorMyles Watson <mylesgw@google.com>
Thu, 26 Jan 2017 18:47:27 +0000 (10:47 -0800)
committerMyles Watson <mylesgw@google.com>
Thu, 2 Feb 2017 22:15:56 +0000 (22:15 +0000)
commitbeb13b45c054cdab15943188da6677984e1517d0
treef58af76e9a6e2259aa194f420f4d77e7ed0de3c8
parenteba1312c8613eb27ff1d671fa8db7b65689192cf
Bluetooth: Use AsyncFdWatcher for power management

Implement low power mode using timeouts from the interface.

Test: Boots, Bluetooth turns on/off,
      Instrumented bt_vendor library shows power management
      calls.
Change-Id: Ic4fcbb222f24b66c13f3797b14475d278c49fbc6
bluetooth/1.0/default/vendor_interface.cc
bluetooth/1.0/default/vendor_interface.h