Home
last modified time | relevance | path

Searched refs:super_name (Results 1 – 10 of 10) sorted by relevance

/aosp14/system/core/fastboot/
H A Dtask.cpp87 FlashSuperLayoutTask::FlashSuperLayoutTask(const std::string& super_name, in FlashSuperLayoutTask() argument
90 : super_name_(super_name), in FlashSuperLayoutTask()
129 std::string super_name; in Initialize() local
131 if (fp->fb->GetVar("super-partition-name", &super_name) != fastboot::SUCCESS) { in Initialize()
132 super_name = "super"; in Initialize()
193 std::string super_name; in InitializeFromTasks() local
196 super_name = "super"; in InitializeFromTasks()
256 std::string super_name; in Run() local
258 super_name = "super"; in Run()
260 fp_->fb->Download(super_name, fd, get_file_size(fd)); in Run()
[all …]
H A Dtask.h79 FlashSuperLayoutTask(const std::string& super_name, std::unique_ptr<SuperFlashHelper> helper,
/aosp14/system/core/fastboot/device/
H A Dflashing.cpp211 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper() argument
222 if (!FindPhysicalPartition(super_name)) { in UpdateSuper()
223 return device->WriteFail("Cannot find " + super_name + in UpdateSuper()
238 std::unique_ptr<LpMetadata> old_metadata = ReadMetadata(super_name, slot_number); in UpdateSuper()
240 if (!FlashPartitionTable(super_name, *new_metadata.get())) { in UpdateSuper()
284 if (!UpdateAllPartitionMetadata(device, super_name, *new_metadata.get())) { in UpdateSuper()
H A Dutility.cpp172 std::string super_name = fs_mgr_get_super_partition_name(current_slot); in ListPartitions() local
173 if (auto metadata = ReadMetadata(super_name, current_slot)) { in ListPartitions()
179 if (super_name != other_super) { in ListPartitions()
201 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata() argument
211 ok &= UpdatePartitionTable(super_name, metadata, i); in UpdateAllPartitionMetadata()
H A Dflashing.h25 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe);
H A Dutility.h131 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
/aosp14/system/core/fs_mgr/liblp/
H A Ddevice_test.cpp59 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()
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_roots.cpp96 std::string super_name = fs_mgr_get_super_partition_name(); in TryPathMount() local
97 if (!android::fs_mgr::CreateLogicalPartitions("/dev/block/by-name/" + super_name)) { in TryPathMount()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dmetadata.cpp84 auto super_name = android::base::Basename(data_device); in OpenOrCreateMetadata() local
85 builder = MetadataBuilder::New(block_devices, super_name, kMaxMetadataSize, 1); in OpenOrCreateMetadata()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dmain.cpp193 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()