Home
last modified time | relevance | path

Searched refs:slots_iter (Results 1 – 3 of 3) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs283 fn slots_iter(&self) -> SlotIterator { in slots_iter() method
288 self.slots_iter() in get_boot_target()
304 .slots_iter() in set_slot_unbootable()
324 self.slots_iter() in mark_boot_attempt()
332 .slots_iter() in mark_boot_attempt()
353 .slots_iter() in set_active_slot()
400 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_defaults()
420 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_fewer_slots()
432 assert_eq!(sb.slots_iter().count(), MAX_SLOTS.into()); in test_slot_block_slot_count_saturates()
488 let a_slot = sb.slots_iter().next().unwrap(); in test_get_boot_target_recovery()
[all …]
Dfuchsia.rs180 self.slots_iter() in get_boot_target()
186 fn slots_iter(&self) -> SlotIterator { in slots_iter() method
293 self.slots_iter() in get_index_and_slot_with_suffix()
322 let actual: Vec<Slot> = sb.slots_iter().collect(); in test_slot_block_defaults()
374 sb.slots_iter().next().unwrap(), in test_slot_mark_boot_attempt()
408 sb.slots_iter().next().unwrap(), in test_slot_mark_boot_attempt_no_more_tries()
461 assert_eq!(sb.slots_iter()
484 let v: Vec<Slot> = sb.slots_iter().collect(); in test_no_bootable_slots_boot_recovery()
497 let v: Vec<Slot> = sb.slots_iter().collect(); in test_set_active_slot()
516 let v: Vec<Slot> = sb.slots_iter().collect(); in test_get_slot_last_set_active()
[all …]
/bootable/libbootloader/gbl/libgbl/src/
Dslots.rs328 fn slots_iter(&self) -> SlotIterator; in slots_iter() method
339 self.slots_iter().max_by_key(|slot| (slot.priority, slot.suffix.rank())).unwrap() in get_slot_last_set_active()