d27be3444f6bc5880489f4f8bc88b875bf7cedf8 |
|
10-Jan-2018 |
Tao Bao <tbao@google.com> |
Expose an update_engine API that verifies the given payload metadata. android.os.UpdateEngine.verifyPayloadMetadata() allows a system updater to verify a payload can be safely applied, by using its payload metadata (usually a few hundred KiB only or even less). This would be useful in improving update UX, since the updater can be smarter to avoid installing an update that would fail to apply, or to fall back from an incremental to full payload. Bug: 65283633 Test: Build and flash walleye on device. Trigger a call to this API. Change-Id: I82546f6b2a8f27cfd956cc1677556e7221cce5fd
/frameworks/base/core/java/android/os/UpdateEngine.java
|
f5a53658b2563f6b0b7683c77c40f7d6a2a6a8f1 |
|
06-Nov-2017 |
scypher <scypher@google.com> |
Added new update engine error codes from /android/system/update_engine/common/error_code.h Test: Exposed new constant and manually added the change to api/system-current.txt due to b/68874686 Bug: 68380039 Change-Id: I01a8befe07d37dfa74d3544b80bde2c2cc48acdb
/frameworks/base/core/java/android/os/UpdateEngine.java
|
445c304f5a2a2a93d06bdb24d0cd9472beb0a1fd |
|
16-Jul-2017 |
Tao Bao <tbao@google.com> |
UpdateEngine: Expose unbind as system API. Add android.os.UpdateEngine.unbind() that unbinds the last bound callback function. update_engine will no longer send status update after unbinding. Bug: 62293007 Test: Check api/system-current.txt. Change-Id: Ide9704986caa7aeb233ba064bb8145972e3b5749
/frameworks/base/core/java/android/os/UpdateEngine.java
|
e3ce3e8bab91117b92b2b859dff24bfe62428d5b |
|
27-Feb-2017 |
Elliott Hughes <enh@google.com> |
Basic javadoc for android.os.UpdateEngine. Bug: N/A Test: N/A Change-Id: Icb870e7720e8b50082d353e7ea08007e1f4e2fdc
/frameworks/base/core/java/android/os/UpdateEngine.java
|
b7e47ae84f6fbfb082f5a286db2e5f0bae50c1a1 |
|
22-Mar-2016 |
Tao Bao <tbao@google.com> |
UpdateEngine: Add resetStatus() as system API. It calls update engine to reset an already applied payload. Also change all the RemoteExceptions in UpdateEngine class to be rethrown as RuntimeExceptions according to API guidelines [FW9]. Bug: 27123767 Change-Id: I936331019cdb00f4f225f5605e51cc94bb491e24
/frameworks/base/core/java/android/os/UpdateEngine.java
|
43cd1bcb10930c3e948f3d52278a986597672b29 |
|
08-Feb-2016 |
Tao Bao <tbao@google.com> |
Add system APIs for A/B update. Add android.os.UpdateEngine and UpdateEngineCallback classes that communicate with the update engine via binder APIs for A/B update. Bug: 26695366 Change-Id: I2471858d28df5443bc0b56d9a20281ccebde4484
/frameworks/base/core/java/android/os/UpdateEngine.java
|