Home
last modified time | relevance | path

Searched defs:partition (Results 1 – 25 of 54) sorted by relevance

123

/system/update_engine/payload_consumer/
Dfilesystem_verifier_action.cc110 const InstallPlan::Partition& partition = in StartPartitionHashing() local
173 const InstallPlan::Partition& partition = in ScheduleRead() local
264 InstallPlan::Partition& partition = in FinishPartitionHashing() local
Dverity_writer_stub.cc29 bool VerityWriterStub::Init(const InstallPlan::Partition& partition) { in Init()
Dpostinstall_runner_action.cc79 auto& partition = install_plan_.partitions[i]; in PerformAction() local
114 const InstallPlan::Partition& partition = in PerformPartitionPostinstall() local
Dinstall_plan.cc62 for (const auto& partition : partitions) { in Dump() local
Ddelta_performer.cc316 const PartitionUpdate& partition = partitions_[current_partition_]; in OpenCurrentPartition() local
385 const PartitionUpdate& partition = partitions_[current_partition_]; in OpenCurrentECCPartition() local
418 for (const PartitionUpdate& partition : partitions) { in LogPartitionInfo() local
609 for (const auto& partition : partitions_) { in Write() local
781 for (const PartitionUpdate& partition : manifest_.partitions()) { in ParseManifestPartitions() local
842 for (const auto& partition : partitions_) { in ParseManifestPartitions() local
1115 const PartitionUpdate& partition = partitions_[current_partition_]; in PerformSourceCopyOperation() local
1577 [](const PartitionUpdate& partition) { in ValidateManifest()
/system/core/fs_mgr/liblp/
Dbuilder.cpp333 for (const auto& partition : metadata.partitions) { in Init() local
553 for (const auto& partition : partitions_) { in FindPartition() local
572 for (const auto& partition : partitions_) { in TotalSizeOfGroup() local
623 for (const auto& partition : partitions_) { in GetFreeRegions() local
653 bool MetadataBuilder::ValidatePartitionSizeChange(Partition* partition, uint64_t old_size, in ValidatePartitionSizeChange()
705 bool MetadataBuilder::GrowPartition(Partition* partition, uint64_t aligned_size, in GrowPartition()
817 Partition* partition, const std::vector<Interval>& free_list, in ExtendFinalExtent()
862 for (const auto& partition : partitions_) { in IsAnyRegionAllocated() local
876 void MetadataBuilder::ShrinkPartition(Partition* partition, uint64_t aligned_size) { in ShrinkPartition()
917 for (const auto& partition : partitions_) { in Export() local
[all …]
Dutility.cpp145 for (const auto& partition : metadata.partitions) { in FindPartition() local
153 uint64_t GetPartitionSize(const LpMetadata& metadata, const LpMetadataPartition& partition) { in GetPartitionSize()
191 bool UpdatePartitionName(LpMetadataPartition* partition, const std::string& name) { in UpdatePartitionName()
250 for (auto& partition : metadata->partitions) { in UpdateMetadataForInPlaceSnapshot() local
317 for (auto& partition : metadata->partitions) { in SetMetadataHeaderV0() local
Dreader.cpp292 LpMetadataPartition partition; in ParseMetadata() local
400 for (auto& partition : metadata->partitions) { in AdjustMetadataForSlot() local
491 std::string GetPartitionName(const LpMetadataPartition& partition) { in GetPartitionName()
Dbuilder_test.cpp51 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F() local
304 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F() local
361 for (const auto& partition : exported->partitions) { in TEST_F() local
508 Partition* partition = builder->AddPartition("system", 0); in TEST_F() local
536 Partition* partition = builder->AddPartition("system", "google", 0); in TEST_F() local
826 Partition* partition = builder->AddPartition("system_a", "google_dynamic_partitions_a", in TEST_F() local
/system/linkerconfig/generator/
Dvariableloader.cc93 std::string partition) { in LoadVariableFromPartitionPath()
112 const std::string& partition) { in LoadVndkLibraryListVariables()
/system/core/fastboot/
Dfastboot_driver.cpp76 RetCode FastBootDriver::CreatePartition(const std::string& partition, const std::string& size) { in CreatePartition()
81 RetCode FastBootDriver::DeletePartition(const std::string& partition) { in DeletePartition()
85 RetCode FastBootDriver::Erase(const std::string& partition, std::string* response, in Erase()
90 RetCode FastBootDriver::Flash(const std::string& partition, std::string* response, in Flash()
114 RetCode FastBootDriver::ResizePartition(const std::string& partition, const std::string& size) { in ResizePartition()
134 RetCode FastBootDriver::FlashPartition(const std::string& partition, in FlashPartition()
143 RetCode FastBootDriver::FlashPartition(const std::string& partition, int fd, uint32_t size) { in FlashPartition()
151 RetCode FastBootDriver::FlashPartition(const std::string& partition, sparse_file* s, uint32_t size, in FlashPartition()
242 RetCode FastBootDriver::Download(const std::string& partition, struct sparse_file* s, uint32_t size, in Download()
Dfastboot.cpp1009 static void copy_boot_avb_footer(const std::string& partition, struct fastboot_buffer* buf) { in copy_boot_avb_footer()
1055 static void flash_buf(const std::string& partition, struct fastboot_buffer *buf) in flash_buf()
1230 static bool is_logical(const std::string& partition) { in is_logical()
1367 auto resize_partition = [](const std::string& partition) -> void { in Flash()
1579 const std::string& partition, int skip_if_not_supported, in fb_perform_format()
1681 for (const auto& partition : metadata->partitions) { in should_flash_in_userspace() local
1726 auto partition = android::fs_mgr::GetBlockDevicePartitionName(block_device); in wipe_super() local
1961 std::string partition = next_arg(&args); in Main() local
1962 auto erase = [&](const std::string& partition) { in Main()
1987 std::string partition = next_arg(&args); in Main() local
[all …]
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp129 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents()
188 auto partition = builder->FindPartition(partition_name); in UpdateMetadata() local
216 auto partition = builder->FindPartition(partition_name); in AddAttributes() local
Dimage_manager.cpp365 auto partition = FindPartition(*metadata.get(), name); in MapWithLoopDeviceList() local
630 for (const auto& partition : metadata->partitions) { in RemoveAllImages() local
643 for (const auto& partition : metadata->partitions) { in Validate() local
670 for (const auto& partition : metadata->partitions) { in RemoveDisabledImages() local
/system/extras/partition_tools/
Dlpdump.cc152 for (auto partition : builder->ListPartitionsInGroup(group_name)) { in MergeMetadata() local
181 DynamicPartitionsDeviceInfoProto* proto, const std::string& partition) { in FindPartition()
197 std::string partition = match[1]; in GetReadonlyPartitionName() local
211 auto partition = GetReadonlyPartitionName(entry); in MergeFsUsage() local
318 for (const auto& partition : pt.partitions) { in PrintMetadata() local
Dlpunpack.cc199 for (const auto& partition : metadata_->partitions) { in BuildPartitionList() local
214 bool ImageExtractor::ExtractPartition(const LpMetadataPartition* partition) { in ExtractPartition()
Dlpadd.cc167 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition() local
297 auto partition = android::fs_mgr::FindPartition(*metadata_.get(), partition_name); in WritePartition() local
/system/core/fastboot/device/
Dutility.cpp115 for (const auto& partition : metadata.partitions) { in FindLogicalPartition() local
135 const LpMetadataPartition* partition = FindLogicalPartition(*metadata.get(), name); in LogicalPartitionExists() local
192 for (const auto& partition : metadata->partitions) { in ListPartitions() local
Dflashing.cpp63 auto partition = android::base::Basename(entry.mount_point); in WipeOverlayfsForPartition() local
203 for (const auto& partition : old_metadata->partitions) { in UpdateSuper() local
Dcommands.cpp433 auto partition = builder->AddPartition(partition_name, 0); in CreatePartitionHandler() local
489 auto partition = builder->FindPartition(partition_name); in ResizePartitionHandler() local
511 auto partition = builder->FindPartition(partition_name); in CancelPartitionSnapshot() local
/system/linkerconfig/contents/tests/backward_compatibility/
Dtestbase.h23 inline void MockVndkVariables(std::string partition, std::string vndk_ver) { in MockVndkVariables()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.h74 const PartitionUpdate* partition; member
/system/core/fs_mgr/libfs_avb/
Davb_ops.cpp49 static AvbIOResult read_from_partition(AvbOps* ops, const char* partition, int64_t offset, in read_from_partition()
171 AvbIOResult FsManagerAvbOps::ReadFromPartition(const char* partition, int64_t offset, in ReadFromPartition()
/system/core/fs_mgr/include/
Dfs_mgr_dm_linear.h62 const LpMetadataPartition* partition = nullptr; member
/system/update_engine/
Ddynamic_partition_test_utils.h133 const std::string& partition, in AddPartition()
189 for (const auto& partition : manifest.partitions()) { variable

123