Searched refs:new_slot (Results 1 – 2 of 2) sorted by relevance
72 new_slot = (slot + 1) % num_slots73 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))80 self.assertEqual(new_slot, self.bootctl.get_current_slot())94 new_slot = (slot + 1) % num_slots97 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))98 self.assertTrue(self.bootctl.is_slot_bootable(new_slot))99 self.assertTrue(self.bootctl.set_slot_as_unbootable_slot(new_slot))100 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))106 self.assertFalse(self.bootctl.is_slot_bootable(new_slot))107 self.assertTrue(self.bootctl.set_active_boot_slot(new_slot))[all …]
100 Result<uint8_t> new_slot = GetEmptySlot(); in AddVBMetaImage() local101 if (!new_slot.ok()) { in AddVBMetaImage()102 return new_slot; in AddVBMetaImage()104 slot_number = new_slot.value(); in AddVBMetaImage()