Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8698fa6 authored by Alessio Balsini's avatar Alessio Balsini
Browse files

UpdateEngineUpdateAttemptReported: add super and slot size, and free space



Additional information are important to evaluate the impact of Virtual
A/B on devices especially related to OTA take rate.
In order to find a correlation between the OTA take rate and the storage
composition, the following metrics are added to the
UpdateEngineUpdateAttemptReported:
- super_partition_size_bytes: the size of the super partition,
- slot_size_bytes: the size of the current slot, and
- super_free_space_bytes: representing the free space in the super
partition.

Bug: 154016862
Bug: 157720191
Test: m
Signed-off-by: default avatarAlessio Balsini <balsini@google.com>
Change-Id: I9a6146831a4d6254f8c4d1bfe0df9ca97ef15d34
parent 2294f39e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -8645,6 +8645,15 @@ message UpdateEngineUpdateAttemptReported {
    // system property when the device takes the update. e.g.
    // Android/aosp_sailfish/sailfish:10/QP1A.190425.004/5507117:userdebug/test-keys
    optional string source_fingerprint = 8;

    // Size of super partition.
    optional int64 super_partition_size_bytes = 9;

    // Size of current slot within the super partition.
    optional int64 slot_size_bytes = 10;

    // Free space available in the super partition.
    optional int64 super_free_space_bytes = 11;
}

/**