Searched refs:SlotNumberForSlotSuffix (Results 1 – 13 of 13) sorted by relevance
28 TEST(liblp, SlotNumberForSlotSuffix) { in TEST() argument29 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()
58 auto slot_number = SlotNumberForSlotSuffix(slot_suffix); in TEST_F()75 auto other_slot_number = SlotNumberForSlotSuffix(other_slot_suffix); in TEST_F()
116 uint32_t SlotNumberForSlotSuffix(const std::string& suffix) { in SlotNumberForSlotSuffix() function
55 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()
194 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in UpdateSuper()
444 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
442 slot_number_ = android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in PartitionBuilder()
41 using android::fs_mgr::SlotNumberForSlotSuffix;100 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReportUpdateAttemptMetrics()
140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions()150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata()
468 return SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in fs_mgr_overlayfs_slot_number()
116 uint32_t SlotNumberForSlotSuffix(const std::string& suffix);
74 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 …]
425 slot = SlotNumberForSlotSuffix(optarg); in LpdumpMain()462 slot = SlotNumberForSlotSuffix(current_slot_suffix); in LpdumpMain()