Searched refs:GetPartitionSlotSuffix (Results 1 – 8 of 8) 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()714 if (IsABDevice() && ShouldHalveSuper() && GetPartitionSlotSuffix(partition->name()) == "_b") { in GrowPartition()
231 if (GetPartitionSlotSuffix(super_partition).empty()) { in GetSuperSlotSuffix()236 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in GetSuperSlotSuffix()
209 if (!slot_suffix.empty() && GetPartitionSlotSuffix(partition_name) == slot_suffix) { in UpdateSuper()
118 std::string GetPartitionSlotSuffix(const std::string& partition_name);
191 auto suffix = android::fs_mgr::GetPartitionSlotSuffix(name); in GetOtherPartitionName()