Home
last modified time | relevance | path

Searched refs:run_test_with_mock_protocol (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/bootable/libbootloader/gbl/libefi/src/protocol/
H A Dgbl_efi_avb.rs198 use crate::{protocol::EFI_STATUS_BUFFER_TOO_SMALL, test::run_test_with_mock_protocol, Error};
238 run_test_with_mock_protocol(c_interface, |avb_protocol| { in validate_vbmeta_public_key_status_provided()
265 run_test_with_mock_protocol(c_interface, |avb_protocol| { in validate_vbmeta_public_key_error_handled()
290 run_test_with_mock_protocol(c_interface, |avb_protocol| { in handle_verification_result_data_provided()
313 run_test_with_mock_protocol(c_interface, |avb_protocol| { in handle_verification_result_error()
341 run_test_with_mock_protocol(c_interface, |avb_protocol| { in read_is_device_unlocked_returns_true()
367 run_test_with_mock_protocol(c_interface, |avb_protocol| { in read_is_device_unlocked_returns_false()
384 run_test_with_mock_protocol(c_interface, |avb_protocol| { in read_is_device_unlocked_error_handled()
415 run_test_with_mock_protocol(c_interface, |avb_protocol| { in read_rollback_index_returns_value()
437 run_test_with_mock_protocol(c_interface, |avb_protocol| { in read_rollback_index_error_handled()
[all …]
H A Dgbl_efi_os_configuration.rs115 use crate::test::run_test_with_mock_protocol;
138 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_kernel_commandline_no_op()
185 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_kernel_commandline_provided()
215 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_kernel_commandline_error()
249 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_kernel_commandline_buffer_too_small()
283 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_bootconfig_no_op()
332 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_bootconfig_provided()
359 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_bootconfig_error()
392 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in fixup_bootconfig_fixup_buffer_too_small()
427 run_test_with_mock_protocol(c_interface, |os_config_protocol| { in select_device_trees_selected()
H A Ddt_fixup.rs62 use crate::test::run_test_with_mock_protocol;
96 run_test_with_mock_protocol(c_interface, |dt_fixup_protocol| { in fixup_device_tree_updated()
124 run_test_with_mock_protocol(c_interface, |dt_fixup_protocol| { in fixup_device_tree_fixup_buffer_too_small()
/aosp_15_r20/bootable/libbootloader/gbl/libefi/src/
H A Dlib.rs1258 pub fn run_test_with_mock_protocol<P: ProtocolInfo>( in run_test_with_mock_protocol() function