commit | 2202cd58a1c623224eae92969f8a0fc8dbd1c17b | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@google.com> | Thu Aug 13 15:49:47 2015 -0700 |
committer | Arman Uguray <armansito@google.com> | Tue Aug 18 19:12:02 2015 +0000 |
tree | 251d0534413e7581e486ac02a6b0b024877e3bbf | |
parent | 9cd603f04a5478d88da1882ab46f226a5bf4a2d1 [diff] |
service: Introduce hal::BluetoothInterface This CL introduces the bluetooth::hal::BluetoothInterface class. This is meant to be an abstraction over the underlying bt_interface_t and bt_callbacks_t interfaces from libhardware. BluetoothInterface is defined as an abstract singleton that allows a fake/mock implementation to be injected for testing. Bug: 23169364 Change-Id: Ia6f21f505dca08651b9a83e30287f638e8ec9a8e