History log of /system/weaved/libweaved/service.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc02583274e55956ac528f6496fe9385b0824807 04-Feb-2016 Alex Vakulenko <avakulenko@google.com> weaved: Fix binder connection logic from client side

When weaved client tries to connect to weaved process over binder,
it first obtains the binder service exposed by weaved, then invokes
connect() method and provides a callback binder object which is
invoked when weaved is fully initialized and connected.

Only then the client monitors the provided IWeaveService for death
notifications. However if weaved crashes during this process, the
client will never notice the death of weaved.

This change makes the client to subscribe for death notifications
as soon as IWeaveServiceManager binder is obtained instead of using
IWeaveService provided in IWeaveClient::onServiceConnected()

BUG: 26981732
Change-Id: I9b0c3b020558c336a933bdfe106f73673294c062
/system/weaved/libweaved/service.cc
e9a8385bccf042c9e80b69de18f3b58179309615 28-Jan-2016 Alex Vakulenko <avakulenko@google.com> weaved: Remove brillo::Any from public weaved APIs

Replaced brillo::Any with base::Value in weaved client library
APIs in order to remove remaining dependency on D-Bus libraries.

BUG: 26558300
Change-Id: I8365743c31022a2f76a8a8768adf6ad19d509749
/system/weaved/libweaved/service.cc
3faf0373f486dc6a638a5df997ada3baa3588e7e 08-Jan-2016 Alex Vakulenko <avakulenko@google.com> Add ability for daemons to subscribe to pairing session changes

Added Service::SetPairingInfoListener() to provide a callback to
be invoked when pairing session starts/ends. This will let vendor
daemons to display/indicate pairing code to the user.

BUG: 26467076
Change-Id: Ic531c6599eb0dc665670346e5df59cb2cb3ed4cf
/system/weaved/libweaved/service.cc
c984451a701ab88a14ff5d911939e686f09d16a8 07-Jan-2016 Alex Vakulenko <avakulenko@google.com> weaved: Split command and state property name into a trait and a name

Service::AddCommandHandler and Service::SetStateProperty now accept
the propetry name and the trait name as separate parameter which allows
for using a literal constant for the trait name in client code.

BUG: 26443877
Change-Id: I77a7cf22db74b64b28a890cdd2dafeb5546ce78b
/system/weaved/libweaved/service.cc
ae29f7d91a0b4178556eeb6b99fd05d90fcefd3d 22-Dec-2015 Alex Vakulenko <avakulenko@google.com> Add Binder support to weaved and remove D-Bus interface

Added binder-based IPC to weaved instead of D-Bus. Removed the
old weave commands based on D-Bus and redesigned client library
interface to be more in line with how Binder operates.

BUG: 23782171, 25523591

Change-Id: Ic39a6a2edf2e033e506d233919c9d04e4fab8d01
/system/weaved/libweaved/service.cc