Home
last modified time | relevance | path

Searched refs:Partition (Results 1 – 25 of 44) sorted by relevance

12

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.h37 using Partition = android::fs_mgr::Partition; member
47 Partition* target_partition = nullptr;
67 bool HasExtent(Partition* p, Extent* e);
Dsnapshot_metadata_updater.h71 struct Partition { struct
81 std::vector<Partition> partitions_; argument
Dutility.cpp35 using android::fs_mgr::Partition;
74 std::vector<Partition*> ListPartitionsWithSuffix(MetadataBuilder* builder, in ListPartitionsWithSuffix()
76 std::vector<Partition*> ret; in ListPartitionsWithSuffix()
Dsnapshot_metadata_updater.cpp33 using android::fs_mgr::Partition;
63 partitions_.emplace_back(Partition{p.partition_name() + target_suffix_, in SnapshotMetadataUpdater()
Dpartition_cow_creator.cpp29 using android::fs_mgr::Partition;
55 bool PartitionCowCreator::HasExtent(Partition* p, Extent* e) { in HasExtent()
Dutility.h111 std::vector<android::fs_mgr::Partition*> ListPartitionsWithSuffix(
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h126 class Partition final {
130 Partition(std::string_view name, std::string_view group_name, uint32_t attributes);
153 Partition GetBeginningExtents(uint64_t aligned_size) const;
284 Partition* AddPartition(std::string_view name, std::string_view group_name,
289 Partition* AddPartition(const std::string& name, uint32_t attributes);
295 Partition* FindPartition(std::string_view name) const;
301 bool AddLinearExtent(Partition* partition, const std::string& block_device,
317 bool ResizePartition(Partition* partition, uint64_t requested_size,
321 std::vector<Partition*> ListPartitionsInGroup(std::string_view group_name);
327 bool ChangePartitionGroup(Partition* partition, std::string_view group_name);
[all …]
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp51 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
66 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
128 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
210 Partition* a = builder->AddPartition("a", 0); in TEST_F()
212 Partition* b = builder->AddPartition("b", 0); in TEST_F()
255 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
270 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
271 Partition* vendor = builder->AddPartition("vendor", LP_PARTITION_ATTR_READONLY); in TEST_F()
304 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
323 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
[all …]
Dutility_test.cpp106 static std::vector<LinearExtent> GetPartitionExtents(Partition* p) { in GetPartitionExtents()
123 Partition* system_a = builder->AddPartition("system_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
126 Partition* vendor_a = builder->AddPartition("vendor_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
131 Partition* system_b = builder->AddPartition("system_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
134 Partition* vendor_b = builder->AddPartition("vendor_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
Dbuilder.cpp98 Partition::Partition(std::string_view name, std::string_view group_name, uint32_t attributes) in Partition() function in android::fs_mgr::Partition
101 void Partition::AddExtent(std::unique_ptr<Extent>&& extent) { in AddExtent()
121 void Partition::RemoveExtents() { in RemoveExtents()
126 void Partition::ShrinkTo(uint64_t aligned_size) { in ShrinkTo()
149 Partition Partition::GetBeginningExtents(uint64_t aligned_size) const { in GetBeginningExtents()
150 Partition p(name_, group_name_, attributes_); in GetBeginningExtents()
163 uint64_t Partition::BytesOnDisk() const { in BytesOnDisk()
335 Partition* builder = in Init()
345 void MetadataBuilder::ImportExtents(Partition* dest, const LpMetadata& metadata, in ImportExtents()
530 Partition* MetadataBuilder::AddPartition(const std::string& name, uint32_t attributes) { in AddPartition()
[all …]
/system/update_engine/payload_consumer/
Dverity_writer_android.h34 bool Init(const InstallPlan::Partition& partition) override;
53 const InstallPlan::Partition* partition_ = nullptr;
Dinstall_plan.h93 struct Partition { struct
94 bool operator==(const Partition& that) const;
130 std::vector<Partition> partitions;
Dinstall_plan.cc114 for (Partition& partition : partitions) { in LoadPartitionsFromSlots()
136 bool InstallPlan::Partition::operator==( in operator ==()
137 const InstallPlan::Partition& that) const { in operator ==()
Dverity_writer_stub.cc29 bool VerityWriterStub::Init(const InstallPlan::Partition& partition) { in Init()
Dverity_writer_stub.h29 bool Init(const InstallPlan::Partition& partition) override;
Dverity_writer_interface.h33 virtual bool Init(const InstallPlan::Partition& partition) = 0;
Dfilesystem_verifier_action.cc110 const InstallPlan::Partition& partition = in StartPartitionHashing()
173 const InstallPlan::Partition& partition = in ScheduleRead()
264 InstallPlan::Partition& partition = in FinishPartitionHashing()
Dfilesystem_verifier_action_unittest.cc125 InstallPlan::Partition part; in DoTest()
244 InstallPlan::Partition part; in TEST_F()
292 InstallPlan::Partition part; in TEST_F()
355 InstallPlan::Partition part; in TEST_F()
Ddelta_performer_fuzzer.cc57 .partitions = {InstallPlan::Partition{ in FuzzDeltaPerformer()
Dverity_writer_android_unittest.cc41 InstallPlan::Partition partition_;
Dpostinstall_runner_action_unittest.cc185 InstallPlan::Partition part; in RunPostinstallAction()
346 InstallPlan::Partition part; in TEST_F()
Dverity_writer_android.cc41 bool VerityWriterAndroid::Init(const InstallPlan::Partition& partition) { in Init()
/system/update_engine/payload_generator/
Dpayload_file.h87 struct Partition { struct
101 std::vector<Partition> part_vec_; argument
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto29 message Partition { message
40 repeated Partition partitions = 3;
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp129 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents()

12