Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dmock_device_info.h26 MOCK_METHOD(std::string, GetSlotSuffix, (), (const, override));
Dsnapshot.h101 virtual std::string GetSlotSuffix() const = 0;
/system/core/fs_mgr/libsnapshot/
Ddevice_info.h33 std::string GetSlotSuffix() const override;
Ddevice_info.cpp43 std::string DeviceInfo::GetSlotSuffix() const { in GetSlotSuffix() function in android::snapshot::DeviceInfo
Dsnapshot.cpp225 if (device_->GetSlotSuffix() == contents) { in GetCurrentSlot()
234 return device_->GetSlotSuffix(); in GetSnapshotSlotSuffix()
317 auto contents = device_->GetSlotSuffix(); in FinishedSnapshotWrites()
565 auto slot_suffix = device_->GetSlotSuffix(); in MapSourceDevice()
1382 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice()
1577 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata()
1695 if (should_unmap && android::base::EndsWith(name, device_->GetSlotSuffix())) { in RemoveAllSnapshots()
1904 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions()
2723 auto current_suffix = device_->GetSlotSuffix(); in CreateUpdateSnapshots()
3242 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitionsInRecovery()
[all …]
Dsnapshot_fuzz_utils.h117 std::string GetSlotSuffix() const override { return CurrentSlotIsA() ? "_a" : "_b"; } in GetSlotSuffix() function
Dsnapshot_fuzz.cpp344 ASSERT_EQ("_b", test_module_.device_info->GetSlotSuffix()); in TEST_F()
/system/extras/partition_tools/
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()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h81 std::string GetSlotSuffix() const override { return slot_suffix_; } in GetSlotSuffix() function