OSDN Git Service

service: Implement IBluetoothLowEnergy client registration
authorArman Uguray <armansito@google.com>
Fri, 4 Sep 2015 20:11:39 +0000 (13:11 -0700)
committerArman Uguray <armansito@google.com>
Thu, 17 Sep 2015 23:32:12 +0000 (16:32 -0700)
commit15cf17fc406f7796b33dc56585eccbcd1c9c6df9
treea8b9a916c8aa3f1de0a92d30b0e5c74751877e9d
parentf8711f2e95343f2c9673ab4ffc0bebbdba16c452
service: Implement IBluetoothLowEnergy client registration

This CL adds support for the IBluetoothLowEnergy registerClient and
unregisterClient methods. A lot of the code added here deals with
asynchronous callback registration and can be generalized to other
interfaces that asynchronously associate and return client
interface IDs with callback binders.

Bug: 23793954
Change-Id: I82cf26e194c456f04363fe66f094bc803a5aa436
service/ipc/binder/bluetooth_low_energy_binder_server.cpp
service/ipc/binder/bluetooth_low_energy_binder_server.h