Home
last modified time | relevance | path

Searched refs:GetPartitionSlotSuffix (Results 1 – 8 of 8) 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()
714 if (IsABDevice() && ShouldHalveSuper() && GetPartitionSlotSuffix(partition->name()) == "_b") { in GrowPartition()
/system/core/fastboot/device/
Dutility.cpp231 if (GetPartitionSlotSuffix(super_partition).empty()) { in GetSuperSlotSuffix()
236 std::string slot_suffix = GetPartitionSlotSuffix(partition_name); in GetSuperSlotSuffix()
Dflashing.cpp209 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);
/system/core/fs_mgr/libsnapshot/
Dutility.cpp191 auto suffix = android::fs_mgr::GetPartitionSlotSuffix(name); in GetOtherPartitionName()