Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h109 class Partition final {
113 Partition(std::string_view name, std::string_view group_name, uint32_t attributes);
136 Partition GetBeginningExtents(uint64_t aligned_size) const;
260 Partition* AddPartition(std::string_view name, std::string_view group_name,
265 Partition* AddPartition(const std::string& name, uint32_t attributes);
271 Partition* FindPartition(std::string_view name);
277 bool AddLinearExtent(Partition* partition, const std::string& block_device,
293 bool ResizePartition(Partition* partition, uint64_t requested_size,
297 std::vector<Partition*> ListPartitionsInGroup(std::string_view group_name);
303 bool ChangePartitionGroup(Partition* partition, std::string_view group_name);
[all …]
/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()
Dpartition_cow_creator.cpp29 using android::fs_mgr::Partition;
55 bool PartitionCowCreator::HasExtent(Partition* p, Extent* e) { in HasExtent()
Dsnapshot_metadata_updater.cpp33 using android::fs_mgr::Partition;
61 partitions_.emplace_back(Partition{p.partition_name() + target_suffix_, in SnapshotMetadataUpdater()
Dutility.h111 std::vector<android::fs_mgr::Partition*> ListPartitionsWithSuffix(
/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()
254 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
269 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
270 Partition* vendor = builder->AddPartition("vendor", LP_PARTITION_ATTR_READONLY); in TEST_F()
303 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
322 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
[all …]
Dutility_test.cpp91 static std::vector<LinearExtent> GetPartitionExtents(Partition* p) { in GetPartitionExtents()
108 Partition* system_a = builder->AddPartition("system_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
111 Partition* vendor_a = builder->AddPartition("vendor_a", "group_a", LP_PARTITION_ATTR_READONLY); in TEST()
116 Partition* system_b = builder->AddPartition("system_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
119 Partition* vendor_b = builder->AddPartition("vendor_b", "group_b", LP_PARTITION_ATTR_READONLY); in TEST()
Dbuilder.cpp66 Partition::Partition(std::string_view name, std::string_view group_name, uint32_t attributes) in Partition() function in android::fs_mgr::Partition
69 void Partition::AddExtent(std::unique_ptr<Extent>&& extent) { in AddExtent()
89 void Partition::RemoveExtents() { in RemoveExtents()
94 void Partition::ShrinkTo(uint64_t aligned_size) { in ShrinkTo()
117 Partition Partition::GetBeginningExtents(uint64_t aligned_size) const { in GetBeginningExtents()
118 Partition p(name_, group_name_, attributes_); in GetBeginningExtents()
131 uint64_t Partition::BytesOnDisk() const { in BytesOnDisk()
303 Partition* builder = in Init()
313 void MetadataBuilder::ImportExtents(Partition* dest, const LpMetadata& metadata, in ImportExtents()
485 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.h91 struct Partition { struct
92 bool operator==(const Partition& that) const;
128 std::vector<Partition> partitions;
Dinstall_plan.cc108 for (Partition& partition : partitions) { in LoadPartitionsFromSlots()
130 bool InstallPlan::Partition::operator==( in operator ==()
131 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.cc87 const InstallPlan::Partition& partition = in StartPartitionHashing()
150 const InstallPlan::Partition& partition = in ScheduleRead()
235 InstallPlan::Partition& partition = in FinishPartitionHashing()
Dfilesystem_verifier_action_unittest.cc123 InstallPlan::Partition part; in DoTest()
240 InstallPlan::Partition part; in TEST_F()
288 InstallPlan::Partition part; in TEST_F()
351 InstallPlan::Partition part; in TEST_F()
Dverity_writer_android_unittest.cc41 InstallPlan::Partition partition_;
Dpostinstall_runner_action_unittest.cc176 InstallPlan::Partition part; in RunPostinstallAction()
316 InstallPlan::Partition part; in TEST_F()
/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()
/system/sepolicy/prebuilts/api/27.0/public/
Ddevice.te73 # Partition layout block device
/system/sepolicy/prebuilts/api/26.0/public/
Ddevice.te73 # Partition layout block device

12