Searched refs:SlotSuffixForSlotNumber (Results 1 – 11 of 11) sorted by relevance
38 TEST(liblp, SlotSuffixForSlotNumber) { in TEST() argument39 EXPECT_EQ(SlotSuffixForSlotNumber(0), "_a"); in TEST()40 EXPECT_EQ(SlotSuffixForSlotNumber(1), "_b"); in TEST()
170 std::string SlotSuffixForSlotNumber(uint32_t slot_number) { in SlotSuffixForSlotNumber() function226 std::string source_slot_suffix = SlotSuffixForSlotNumber(source_slot_number); in UpdateMetadataForInPlaceSnapshot()227 std::string target_slot_suffix = SlotSuffixForSlotNumber(target_slot_number); in UpdateMetadataForInPlaceSnapshot()
269 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()
332 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in UpdatePartitionTable()
399 std::string slot_suffix = SlotSuffixForSlotNumber(slot_number); in AdjustMetadataForSlot()
34 using android::fs_mgr::SlotSuffixForSlotNumber;41 : builder_(builder), target_suffix_(SlotSuffixForSlotNumber(target_slot)) { in SnapshotMetadataUpdater()
33 using android::fs_mgr::SlotSuffixForSlotNumber;52 target_suffix_ = SlotSuffixForSlotNumber(target_slot_); in SetUp()53 SnapshotTestPropertyFetcher::SetUp(SlotSuffixForSlotNumber(1 - target_slot_)); in SetUp()
72 using android::fs_mgr::SlotSuffixForSlotNumber;2169 auto flashed_slot_suffix = SlotSuffixForSlotNumber(flashed_slot); in TEST_P()
68 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()
117 std::string SlotSuffixForSlotNumber(uint32_t slot_number);
123 return super_partition + SlotSuffixForSlotNumber(slot.value());