Home
last modified time | relevance | path

Searched refs:SlotSuffixForSlotNumber (Results 1 – 11 of 11) sorted by relevance

/system/core/fs_mgr/liblp/
Dutility_test.cpp38 TEST(liblp, SlotSuffixForSlotNumber) { in TEST() argument
39 EXPECT_EQ(SlotSuffixForSlotNumber(0), "_a"); in TEST()
40 EXPECT_EQ(SlotSuffixForSlotNumber(1), "_b"); in TEST()
Dutility.cpp170 std::string SlotSuffixForSlotNumber(uint32_t slot_number) { in SlotSuffixForSlotNumber() function
226 std::string source_slot_suffix = SlotSuffixForSlotNumber(source_slot_number); in UpdateMetadataForInPlaceSnapshot()
227 std::string target_slot_suffix = SlotSuffixForSlotNumber(target_slot_number); in UpdateMetadataForInPlaceSnapshot()
Dbuilder.cpp269 std::string source_slot_suffix = SlotSuffixForSlotNumber(source_slot_number); in UpdateMetadataForOtherSuper()
270 std::string target_slot_suffix = SlotSuffixForSlotNumber(target_slot_number); in UpdateMetadataForOtherSuper()
1305 auto target_partition_name = base_name + SlotSuffixForSlotNumber(target_slot_number); in VerifyExtentsAgainstSourceMetadata()
1313 auto source_partition_name = base_name + SlotSuffixForSlotNumber(source_slot_number); in VerifyExtentsAgainstSourceMetadata()
Dwriter.cpp332 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in UpdatePartitionTable()
Dreader.cpp399 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in AdjustMetadataForSlot()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_metadata_updater.cpp34 using android::fs_mgr::SlotSuffixForSlotNumber;
41 : builder_(builder), target_suffix_(SlotSuffixForSlotNumber(target_slot)) { in SnapshotMetadataUpdater()
Dsnapshot_metadata_updater_test.cpp33 using android::fs_mgr::SlotSuffixForSlotNumber;
52 target_suffix_ = SlotSuffixForSlotNumber(target_slot_); in SetUp()
53 SnapshotTestPropertyFetcher::SetUp(SlotSuffixForSlotNumber(1 - target_slot_)); in SetUp()
Dsnapshot_test.cpp72 using android::fs_mgr::SlotSuffixForSlotNumber;
2169 auto flashed_slot_suffix = SlotSuffixForSlotNumber(flashed_slot); in TEST_P()
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc68 using android::fs_mgr::SlotSuffixForSlotNumber;
164 SlotSuffixForSlotNumber(target_slot_)) > 0 && in OptimizeOperation()
764 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in EraseSystemOtherAvbFooter()
797 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in PrepareDynamicPartitionsForUpdate()
988 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in UpdatePartitionMetadata()
1115 partition_name + SlotSuffixForSlotNumber(slot); in GetPartitionDevice()
1261 const std::string source_suffix = SlotSuffixForSlotNumber(source_slot); in DeleteSourcePartitions()
1338 auto suffix = SlotSuffixForSlotNumber(slot); in ListDynamicPartitionsForSlot()
1406 auto suffix = SlotSuffixForSlotNumber(target_slot_); in OpenCowWriter()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h117 std::string SlotSuffixForSlotNumber(uint32_t slot_number);
/system/extras/partition_tools/
Dlpdump.cc123 return super_partition + SlotSuffixForSlotNumber(slot.value());