Searched refs:metadata_ (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | images.cpp | 103 : metadata_(metadata), in ImageBuilder() 149 return device_images_.size() == metadata_.block_devices.size(); in IsValid() 173 std::string name = GetBlockDevicePartitionName(metadata_.block_devices[i]); in ExportFiles() 233 std::string metadata_blob = SerializeMetadata(metadata_); in Build() 251 for (const auto& partition : metadata_.partitions) { in Build() 284 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage() 339 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage() 378 sectors += metadata_.extents[partition.first_extent_index + i].num_sectors; in ComputePartitionSize() 391 std::vector<uint64_t> last_sectors(metadata_.block_devices.size()); in CheckExtentOrdering() 393 for (const auto& extent : metadata_.extents) { in CheckExtentOrdering()
|
D | images.h | 60 const LpMetadata& metadata_; variable
|
/system/extras/partition_tools/ |
D | lpunpack.cc | 52 std::unique_ptr<LpMetadata> metadata_; member in ImageExtractor 179 metadata_(std::move(metadata)), in ImageExtractor() 199 for (const auto& partition : metadata_->partitions) { in BuildPartitionList() 219 const LpMetadataExtent& extent = metadata_->extents[index]; in ExtractPartition() 240 SparseWriter writer(output_fd, image_fd_, metadata_->geometry.logical_block_size); in ExtractPartition() 245 const LpMetadataExtent& extent = metadata_->extents[index]; in ExtractPartition()
|
/system/gsid/ |
D | gsi_service.cpp | 632 metadata_ = CreateMetadata(); in PreallocateFiles() 633 if (!metadata_) { in PreallocateFiles() 771 if (!CreateLogicalPartition(kUserdataDevice, *metadata_.get(), name, true, kDmTimeout, in OpenPartition() 943 metadata_ = CreateMetadata(); in ReenableGsi() 944 if (!metadata_) { in ReenableGsi() 975 metadata_ = CreateMetadata(); in WipeUserdata() 976 if (!metadata_) { in WipeUserdata() 1136 if (!WriteToImageFile(kGsiLpMetadataFile, *metadata_.get())) { in CreateMetadataFile()
|
D | gsi_service.h | 163 std::unique_ptr<LpMetadata> metadata_; variable
|