summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Yi-Yo Chiang <yochiang@google.com> 2022-03-25 19:01:31 +0800
committer Yi-Yo Chiang <yochiang@google.com> 2022-03-26 17:58:06 +0800
commit3a9690c3577d85a06ba3db9ac477dfbc18305cfe (patch)
treef2528068e9d213ef500b3b07e61ecc2d0aa5bc63 /libs/androidfw/AttributeResolution.cpp
parentb344dfaee95be045a58913a0fd81d9c532684d42 (diff)
DSU service: Weighted progress bar
Weight progress of writable partitions less because they take much less time to complete compared to readonly partitions. This is best effort only and done only when we can deduce the total number of partitions beforehand. Also publish the weighted progress to events log so external tools can use this value directly, instead of having to calculate this complex progress weighting themselves. Revise the events log field name to better reflect the "unit" the metrics are in (size -> bytes, partition -> partition_name). DynamicSystemInstallationService notification progress should use this weighted progress if available. Bug: 169036106 Bug: 224909776 Test: Start a DSU installation and observe the logcat and system notification Change-Id: I81561c1994698387b275cab36ee058dd581f9879
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions