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()1310 auto target_partition_name = base_name + SlotSuffixForSlotNumber(target_slot_number); in VerifyExtentsAgainstSourceMetadata()1318 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()
60 using android::fs_mgr::SlotSuffixForSlotNumber;138 SlotSuffixForSlotNumber(target_slot_)) > 0 && in OptimizeOperation()690 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in EraseSystemOtherAvbFooter()723 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in PrepareDynamicPartitionsForUpdate()800 const std::string target_suffix = SlotSuffixForSlotNumber(target_slot); in UpdatePartitionMetadata()893 partition_name + SlotSuffixForSlotNumber(slot); in GetPartitionDevice()1044 const std::string source_suffix = SlotSuffixForSlotNumber(source_slot); in DeleteSourcePartitions()1103 auto suffix = SlotSuffixForSlotNumber(current_slot); in ListDynamicPartitionsForSlot()
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()
68 using android::fs_mgr::SlotSuffixForSlotNumber;1729 auto flashed_slot_suffix = SlotSuffixForSlotNumber(flashed_slot); in TEST_P()
117 std::string SlotSuffixForSlotNumber(uint32_t slot_number);
123 return super_partition + SlotSuffixForSlotNumber(slot.value());