Home
last modified time | relevance | path

Searched refs:SlotNumberForSlotSuffix (Results 1 – 13 of 13) 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()
128 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in LogicalPartitionExists()
180 uint32_t current_slot = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in ListPartitions()
229 uint32_t current_slot_number = SlotNumberForSlotSuffix(current_slot_suffix); in GetSuperSlotSuffix()
Dflashing.cpp194 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in UpdateSuper()
Dvariables.cpp444 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
Dcommands.cpp442 slot_number_ = android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in PartitionBuilder()
/system/update_engine/aosp/
Dmetrics_reporter_android.cc41 using android::fs_mgr::SlotNumberForSlotSuffix;
100 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReportUpdateAttemptMetrics()
/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.cpp468 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.cpp74 using android::fs_mgr::SlotNumberForSlotSuffix;
566 auto slot = SlotNumberForSlotSuffix(slot_suffix); in MapSourceDevice()
1382 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice()
1577 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata()
1632 uint32_t source_slot = SlotNumberForSlotSuffix(source_slot_suffix); in GetSnapshotFlashingStatus()
1904 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions()
2324 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in MapAllSnapshots()
2724 uint32_t current_slot = SlotNumberForSlotSuffix(current_suffix); in CreateUpdateSnapshots()
2726 uint32_t target_slot = SlotNumberForSlotSuffix(target_suffix); in CreateUpdateSnapshots()
3242 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitionsInRecovery()
[all …]
/system/extras/partition_tools/
Dlpdump.cc425 slot = SlotNumberForSlotSuffix(optarg); in LpdumpMain()
462 slot = SlotNumberForSlotSuffix(current_slot_suffix); in LpdumpMain()