Home
last modified time | relevance | path

Searched refs:maximum_size (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h113 explicit PartitionGroup(std::string_view name, uint64_t maximum_size) in PartitionGroup() argument
114 : name_(name), maximum_size_(maximum_size) {} in PartitionGroup()
117 uint64_t maximum_size() const { return maximum_size_; } in maximum_size() function
120 void set_maximum_size(uint64_t maximum_size) { maximum_size_ = maximum_size; } in set_maximum_size() argument
276 bool AddGroup(std::string_view group_name, uint64_t maximum_size);
333 bool ChangeGroupSize(const std::string& group_name, uint64_t maximum_size);
Dmetadata_format.h316 uint64_t maximum_size; member
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto47 uint64 maximum_size = 2 [json_name = "maximum_size"]; field
Dlpdump.cc150 group_proto->set_maximum_size(group->maximum_size()); in MergeMetadata()
384 cout << " Maximum size: " << group.maximum_size << " bytes\n"; in PrintMetadata()
/system/core/fs_mgr/liblp/
Dbuilder.cpp328 if (!AddGroup(group_name, group.maximum_size)) { in Init()
516 bool MetadataBuilder::AddGroup(std::string_view group_name, uint64_t maximum_size) { in AddGroup() argument
521 groups_.push_back(std::make_unique<PartitionGroup>(group_name, maximum_size)); in AddGroup()
660 if (group->maximum_size() > 0) { in ValidatePartitionSizeChange()
662 if (group_size >= group->maximum_size() || in ValidatePartitionSizeChange()
663 group->maximum_size() - group_size < space_needed) { in ValidatePartitionSizeChange()
666 << group_size << " used out of " << group->maximum_size() << ")"; in ValidatePartitionSizeChange()
904 out.maximum_size = group->maximum_size(); in Export()
1262 if (!group->maximum_size()) { in ValidatePartitionGroups()
1266 if (used > group->maximum_size()) { in ValidatePartitionGroups()
[all …]
Dutility_test.cpp158 ASSERT_EQ(256 * 1024, group_b->maximum_size()); in TEST()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp146 if (existing_group->maximum_size() <= group_update->size()) { in ShrinkGroups()
215 if (existing_group->maximum_size() >= group_update->size()) { in GrowGroups()
Dsnapshot_metadata_updater_test.cpp112 if (g->maximum_size() != size) { in CheckGroupSize()
114 << " bytes, but is " << g->maximum_size() << " bytes."; in CheckGroupSize()
/system/update_engine/aosp/
Dmetrics_reporter_android.cc110 slot_size_bytes += group.maximum_size; in ReportUpdateAttemptMetrics()