Searched refs:GetPartitionSlotSuffix (Results 1 – 7 of 7) sorted by relevance
87 TEST(liblp, GetPartitionSlotSuffix) { in TEST() argument88 EXPECT_EQ(GetPartitionSlotSuffix("system"), ""); in TEST()89 EXPECT_EQ(GetPartitionSlotSuffix("_"), ""); in TEST()90 EXPECT_EQ(GetPartitionSlotSuffix("_a"), ""); in TEST()91 EXPECT_EQ(GetPartitionSlotSuffix("system_a"), "_a"); in TEST()92 EXPECT_EQ(GetPartitionSlotSuffix("system_b"), "_b"); in TEST()
162 std::string GetPartitionSlotSuffix(const std::string& partition_name) { in GetPartitionSlotSuffix() function234 std::string slot_suffix = GetPartitionSlotSuffix(group_name); in UpdateMetadataForInPlaceSnapshot()252 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForInPlaceSnapshot()
259 std::string slot_suffix = GetPartitionSlotSuffix(super_partition); in FlashPartitionTable()
277 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForOtherSuper()719 if (IsABDevice() && ShouldHalveSuper() && GetPartitionSlotSuffix(partition->name()) == "_b") { in GrowPartition()
233 if (GetPartitionSlotSuffix(super_partition).empty()) { in GetSuperSlotSuffix()238 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in GetSuperSlotSuffix()
206 if (!slot_suffix.empty() && GetPartitionSlotSuffix(partition_name) == slot_suffix) { in UpdateSuper()
118 std::string GetPartitionSlotSuffix(const std::string& partition_name);