Searched refs:metadata_ (Results 1 – 6 of 6) sorted by relevance
/system/extras/partition_tools/ |
D | lpadd.cc | 133 std::unique_ptr<LpMetadata> metadata_; member in SuperHelper 144 metadata_ = android::fs_mgr::ReadFromImageFile(abs_super_path_); in Open() 146 metadata_ = android::fs_mgr::ReadMetadata(abs_super_path_, 0); in Open() 148 if (!metadata_) { in Open() 152 builder_ = MetadataBuilder::New(*metadata_.get()); in Open() 271 metadata_ = builder_->Export(); in UpdateSuper() 272 if (!metadata_) { in UpdateSuper() 285 uint32_t slots = std::min(metadata_->geometry.metadata_slot_count, (uint32_t)2); in UpdateSuper() 287 if (!UpdatePartitionTable(opener, abs_super_path_, *metadata_.get(), i)) { in UpdateSuper() 297 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition() [all …]
|
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/core/fs_mgr/liblp/ |
D | images.cpp | 137 : metadata_(metadata), in ImageBuilder() 183 return device_images_.size() == metadata_.block_devices.size(); in IsValid() 207 std::string name = GetBlockDevicePartitionName(metadata_.block_devices[i]); in ExportFiles() 267 std::string metadata_blob = SerializeMetadata(metadata_); in Build() 285 for (const auto& partition : metadata_.partitions) { in Build() 318 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage() 373 const LpMetadataExtent& extent = metadata_.extents[extent_index]; in AddPartitionImage() 412 sectors += metadata_.extents[partition.first_extent_index + i].num_sectors; in ComputePartitionSize() 425 std::vector<uint64_t> last_sectors(metadata_.block_devices.size()); in CheckExtentOrdering() 427 for (const auto& extent : metadata_.extents) { in CheckExtentOrdering()
|
D | images.h | 58 const LpMetadata& metadata_; variable
|
/system/core/debuggerd/libdebuggerd/ |
D | gwp_asan.cpp | 73 …metadata_.reset(retrieve_gwp_asan_metadata(process_memory, state_, process_info.gwp_asan_metadata)… in GwpAsanCrashData() 74 if (!metadata_.get()) return; in GwpAsanCrashData() 95 error_ = __gwp_asan_diagnose_error(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData() 97 responsible_allocation_ = __gwp_asan_get_metadata(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | gwp_asan.h | 99 std::unique_ptr<const gwp_asan::AllocationMetadata> metadata_; variable
|