Home
last modified time | relevance | path

Searched refs:GetPartitionSlotSuffix (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/liblp/
Dutility_test.cpp87 TEST(liblp, GetPartitionSlotSuffix) { in TEST() argument
88 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()
Dutility.cpp162 std::string GetPartitionSlotSuffix(const std::string& partition_name) { in GetPartitionSlotSuffix() function
234 std::string slot_suffix = GetPartitionSlotSuffix(group_name); in UpdateMetadataForInPlaceSnapshot()
252 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForInPlaceSnapshot()
Dwriter.cpp259 std::string slot_suffix = GetPartitionSlotSuffix(super_partition); in FlashPartitionTable()
Dbuilder.cpp277 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in UpdateMetadataForOtherSuper()
719 if (IsABDevice() && ShouldHalveSuper() && GetPartitionSlotSuffix(partition->name()) == "_b") { in GrowPartition()
/system/core/fastboot/device/
Dutility.cpp233 if (GetPartitionSlotSuffix(super_partition).empty()) { in GetSuperSlotSuffix()
238 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in GetSuperSlotSuffix()
Dflashing.cpp206 if (!slot_suffix.empty() && GetPartitionSlotSuffix(partition_name) == slot_suffix) { in UpdateSuper()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h118 std::string GetPartitionSlotSuffix(const std::string& partition_name);