Home
last modified time | relevance | path

Searched refs:SlotNumberForSlotSuffix (Results 1 – 12 of 12) sorted by relevance

/system/core/fs_mgr/liblp/
Dutility_test.cpp28 TEST(liblp, SlotNumberForSlotSuffix) { in TEST() argument
29 EXPECT_EQ(SlotNumberForSlotSuffix(""), 0); in TEST()
30 EXPECT_EQ(SlotNumberForSlotSuffix("a"), 0); in TEST()
31 EXPECT_EQ(SlotNumberForSlotSuffix("_a"), 0); in TEST()
32 EXPECT_EQ(SlotNumberForSlotSuffix("b"), 1); in TEST()
33 EXPECT_EQ(SlotNumberForSlotSuffix("_b"), 1); in TEST()
34 EXPECT_EQ(SlotNumberForSlotSuffix("_c"), 0); in TEST()
35 EXPECT_EQ(SlotNumberForSlotSuffix("_d"), 0); in TEST()
Ddevice_test.cpp58 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in TEST_F()
75 auto other_slot_number = SlotNumberForSlotSuffix(other_slot_suffix); in TEST_F()
Dutility.cpp116 uint32_t SlotNumberForSlotSuffix(const std::string& suffix) { in SlotNumberForSlotSuffix() function
/system/core/fastboot/device/
Dutility.cpp55 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in OpenLogicalPartition()
125 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in LogicalPartitionExists()
177 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions()
231 uint32_t current_slot_number = SlotNumberForSlotSuffix(current_slot_suffix); in GetSuperSlotSuffix()
Dflashing.cpp191 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in UpdateSuper()
Dvariables.cpp438 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
Dcommands.cpp392 slot_number_ = android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in PartitionBuilder()
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions()
150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata()
Dfs_mgr_overlayfs.cpp435 return SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in fs_mgr_overlayfs_slot_number()
/system/core/fs_mgr/liblp/include/liblp/
Dliblp.h116 uint32_t SlotNumberForSlotSuffix(const std::string& suffix);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp67 using android::fs_mgr::SlotNumberForSlotSuffix;
1161 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice()
1237 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata()
1292 uint32_t source_slot = SlotNumberForSlotSuffix(source_slot_suffix); in GetSnapshotFlashingStatus()
1545 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions()
2150 uint32_t current_slot = SlotNumberForSlotSuffix(current_suffix); in CreateUpdateSnapshots()
2152 uint32_t target_slot = SlotNumberForSlotSuffix(target_suffix); in CreateUpdateSnapshots()
2444 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitions()
2560 auto slot_number = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in HandleImminentDataWipe()
2600 auto slot_number = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in FinishMergeInRecovery()
[all …]
/system/extras/partition_tools/
Dlpdump.cc425 slot = SlotNumberForSlotSuffix(optarg); in LpdumpMain()
462 slot = SlotNumberForSlotSuffix(current_slot_suffix); in LpdumpMain()