Lines Matching defs:Error
85 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error>; in should_stop_in_fastboot() argument
99 fn reboot_recovery(&mut self) -> Result<impl FnOnce() + '_, Error> { in reboot_recovery() argument
111 fn reboot_bootloader(&mut self) -> Result<impl FnOnce() + '_, Error> { in reboot_bootloader() argument
141 ) -> Result<(), Error> { in read_from_partition() argument
151 ) -> Result<(), Error> { in read_from_partition_sync() argument
161 ) -> Result<(), Error> { in write_to_partition() argument
171 ) -> Result<(), Error> { in write_to_partition_sync() argument
176 fn partition_size(&mut self, part: &str) -> Result<Option<u64>, Error> { in partition_size() argument
185 fn expected_os(&mut self) -> Result<Option<Os>, Error>; in expected_os() argument
188 fn expected_os_is_fuchsia(&mut self) -> Result<bool, Error> { in expected_os_is_fuchsia() argument
197 ) -> Result<(), Error>; in zircon_add_device_zbi_items() argument
228 persist: &'b mut dyn FnMut(&mut [u8]) -> Result<(), Error>, in load_slot_interface() argument
330 ) -> Result<Option<&'c str>, Error>; in fixup_os_commandline() argument
341 ) -> Result<Option<&'c [u8]>, Error>; in fixup_bootconfig() argument
352 ) -> Result<(), Error>; in select_device_trees() argument
360 fn fixup_device_tree(&mut self, device_tree: &mut [u8]) -> Result<(), Error>; in fixup_device_tree() argument
378 ) -> Result<usize, Error>; in fastboot_variable() argument
389 ) -> Result<(), Error>; in fastboot_visit_all_variables() argument
392 fn slots_metadata(&mut self) -> Result<SlotsMetadata, Error>; in slots_metadata() argument
401 fn get_current_slot(&mut self) -> Result<Slot, Error>; in get_current_slot() argument
411 fn get_next_slot(&mut self, _mark_boot_attempt: bool) -> Result<Slot, Error>; in get_next_slot() argument
418 fn set_active_slot(&mut self, _slot: u8) -> Result<(), Error>; in set_active_slot() argument
421 fn set_reboot_reason(&mut self, _reason: RebootReason) -> Result<(), Error>; in set_reboot_reason() argument
424 fn get_reboot_reason(&mut self) -> Result<RebootReason, Error>; in get_reboot_reason() argument
464 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error> { in should_stop_in_fastboot() argument
481 fn expected_os(&mut self) -> Result<Option<Os>, Error> { in expected_os() argument
488 ) -> Result<(), Error> { in zircon_add_device_zbi_items() argument
498 _fnmut: &'c mut dyn FnMut(&mut [u8]) -> Result<(), Error>, in load_slot_interface() argument
558 ) -> Result<Option<&'c str>, Error> { in fixup_os_commandline() argument
566 ) -> Result<Option<&'c [u8]>, Error> { in fixup_bootconfig() argument
570 fn fixup_device_tree(&mut self, device_tree: &mut [u8]) -> Result<(), Error> { in fixup_device_tree() argument
577 ) -> Result<(), Error> { in select_device_trees() argument
586 ) -> Result<(), Error> { in read_from_partition_sync() argument
630 fn slots_metadata(&mut self) -> Result<SlotsMetadata, Error> { in slots_metadata() argument
635 fn get_current_slot(&mut self) -> Result<Slot, Error> { in get_current_slot() argument
640 fn get_next_slot(&mut self, _: bool) -> Result<Slot, Error> { in get_next_slot() argument
645 fn set_active_slot(&mut self, _: u8) -> Result<(), Error> { in set_active_slot() argument
650 fn set_reboot_reason(&mut self, _: RebootReason) -> Result<(), Error> { in set_reboot_reason() argument
655 fn get_reboot_reason(&mut self) -> Result<RebootReason, Error> { in get_reboot_reason() argument
666 ) -> Result<usize, Error> { in fastboot_variable() argument
674 ) -> Result<(), Error> { in fastboot_visit_all_variables() argument
820 fn write_str(&mut self, s: &str) -> Result<(), std::fmt::Error> { in write_str()
872 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error> { in should_stop_in_fastboot() argument
889 fn expected_os(&mut self) -> Result<Option<Os>, Error> { in expected_os() argument
896 ) -> Result<(), Error> { in zircon_add_device_zbi_items() argument
914 _: &'b mut dyn FnMut(&mut [u8]) -> Result<(), Error>, in load_slot_interface() argument
1024 ) -> Result<Option<&'c str>, Error> { in fixup_os_commandline() argument
1032 ) -> Result<Option<&'c [u8]>, Error> { in fixup_bootconfig() argument
1038 fn fixup_device_tree(&mut self, fdt: &mut [u8]) -> Result<(), Error> { in fixup_device_tree() argument
1046 ) -> Result<(), Error> { in select_device_trees() argument
1060 ) -> Result<usize, Error> { in fastboot_variable() argument
1072 ) -> Result<(), Error> { in fastboot_visit_all_variables() argument
1084 fn slots_metadata(&mut self) -> Result<SlotsMetadata, Error> { in slots_metadata() argument
1088 fn get_current_slot(&mut self) -> Result<Slot, Error> { in get_current_slot() argument
1092 fn get_next_slot(&mut self, mark_boot_attempt: bool) -> Result<Slot, Error> { in get_next_slot() argument
1097 fn set_active_slot(&mut self, slot: u8) -> Result<(), Error> { in set_active_slot() argument
1102 fn set_reboot_reason(&mut self, _: RebootReason) -> Result<(), Error> { in set_reboot_reason() argument
1106 fn get_reboot_reason(&mut self) -> Result<RebootReason, Error> { in get_reboot_reason() argument