Searched refs:super_name (Results 1 – 10 of 10) sorted by relevance
/system/core/fastboot/device/ |
D | flashing.cpp | 174 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper() argument 185 if (!FindPhysicalPartition(super_name)) { in UpdateSuper() 186 return device->WriteFail("Cannot find " + super_name + in UpdateSuper() 195 std::unique_ptr<LpMetadata> old_metadata = ReadMetadata(super_name, slot_number); in UpdateSuper() 197 if (!FlashPartitionTable(super_name, *new_metadata.get())) { in UpdateSuper() 237 if (!UpdateAllPartitionMetadata(device, super_name, *new_metadata.get())) { in UpdateSuper()
|
D | utility.cpp | 181 std::string super_name = fs_mgr_get_super_partition_name(current_slot); in ListPartitions() local 182 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions() 188 if (super_name != other_super) { in ListPartitions() 210 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata() argument 220 ok &= UpdatePartitionTable(super_name, metadata, i); in UpdateAllPartitionMetadata()
|
D | flashing.h | 25 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe);
|
D | utility.h | 88 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
|
/system/core/fs_mgr/liblp/ |
D | device_test.cpp | 59 auto super_name = fs_mgr_get_super_partition_name(slot_number); in TEST_F() local 60 auto metadata = ReadMetadata(super_name, slot_number); in TEST_F()
|
/system/core/fs_mgr/ |
D | fs_mgr_roots.cpp | 92 std::string super_name = fs_mgr_get_super_partition_name(); in EnsurePathMounted() local 93 if (!android::fs_mgr::CreateLogicalPartitions("/dev/block/by-name/" + super_name)) { in EnsurePathMounted()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 197 std::string super_name = "super"; in main() local 290 super_name = optarg; in main() 372 … block_devices.emplace_back(super_name, blockdevice_size, alignment, alignment_offset, block_size); in main() 381 MetadataBuilder::New(block_devices, super_name, metadata_size, metadata_slots); in main()
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 83 auto super_name = android::base::Basename(data_device); in OpenOrCreateMetadata() local 84 builder = MetadataBuilder::New(block_devices, super_name, kMaxMetadataSize, 1); in OpenOrCreateMetadata()
|
/system/core/fastboot/ |
D | fastboot.cpp | 1580 std::string super_name; in UpdateSuperPartition() local 1581 if (fb->GetVar("super-partition-name", &super_name) != fastboot::RetCode::SUCCESS) { in UpdateSuperPartition() 1582 super_name = "super"; in UpdateSuperPartition() 1584 fb->Download(super_name, fd, get_file_size(fd)); in UpdateSuperPartition() 1586 std::string command = "update-super:" + super_name; in UpdateSuperPartition()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | main.cpp | 193 std::string super_name; in TEST_F() local 194 EXPECT_EQ(fb->GetVar("super-partition-name", &super_name), SUCCESS) in TEST_F() 196 EXPECT_EQ(super_name, "super") << "'getvar super-partition-name' must return 'super' for " in TEST_F()
|