Home
last modified time | relevance | path

Searched refs:GetSlotSuffix (Results 1 – 9 of 9) sorted by relevance

/aosp12/system/extras/partition_tools/
H A Dlpdump.cc111 static std::string GetSlotSuffix() { in GetSlotSuffix() function
125 return super_partition + GetSlotSuffix();
142 std::string slot_suffix = GetSlotSuffix(); in MergeMetadata()
460 auto current_slot_suffix = GetSlotSuffix(); in LpdumpMain()
/aosp12/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dmock_device_info.h26 MOCK_METHOD(std::string, GetSlotSuffix, (), (const, override));
H A Dsnapshot.h101 virtual std::string GetSlotSuffix() const = 0;
/aosp12/system/core/fs_mgr/libsnapshot/
H A Ddevice_info.h33 std::string GetSlotSuffix() const override;
H A Ddevice_info.cpp43 std::string DeviceInfo::GetSlotSuffix() const { in GetSlotSuffix() function in android::snapshot::DeviceInfo
H A Dsnapshot.cpp228 if (device_->GetSlotSuffix() == contents) { in GetCurrentSlot()
237 return device_->GetSlotSuffix(); in GetSnapshotSlotSuffix()
320 auto contents = device_->GetSlotSuffix(); in FinishedSnapshotWrites()
575 auto slot_suffix = device_->GetSlotSuffix(); in MapSourceDevice()
1402 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice()
1604 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata()
1931 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions()
2755 auto current_suffix = device_->GetSlotSuffix(); in CreateUpdateSnapshots()
3274 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitionsInRecovery()
3313 ss << "Current slot: " << device_->GetSlotSuffix() << std::endl; in Dump()
[all …]
H A Dsnapshot_fuzz_utils.h117 std::string GetSlotSuffix() const override { return CurrentSlotIsA() ? "_a" : "_b"; } in GetSlotSuffix() function
H A Dsnapshot_fuzz.cpp344 ASSERT_EQ("_b", test_module_.device_info->GetSlotSuffix()); in TEST_F()
/aosp12/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
H A Dtest_helpers.h81 std::string GetSlotSuffix() const override { return slot_suffix_; } in GetSlotSuffix() function