Home
last modified time | relevance | path

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

12

/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h103 class Partition final {
107 Partition(const std::string& name, const std::string& group_name, uint32_t attributes);
215 Partition* AddPartition(const std::string& name, const std::string& group_name,
220 Partition* AddPartition(const std::string& name, uint32_t attributes);
226 Partition* FindPartition(const std::string& name);
232 bool AddLinearExtent(Partition* partition, const std::string& block_device,
245 bool ResizePartition(Partition* partition, uint64_t requested_size);
248 std::vector<Partition*> ListPartitionsInGroup(const std::string& group_name);
254 bool ChangePartitionGroup(Partition* partition, const std::string& group_name);
298 bool GrowPartition(Partition* partition, uint64_t aligned_size);
[all …]
/system/core/fs_mgr/liblp/
Dbuilder_test.cpp50 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
65 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
120 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
202 Partition* a = builder->AddPartition("a", 0); in TEST_F()
204 Partition* b = builder->AddPartition("b", 0); in TEST_F()
246 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
261 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
262 Partition* vendor = builder->AddPartition("vendor", LP_PARTITION_ATTR_READONLY); in TEST_F()
295 Partition* partition = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
314 Partition* system = builder->AddPartition("system", LP_PARTITION_ATTR_READONLY); in TEST_F()
[all …]
Dbuilder.cpp53 Partition::Partition(const std::string& name, const std::string& group_name, uint32_t attributes) in Partition() function in android::fs_mgr::Partition
56 void Partition::AddExtent(std::unique_ptr<Extent>&& extent) { in AddExtent()
76 void Partition::RemoveExtents() { in RemoveExtents()
81 void Partition::ShrinkTo(uint64_t aligned_size) { in ShrinkTo()
104 uint64_t Partition::BytesOnDisk() const { in BytesOnDisk()
246 Partition* builder = in Init()
256 void MetadataBuilder::ImportExtents(Partition* dest, const LpMetadata& metadata, in ImportExtents()
428 Partition* MetadataBuilder::AddPartition(const std::string& name, uint32_t attributes) { in AddPartition()
432 Partition* MetadataBuilder::AddPartition(const std::string& name, const std::string& group_name, in AddPartition()
451 partitions_.push_back(std::make_unique<Partition>(name, group_name, 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.cc100 for (Partition& partition : partitions) { in LoadPartitionsFromSlots()
122 bool InstallPlan::Partition::operator==( in operator ==()
123 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_;
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/update_engine/common/
Dboot_control_interface.h39 struct Partition { struct
46 std::vector<Partition> partitions;
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto29 message Partition { message
40 repeated Partition partitions = 3;
Dlpdump.cc158 static DynamicPartitionsDeviceInfoProto::Partition* FindPartition( in FindPartition()
160 for (DynamicPartitionsDeviceInfoProto::Partition& p : *proto->mutable_partitions()) { in FindPartition()
/system/update_engine/
Dboot_control_android.cc37 using android::fs_mgr::Partition;
348 Partition* p = builder->AddPartition( in UpdatePartitionMetadata()
/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
/system/gsid/
Dgsi_service.h108 android::fs_mgr::Partition* partition, const Image& image,
/system/sepolicy/prebuilts/api/28.0/public/
Ddevice.te76 # Partition layout block device
/system/core/fastboot/device/
Dcommands.cpp384 Partition* partition = builder->AddPartition(partition_name, 0); in CreatePartitionHandler()
440 Partition* partition = builder->FindPartition(partition_name); in ResizePartitionHandler()
/system/sepolicy/prebuilts/api/29.0/public/
Ddevice.te67 # Partition layout block device
/system/sepolicy/public/
Ddevice.te67 # Partition layout block device

12