Searched refs:SlotNumberForSlotSuffix (Results 1 – 12 of 12) 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()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()
191 uint32_t slot_number = SlotNumberForSlotSuffix(slot_suffix); in UpdateSuper()
438 uint32_t slot_number = SlotNumberForSlotSuffix(device->GetCurrentSlot()); in GetSuperPartitionName()
392 slot_number_ = android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in PartitionBuilder()
140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions()150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata()
435 return SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in fs_mgr_overlayfs_slot_number()
116 uint32_t SlotNumberForSlotSuffix(const std::string& suffix);
67 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 …]
425 slot = SlotNumberForSlotSuffix(optarg); in LpdumpMain()462 slot = SlotNumberForSlotSuffix(current_slot_suffix); in LpdumpMain()