Skip to content

Commit

Permalink
protobuf: Update update_metadata.proto from AOSP
Browse files Browse the repository at this point in the history
Neither of the two new fields need any special handling in avbroot. This
just allows us to preserve the values from the original OTA.

Signed-off-by: Andrew Gunnerson <[email protected]>
  • Loading branch information
chenxiaolong committed Dec 1, 2024
1 parent f6c6c8a commit 2899106
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions avbroot/protobuf/update_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ message PartitionUpdate {
// as a hint. If set to 0, libsnapshot should use alternative
// methods for estimating size.
optional uint64 estimate_cow_size = 19;

// Information about the cow used by Cow Writer to specify
// number of cow operations to be written
optional uint64 estimate_op_count_max = 20;
}

message DynamicPartitionGroup {
Expand Down Expand Up @@ -368,6 +372,10 @@ message DynamicPartitionMetadata {

// A collection of knobs to tune Virtual AB Compression
optional VABCFeatureSet vabc_feature_set = 6;

// Max bytes to be compressed at once during ota. Options: 4k, 8k, 16k, 32k,
// 64k, 128k
optional uint64 compression_factor = 7;
}

// Definition has been duplicated from
Expand Down

0 comments on commit 2899106

Please sign in to comment.