Home
last modified time | relevance | path

Searched refs:partitions_ (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp63 partitions_.emplace_back(Partition{p.partition_name() + target_suffix_, in SnapshotMetadataUpdater()
71 for (const auto& partition_update : partitions_) { in ShrinkPartitions()
104 auto iter = std::find_if(partitions_.begin(), partitions_.end(), in DeletePartitions()
111 if (iter == partitions_.end()) { in DeletePartitions()
123 for (const auto& partition_update : partitions_) { in MovePartitionsToDefault()
226 for (const auto& partition_update : partitions_) { in AddPartitions()
241 for (const auto& partition_update : partitions_) { in GrowPartitions()
258 for (const auto& partition_update : partitions_) { in MovePartitionsToCorrectGroup()
Dsnapshot_metadata_updater.h81 std::vector<Partition> partitions_; variable
/system/extras/partition_tools/
Dlpunpack.cc53 std::unordered_set<std::string> partitions_; member in ImageExtractor
180 partitions_(std::move(partitions)), in ImageExtractor()
197 bool extract_all = partitions_.empty(); in BuildPartitionList()
201 if (extract_all || partitions_.count(name)) { in BuildPartitionList()
203 partitions_.erase(name); in BuildPartitionList()
207 if (!extract_all && !partitions_.empty()) { in BuildPartitionList()
208 std::cerr << "Could not find partition: " << *partitions_.begin() << "\n"; in BuildPartitionList()
/system/update_engine/payload_consumer/
Ddelta_performer.cc262 << partitions_[current_partition_].partition_name() << "\""; in HandleOpResult()
313 if (current_partition_ >= partitions_.size()) in OpenCurrentPartition()
316 const PartitionUpdate& partition = partitions_[current_partition_]; in OpenCurrentPartition()
318 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentPartition()
377 if (current_partition_ >= partitions_.size()) in OpenCurrentECCPartition()
385 const PartitionUpdate& partition = partitions_[current_partition_]; in OpenCurrentECCPartition()
387 install_plan_->partitions.size() - partitions_.size(); in OpenCurrentECCPartition()
609 for (const auto& partition : partitions_) { in Write()
665 partitions_[current_partition_].operations(partition_operation_num); in Write()
780 partitions_.clear(); in ParseManifestPartitions()
[all …]
Ddelta_performer.h381 std::vector<PartitionUpdate> partitions_; variable
/system/core/fs_mgr/liblp/
Dbuilder.cpp548 partitions_.push_back(std::make_unique<Partition>(name, group_name, attributes)); in AddPartition()
549 return partitions_.back().get(); in AddPartition()
553 for (const auto& partition : partitions_) { in FindPartition()
572 for (const auto& partition : partitions_) { in TotalSizeOfGroup()
582 for (auto iter = partitions_.begin(); iter != partitions_.end(); iter++) { in RemovePartition()
584 partitions_.erase(iter); in RemovePartition()
623 for (const auto& partition : partitions_) { in GetFreeRegions()
862 for (const auto& partition : partitions_) { in IsAnyRegionAllocated()
917 for (const auto& partition : partitions_) { in Export()
985 for (const auto& partition : partitions_) { in UsedSpace()
[all …]
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h421 std::vector<std::unique_ptr<Partition>> partitions_; variable