/external/avb/libavb_atx/ |
D | avb_atx_validate.c | 164 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/ |
D | avb_ab_flow.c | 97 } 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/ |
D | avb_atx_validate_unittest.cc | 237 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 …]
|
D | fake_avb_ops.cc | 108 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 …]
|
D | avb_ab_flow_unittest.cc | 255 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 …]
|
D | avb_slot_verify_unittest.cc | 259 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()
|
D | avbtool_unittest.cc | 1687 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/ |
D | avb_ops_user.c | 165 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()
|
D | avb_user_verity.c | 88 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()
|
D | avb_user_verification.c | 88 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/ |
D | boot_control_avb.c | 68 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/ |
D | uefi_avb_ops.c | 235 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()
|
D | main.c | 56 if (ops->read_is_device_unlocked(ops, &unlocked) != AVB_IO_RESULT_OK) { in efi_main()
|
/external/avb/libavb/ |
D | avb_slot_verify.c | 153 } 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()
|
D | avb_ops.h | 56 AVB_IO_RESULT_OK, enumerator
|
/external/avb/ |
D | README.md | 658 if (io_ret != AVB_IO_RESULT_OK) { 664 if (io_ret != AVB_IO_RESULT_OK) {
|