diff options
author | Aaron Wood <aaronwood@google.com> | 2017-08-28 14:51:21 -0700 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2017-09-19 18:08:34 -0700 |
commit | 7f92e2b7060cb35719acf96ef96a4e273e165bc5 (patch) | |
tree | 5d3c045386b04d8ed96cba1041a9e105713ef2c8 /metrics_utils.h | |
parent | b1e063a383115ae2bbc62cbd64047c913724921c (diff) |
Update API: initial support
Initial pieces of the Update API callback framework.
- move the status callback params to a new object, UpdateEngineStatus to
allow for the easier addition of new params in the future.
- switch the IUpdateEngineStatusCallback to provide a
ParcelableUpdateEngineStatus instead of a series of individual params
- move the various GetStatus() methods to use the UpdateEngineStatus
object instead of a series of params (which will need future expansion)
- Add current and new product/os versions to both the UpdateEngineStatus
and the ParcelableUpdateEngineStatus.
Bug: 64808702
Test: unit tests, and performing OTAs via a test app calling
IUpdateEngine::AttemptUpdate() via UpdateManager::performUpdateNow()
Change-Id: I53f66f3511049f0809855814e1e758023cd8cc08
(cherry picked from commit 4f96ebf85022837603f2e10100a044d234b7d86f)
Diffstat (limited to 'metrics_utils.h')
0 files changed, 0 insertions, 0 deletions