Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 35) sorted by relevance

12

/bootable/libbootloader/gbl/libabr/src/
Dutils.rs34 pub extern "C" fn AbrIsOneShotRecoveryBootSet(flags: u8) -> bool { in AbrIsOneShotRecoveryBootSet()
45 pub unsafe extern "C" fn AbrIsOneShotRecoveryBoot(abr_data: *const AbrData) -> bool { in AbrIsOneShotRecoveryBoot()
53 pub extern "C" fn AbrIsOneShotBootloaderBootSet(flags: u8) -> bool { in AbrIsOneShotBootloaderBootSet()
64 pub unsafe extern "C" fn AbrIsOneShotBootloaderBoot(abr_data: *const AbrData) -> bool { in AbrIsOneShotBootloaderBoot()
76 pub unsafe extern "C" fn AbrSetOneShotRecoveryBoot(abr_data: *mut AbrData, enable: bool) { in AbrSetOneShotRecoveryBoot()
88 pub unsafe extern "C" fn AbrSetOneShotBootloaderBoot(abr_data: *mut AbrData, enable: bool) { in AbrSetOneShotBootloaderBoot()
Dlib.rs216 fn is_slot_bootable(&self) -> bool { in is_slot_bootable()
373 fn is_slot_active(&self, slot_index: SlotIndex) -> bool { in is_slot_active()
378 fn is_one_shot_recovery(&self) -> bool { in is_one_shot_recovery()
383 pub fn set_one_shot_recovery(&mut self, enable: bool) { in set_one_shot_recovery()
391 pub fn set_one_shot_bootloader(&mut self, enable: bool) { in set_one_shot_bootloader()
480 pub fn get_boot_slot(abr_ops: &mut dyn Ops, update_metadata: bool) -> (SlotIndex, bool) { in get_boot_slot() argument
689 pub fn get_and_clear_one_shot_bootloader(abr_ops: &mut dyn Ops) -> Result<bool> { in get_and_clear_one_shot_bootloader()
Dc_staticlib.rs254 update_metadata: bool, in AbrGetBootSlot()
255 is_slot_marked_successful: *mut bool, in AbrGetBootSlot()
/bootable/recovery/recovery_ui/
Dstub_ui.cpp25 size_t /* initial_selection */, bool /* menu_only */, in ShowMenu() argument
26 const std::function<int(int, bool)>& /*key_handler*/) { in ShowMenu() argument
/bootable/recovery/recovery_ui/include/recovery_ui/
Dstub_ui.h35 void SetSystemUpdateText(bool /* security_update */) override {} in SetSystemUpdateText() argument
45 void ShowText(bool /* visible */) override {} in ShowText() argument
71 const std::function<int(int, bool)>& /* key_handle */) override { in ShowPromptWipeDataMenu() argument
78 const std::function<int(int, bool)>& /* key_handle */) override { in ShowPromptWipeDataConfirmationMenu() argument
/bootable/libbootloader/gbl/efi/src/
Dutils.rs106 F: FnMut() -> core::result::Result<R, bool>, in loop_with_timeout() argument
124 pred: impl Fn(EfiInputKey) -> bool, in wait_key_stroke()
126 ) -> Result<bool> { in wait_key_stroke()
Dfastboot.rs68 fn accept_new(&mut self) -> bool { in accept_new()
122 fn poll_next_packet(&mut self) -> Result<bool> { in poll_next_packet()
171 fn has_packet(&mut self) -> bool { in has_packet()
Dnet.rs337 pub fn is_listening_or_handshaking(&mut self) -> bool { in is_listening_or_handshaking()
353 pub fn check_active(&mut self) -> bool { in check_active()
366 fn is_closed(&mut self) -> bool { in is_closed()
/bootable/libbootloader/gbl/libefi/src/
Dutils.rs39 pub fn check(&self) -> Result<bool> { in check()
96 pub fn check(&self) -> Result<bool> { in check()
/bootable/libbootloader/gbl/libefi/src/protocol/
Ddevice_path.rs48 display_only: bool, in convert_device_path_to_text()
49 allow_shortcuts: bool, in convert_device_path_to_text()
Dgbl_efi_avb.rs69 pub fn read_is_device_unlocked(&self) -> Result<bool> { in read_is_device_unlocked()
329 is_unlocked_ptr: *mut bool, in read_is_device_unlocked_returns_true()
355 is_unlocked_ptr: *mut bool, in read_is_device_unlocked_returns_false()
Dsimple_network.rs84 reset_mcast_filter: bool, in receive_filters()
Dgbl_efi_fastboot.rs264 pub fn should_stop_in_fastboot(&self) -> bool { in should_stop_in_fastboot()
473 unsafe extern "C" fn test_should_stop_in_fastboot(_: *mut GblEfiFastbootProtocol) -> bool { in test_should_stop_in_fastboot()
/bootable/libbootloader/gbl/libgbl/src/
Ddecompress.rs29 fn is_gzip_compressed(data: &[u8]) -> bool { in is_gzip_compressed()
34 fn is_lz4_compressed(data: &[u8]) -> bool { in is_lz4_compressed()
Dops.rs85 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error>; in should_stop_in_fastboot()
188 fn expected_os_is_fuchsia(&mut self) -> Result<bool, Error> { in expected_os_is_fuchsia()
239 fn avb_read_is_device_unlocked(&mut self) -> AvbIoResult<bool>; in avb_read_is_device_unlocked()
464 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error> { in should_stop_in_fastboot()
504 fn avb_read_is_device_unlocked(&mut self) -> AvbIoResult<bool> { in avb_read_is_device_unlocked()
872 fn should_stop_in_fastboot(&mut self) -> Result<bool, Error> { in should_stop_in_fastboot()
920 fn avb_read_is_device_unlocked(&mut self) -> AvbIoResult<bool> { in avb_read_is_device_unlocked()
Dimage_buffer.rs147 fn eq(&self, other: &Self) -> bool { in eq()
/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs103 fn successful(&self) -> bool { in successful()
106 fn set_successful(&mut self, successful: bool) { in set_successful()
110 fn verity_corrupted(&self) -> bool { in verity_corrupted()
113 fn set_verity_corrupted(&mut self, verity_corrupted: bool) { in set_verity_corrupted()
/bootable/libbootloader/gbl/libsafemath/src/
Dlib.rs219 pub const fn has_error(&self) -> bool { in has_error()
224 pub const fn is_valid(&self) -> bool { in is_valid()
/bootable/libbootloader/gbl/libgbl/src/gbl_avb/
Dops.rs71 use_cert: bool, in new()
263 ) -> IoResult<bool> { in validate_vbmeta_public_key()
305 fn read_is_device_unlocked(&mut self) -> IoResult<bool> { in read_is_device_unlocked()
523 expect_success: bool, in test_read_preloaded_partition()
/bootable/libbootloader/gbl/libbootparams/src/
Dentry.rs65 F: Fn(char) -> bool, in take_while()
/bootable/libbootloader/gbl/libstorage/src/
Dgpt.rs295 fn is_null(&self) -> bool { in is_null()
319 pub fn match_name(&self, part: &str) -> Result<bool> { in match_name()
773 fn is_consistent(primary: &GptHeader, secondary: &GptHeader) -> bool { in is_consistent()
817 resize: bool, in update_gpt()
938 pub fn new(mut disk: D, mut gpt: G) -> Result<(Self, bool)> { in new() argument
980 pub fn remove(&mut self, part: &str) -> Result<bool> { in remove()
Dlib.rs159 pub fn is_aligned(value: impl Into<SafeNum>, alignment: impl Into<SafeNum>) -> Result<bool> { in is_aligned()
165 pub fn is_buffer_aligned<T>(buffer: &[T], alignment: u64) -> Result<bool> { in is_buffer_aligned()
357 resize: bool, in update_gpt()
/bootable/libbootloader/gbl/libefi/mocks/
Dprotocol.rs243 pub fn read_is_device_unlocked(&self) -> Result<bool> { in read_is_device_unlocked()
/bootable/libbootloader/gbl/libgbl/src/android_boot/
Dvboot.rs217 device_unlocked: std::result::Result<bool, avb::IoError>, in test_avb_verify_slot()
/bootable/libbootloader/gbl/libgbl/src/fuchsia_boot/
Dvboot.rs36 slot_booted_successfully: bool, in zircon_verify_kernel()

12