Home
last modified time | relevance | path

Searched refs:AVB_IO_RESULT_OK (Results 1 – 16 of 16) sorted by relevance

/external/avb/libavb_atx/
Davb_atx_validate.c164 AvbIOResult result = AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
177 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key()
183 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key()
189 return AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
195 return AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
200 return AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
206 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key()
213 return AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
219 if (result != AVB_IO_RESULT_OK) { in avb_atx_validate_vbmeta_public_key()
228 return AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
[all …]
/external/avb/libavb_ab/
Davb_ab_flow.c97 } else if (io_ret != AVB_IO_RESULT_OK || in avb_ab_data_read()
111 return AVB_IO_RESULT_OK; in avb_ab_data_read()
127 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_ab_data_write()
131 return AVB_IO_RESULT_OK; in avb_ab_data_write()
177 if (io_ret != AVB_IO_RESULT_OK) { in load_metadata()
189 return AVB_IO_RESULT_OK; in load_metadata()
202 return AVB_IO_RESULT_OK; in save_metadata_if_changed()
223 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_ab_flow()
342 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_ab_flow()
352 } else if (io_ret != AVB_IO_RESULT_OK) { in avb_ab_flow()
[all …]
/external/avb/test/
Davb_atx_validate_unittest.cc237 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
263 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
285 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
292 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
314 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_P()
330 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
345 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
352 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
359 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
366 EXPECT_EQ(AVB_IO_RESULT_OK, Validate(&is_trusted)); in TEST_F()
[all …]
Dfake_avb_ops.cc108 return AVB_IO_RESULT_OK; in read_from_partition()
162 return AVB_IO_RESULT_OK; in write_to_partition()
184 return AVB_IO_RESULT_OK; in validate_vbmeta_public_key()
198 return AVB_IO_RESULT_OK; in read_rollback_index()
212 return AVB_IO_RESULT_OK; in write_rollback_index()
218 return AVB_IO_RESULT_OK; in read_is_device_unlocked()
229 return AVB_IO_RESULT_OK; in get_unique_guid_for_partition()
244 return AVB_IO_RESULT_OK; in get_size_of_partition()
250 return AVB_IO_RESULT_OK; in read_permanent_attributes()
259 return AVB_IO_RESULT_OK; in read_permanent_attributes_hash()
[all …]
Davb_ab_flow_unittest.cc255 EXPECT_EQ(AVB_IO_RESULT_OK, in SetMD()
279 EXPECT_EQ(AVB_IO_RESULT_OK, \
296 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_read(ops_.avb_ab_ops(), &loaded)); in TEST_F()
309 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_write(ops_.avb_ab_ops(), &data)); in TEST_F()
310 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_data_read(ops_.avb_ab_ops(), &loaded)); in TEST_F()
982 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_mark_slot_active(ops_.avb_ab_ops(), 0)); in TEST_F()
1006 EXPECT_EQ(AVB_IO_RESULT_OK, avb_ab_mark_slot_active(ops_.avb_ab_ops(), 1)); in TEST_F()
1030 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
1053 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
1078 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
[all …]
Davb_slot_verify_unittest.cc259 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
300 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
602 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
849 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
1769 EXPECT_EQ(AVB_IO_RESULT_OK, in VerificationDisabled()
Davbtool_unittest.cc1687 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
1809 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
1827 EXPECT_EQ(AVB_IO_RESULT_OK, in TEST_F()
/external/avb/libavb_user/
Davb_ops_user.c165 ret = AVB_IO_RESULT_OK; in read_from_partition()
213 ret = AVB_IO_RESULT_OK; in write_to_partition()
234 return AVB_IO_RESULT_OK; in validate_vbmeta_public_key()
243 return AVB_IO_RESULT_OK; in read_rollback_index()
249 return AVB_IO_RESULT_OK; in write_rollback_index()
256 return AVB_IO_RESULT_OK; in read_is_device_unlocked()
281 ret = AVB_IO_RESULT_OK; in get_size_of_partition()
299 return AVB_IO_RESULT_OK; in get_unique_guid_for_partition()
Davb_user_verity.c88 if (io_res != AVB_IO_RESULT_OK) { in load_top_level_vbmeta_header()
113 if (io_res != AVB_IO_RESULT_OK) { in load_top_level_vbmeta_header()
204 if (io_res != AVB_IO_RESULT_OK) { in avb_user_verity_set()
Davb_user_verification.c88 if (io_res != AVB_IO_RESULT_OK) { in load_top_level_vbmeta_header()
113 if (io_res != AVB_IO_RESULT_OK) { in load_top_level_vbmeta_header()
205 if (io_res != AVB_IO_RESULT_OK) { in avb_user_verification_set()
/external/avb/boot_control/
Dboot_control_avb.c68 AVB_IO_RESULT_OK) { in module_markBootSuccessful()
77 if (avb_ab_mark_slot_active(ops->ab_ops, slot) == AVB_IO_RESULT_OK) { in module_setActiveBootSlot()
86 if (avb_ab_mark_slot_unbootable(ops->ab_ops, slot) == AVB_IO_RESULT_OK) { in module_setSlotAsUnbootable()
100 if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotBootable()
118 if (avb_ab_data_read(ops->ab_ops, &ab_data) != AVB_IO_RESULT_OK) { in module_isSlotMarkedSuccessful()
/external/avb/examples/uefi/
Duefi_avb_ops.c235 return AVB_IO_RESULT_OK; in read_from_partition()
295 return AVB_IO_RESULT_OK; in write_to_partition()
323 return AVB_IO_RESULT_OK; in get_size_of_partition()
526 return AVB_IO_RESULT_OK; in validate_vbmeta_public_key()
537 return AVB_IO_RESULT_OK; in read_rollback_index()
545 return AVB_IO_RESULT_OK; in write_rollback_index()
552 return AVB_IO_RESULT_OK; in read_is_device_unlocked()
608 return AVB_IO_RESULT_OK; in get_unique_guid_for_partition()
Dmain.c56 if (ops->read_is_device_unlocked(ops, &unlocked) != AVB_IO_RESULT_OK) { in efi_main()
/external/avb/libavb/
Davb_slot_verify.c153 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_hash_partition()
173 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_hash_partition()
284 } else if (io_ret != AVB_IO_RESULT_OK) { in load_requested_partitions()
302 } else if (io_ret != AVB_IO_RESULT_OK) { in load_requested_partitions()
427 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
468 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
589 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
614 } else if (io_ret != AVB_IO_RESULT_OK) { in load_and_verify_vbmeta()
932 } else if (io_ret != AVB_IO_RESULT_OK) { in sub_cmdline()
1104 } else if (io_ret != AVB_IO_RESULT_OK) { in append_options()
Davb_ops.h56 AVB_IO_RESULT_OK, enumerator
/external/avb/
DREADME.md658 if (io_ret != AVB_IO_RESULT_OK) {
664 if (io_ret != AVB_IO_RESULT_OK) {