Lines Matching refs:metadata
116 static const LpMetadataPartition* FindLogicalPartition(const LpMetadata& metadata, in FindLogicalPartition() argument
118 for (const auto& partition : metadata.partitions) { in FindLogicalPartition()
134 std::unique_ptr<LpMetadata> metadata = ReadMetadata(path->c_str(), slot_number); in LogicalPartitionExists() local
135 if (!metadata) { in LogicalPartitionExists()
138 const LpMetadataPartition* partition = FindLogicalPartition(*metadata.get(), name); in LogicalPartitionExists()
182 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions() local
183 metadata_list.emplace_back(std::move(metadata)); in ListPartitions()
189 if (auto metadata = ReadMetadata(other_super, other_slot)) { in ListPartitions() local
190 metadata_list.emplace_back(std::move(metadata)); in ListPartitions()
194 for (const auto& metadata : metadata_list) { in ListPartitions() local
195 for (const auto& partition : metadata->partitions) { in ListPartitions()
211 const android::fs_mgr::LpMetadata& metadata) { in UpdateAllPartitionMetadata() argument
220 ok &= UpdatePartitionTable(super_name, metadata, i); in UpdateAllPartitionMetadata()