3b678db2e7fd4baa38c6d6b8bb8334f7d88b8682 |
|
09-Feb-2016 |
Alex Deymo <deymo@google.com> |
Implement a new resetStatus() method in Android interface. When an alredy applied update is deleted from the server (normally because is was detected to be a bad update), we need to go back to the idle state and remove the update to prevent it from breaking more devices. This patch allows the application side to reset the applied update back to idle. Bug: 27081760 TEST=Deployed on a non-Brillo device, sent resetStatus. Change-Id: I1bf5a141388250d225515e40f13bc3564fa5d957
/system/update_engine/update_engine_client_android.cc
|
e88e9feb5a64c1358baeb1c8547e82aa08e1cd83 |
|
04-Feb-2016 |
Alex Deymo <deymo@google.com> |
Android: Print the error code string from the client. The update_engine_client needs to translate the numeric ErrorCode to a string name that can be printed on the output. This patch moves the ErrorCodeToString() function to a new error_code_utils.{h,cc} pair of files so it can be included easily from the client binary and uses it in the Android update_engine_client. Bug: 25631767 Bug: 25598547 TEST=`update_engine_client --update` prints the error message in a non-Brillo device. Change-Id: Ib40813924ec676f3e703412de90d389b2596177e
/system/update_engine/update_engine_client_android.cc
|
95b8f248088934180732cd7e166e70a7d8fe4d0c |
|
29-Jan-2016 |
Alex Deymo <deymo@google.com> |
Android: Extend the API with the payload offset and size. The payload offset and size of the CrAU binary file inside the .zip file are required parameters to properly apply the payload so we explicitly required them in the API. The update_engine_client command was extended to support these two parameters. Bug: 25631767 TEST=`mmma system/update_engine` on aosp_arm-eng. Change-Id: Id5ef2f45b711039309173cb0309b9fe5cc82e485
/system/update_engine/update_engine_client_android.cc
|
2130ee03a1b05c923e3ad44b4beef9849ff939e5 |
|
03-Feb-2016 |
Alex Deymo <deymo@google.com> |
Android: Exit from update_engine_client when daemon dies. When the update_engine daemon dies or is not running, update_engine_client now exists with an error code and prints a message stating a daemon-side failure. Bug: 25631767 TEST=`update_engine_client --follow` and killed update_engine Change-Id: I7c13df56bd384d2bdbc5df402f730b2797753a10
/system/update_engine/update_engine_client_android.cc
|
95224ddce0671a569095622b4817a34dfbaa8830 |
|
29-Jan-2016 |
Alex Deymo <deymo@google.com> |
Android: Log client messages to stderr. The error messages from the command line tool were only sent to the system log. Bug: None TEST=`update_engine_client --cancel` prints the error in stderr. Change-Id: Iaec2c614b55a6528c758d44ecb7900ef1d09ce9b
/system/update_engine/update_engine_client_android.cc
|
5f52811e5afda03e374a28233500e151f1e706f4 |
|
28-Jan-2016 |
Alex Deymo <deymo@google.com> |
Compile update_engine_client for non-Brillo targets. The non-Brillo Android targets use the reduced binder interface. This patch creates a similar update_engine_client command line tool to use with the non-Brillo interface and compiles it for those targets. Bug: 25631767 TEST=`mmma system/update_engine` on edison-eng and aosp_arm-eng. Change-Id: I598144db2b703322c8469fa0982a70dc62572936
/system/update_engine/update_engine_client_android.cc
|