History log of /system/update_engine/client_library/client_binder.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2997173235e88c5e4cb13d2844f74afc7b25d6e2 05-Feb-2016 Shuqian Zhao <shuqianz@google.com> Add a feature to get the last UpdateAttempt ErrorCode from update_engine

For autotest, update_engine test failures are always hard to debug,
since the error message is not clear. Add a new flag 'last_attempt_error'
to get the last UpdateAttempt ErrorCode from update_engine.

Bug:25598547
Test:emerge-peppy update_engine
emerge-peppy update_engine_client
cros flash a test image to DUT.
(on the DUT):update_engine_client --last_attempt_error
Compare the results with the update_engine logs, matched.

Change-Id: Id12681097ed30b0826cad68809f17f934a07e5b2
/system/update_engine/client_library/client_binder.cc
6ee50b9814f101b5b5c0ae60af1dedf059ad2106 01-Feb-2016 Casey Dahlin <sadmac@google.com> Handle interactive bool correctly from binder interface

We inverted the meaning of at_user_request from binder, due to the fact
that the flag the back end takes is inverted.

TEST=Verified --update sends correct commands
Bug: 26896505

Change-Id: I480376a4da47d007e7914b6673309417a93315ab
/system/update_engine/client_library/client_binder.cc
a715f7b8a211b5c4b74206539e9aa7ddacf4b243 30-Jan-2016 Casey Dahlin <sadmac@google.com> Properly handle handler registering and unregistering

In addition to now supporting unregistering, we now correctly support
multiple handlers under DBus, and correctly send initial events under
binder.

TEST=Verified update_engine_client still works as expected
Bug: None

Change-Id: I60955d4d9ca61dfe7857b9fc78f77fa4292ed218
/system/update_engine/client_library/client_binder.cc
40892497a9b1ea124058baf09f5f2873a15cb696 26-Jan-2016 Casey Dahlin <sadmac@google.com> Make client use binder interface on brillo

TEST=Verified status and update commands
Bug: 25908638

Change-Id: I7994de41001b4e116bffa539f23f1344ab1deae9
/system/update_engine/client_library/client_binder.cc
a93cd53c4f8ab8cb926ed9223373567ebbf45cb6 15-Jan-2016 Casey Dahlin <sadmac@google.com> Introduce brillo binder interface

This is more or less an exact analogue of the DBus interface, but
available over binder. We also add support to the client library and let
update_engine_client build with binder. We don't yet support an
equivalent of the status signal/the HandleStatusUpdate method. That will
come in a future CL.

Bug: 25908638
TEST=Verified update_engine_client functionality

Change-Id: Ic793619c8019b0d50aa184e0f592b6a9ab71e0b0
/system/update_engine/client_library/client_binder.cc