Searched refs:suffix (Results 1 – 6 of 6) sorted by relevance
/bootable/libbootloader/gbl/libgbl/src/slots/ |
D | fuchsia.rs | 164 let (suffix, &abr_slot) = zip(lower_ascii_suffixes, self.get_data().slot_data.iter()) in get_slot_by_number() 174 Ok(Slot { suffix, priority: abr_slot.priority.into(), bootability }) in get_slot_by_number() 182 .max_by_key(|slot| (slot.priority, slot.suffix.rank())) in get_boot_target() 225 let (idx, slot) = self.get_index_and_slot_with_suffix(target_slot.suffix)?; in mark_boot_attempt() 295 .find(|(_, s)| s.suffix == slot_suffix) in get_index_and_slot_with_suffix() 312 suffix: 'a'.into(), in test_slot_block_defaults() 317 suffix: 'b'.into(), in test_slot_block_defaults() 329 let slot = Slot { suffix: 'a'.into(), ..Default::default() }; in test_suffix() 330 assert_eq!(BootTarget::Recovery(RecoveryTarget::Dedicated).suffix(), 'r'.into()); in test_suffix() 331 assert_eq!(BootTarget::Recovery(RecoveryTarget::Slotted(slot)).suffix(), slot.suffix); in test_suffix() [all …]
|
D | android.rs | 266 let (suffix, &slot_data) = zip(lower_ascii_suffixes, control.slot_metadata.iter()) in get_slot_by_number() 278 Ok(Slot { suffix, priority: slot_data.priority().into(), bootability }) in get_slot_by_number() 290 .max_by_key(|slot| (slot.priority, slot.suffix.rank())) in get_boot_target() 306 .find(|(_, slot)| slot.suffix == slot_suffix) in set_slot_unbootable() 325 .find(|s| s.suffix == slot.suffix) in mark_boot_attempt() 326 .ok_or(Error::NoSuchSlot(slot.suffix))?; in mark_boot_attempt() 334 .find(|(_, slot)| slot.suffix == target_slot.suffix) in mark_boot_attempt() 335 .ok_or(Error::NoSuchSlot(target_slot.suffix))?; in mark_boot_attempt() 354 .position(|s| s.suffix == slot_suffix) in set_active_slot() 395 suffix: c.into(), in test_slot_block_defaults() [all …]
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | slots.rs | 192 pub suffix: Suffix, field 243 pub fn suffix(&self) -> Suffix { in suffix() method 245 Self::NormalBoot(slot) | Self::Recovery(RecoveryTarget::Slotted(slot)) => slot.suffix, in suffix() 339 self.slots_iter().max_by_key(|slot| (slot.priority, slot.suffix.rank())).unwrap() in get_slot_last_set_active()
|
D | lib.rs | 223 if let Some(tgt) = boot_target { tgt.suffix().into() } else { Default::default() }; in load_and_verify_image() 487 slot.suffix, in lvb_inner()
|
/bootable/libbootloader/gbl/libgbl/testdata/ |
D | gen_test_data.py | 83 for suffix in ["a", "b", "r"]: 84 random.seed(RNG_SEED_ZIRCON[suffix])
|
/bootable/recovery/tools/image_generator/ |
D | ImageGenerator.java | 386 for (String suffix : suffixes) { in loadFontsByLocale() 387 File fontFile = new File(mFontDirPath, fontName + suffix); in loadFontsByLocale()
|