Home
last modified time | relevance | path

Searched refs:AvbIOResult (Results 1 – 17 of 17) sorted by relevance

/external/avb/test/
Dfake_avb_ops.h43 virtual AvbIOResult read_from_partition(const char* partition,
49 virtual AvbIOResult write_to_partition(const char* partition,
54 virtual AvbIOResult validate_vbmeta_public_key(
62 virtual AvbIOResult read_rollback_index(AvbOps* ops,
66 virtual AvbIOResult write_rollback_index(AvbOps* ops,
70 virtual AvbIOResult read_is_device_unlocked(AvbOps* ops,
73 virtual AvbIOResult get_unique_guid_for_partition(AvbOps* ops,
78 virtual AvbIOResult get_size_of_partition(AvbOps* ops,
82 virtual AvbIOResult read_permanent_attributes(
85 virtual AvbIOResult read_permanent_attributes_hash(
[all …]
Dfake_avb_ops.cc50 AvbIOResult FakeAvbOps::read_from_partition(const char* partition, in read_from_partition()
111 AvbIOResult FakeAvbOps::write_to_partition(const char* partition, in write_to_partition()
165 AvbIOResult FakeAvbOps::validate_vbmeta_public_key( in validate_vbmeta_public_key()
187 AvbIOResult FakeAvbOps::read_rollback_index(AvbOps* ops, in read_rollback_index()
201 AvbIOResult FakeAvbOps::write_rollback_index(AvbOps* ops, in write_rollback_index()
215 AvbIOResult FakeAvbOps::read_is_device_unlocked(AvbOps* ops, in read_is_device_unlocked()
221 AvbIOResult FakeAvbOps::get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
232 AvbIOResult FakeAvbOps::get_size_of_partition(AvbOps* ops, in get_size_of_partition()
247 AvbIOResult FakeAvbOps::read_permanent_attributes( in read_permanent_attributes()
253 AvbIOResult FakeAvbOps::read_permanent_attributes_hash( in read_permanent_attributes_hash()
[all …]
Davb_atx_validate_unittest.cc98 AvbIOResult read_from_partition(const char* partition, in read_from_partition()
107 AvbIOResult write_to_partition(const char* partition, in write_to_partition()
115 AvbIOResult validate_vbmeta_public_key(AvbOps* ops, in validate_vbmeta_public_key()
125 AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
138 AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
145 AvbIOResult read_is_device_unlocked(AvbOps* ops, in read_is_device_unlocked()
151 AvbIOResult get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
159 AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
166 AvbIOResult read_permanent_attributes( in read_permanent_attributes()
174 AvbIOResult read_permanent_attributes_hash( in read_permanent_attributes_hash()
[all …]
Davb_ab_flow_unittest.cc1140 static AvbIOResult my_write_ab_metadata(AvbABOps* ops, in my_write_ab_metadata()
1146 static AvbIOResult my_read_ab_metadata(AvbABOps* ops, struct AvbABData* data) { in my_read_ab_metadata()
/external/avb/libavb/
Davb_ops.h61 } AvbIOResult; typedef
113 AvbIOResult (*read_from_partition)(AvbOps* ops,
136 AvbIOResult (*write_to_partition)(AvbOps* ops,
158 AvbIOResult (*validate_vbmeta_public_key)(AvbOps* ops,
174 AvbIOResult (*read_rollback_index)(AvbOps* ops,
187 AvbIOResult (*write_rollback_index)(AvbOps* ops,
196 AvbIOResult (*read_is_device_unlocked)(AvbOps* ops, bool* out_is_unlocked);
208 AvbIOResult (*get_unique_guid_for_partition)(AvbOps* ops,
219 AvbIOResult (*get_size_of_partition)(AvbOps* ops,
Davb_slot_verify.c85 AvbIOResult io_ret; in load_and_verify_hash_partition()
264 AvbIOResult io_ret; in load_requested_partitions()
355 AvbIOResult io_ret; in load_and_verify_vbmeta()
904 AvbIOResult io_ret; in sub_cmdline()
1080 AvbIOResult io_ret; in append_options()
/external/avb/libavb_user/
Davb_ops_user.c112 static AvbIOResult read_from_partition(AvbOps* ops, in read_from_partition()
121 AvbIOResult ret; in read_from_partition()
176 static AvbIOResult write_to_partition(AvbOps* ops, in write_to_partition()
184 AvbIOResult ret; in write_to_partition()
224 static AvbIOResult validate_vbmeta_public_key( in validate_vbmeta_public_key()
237 static AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
246 static AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
252 static AvbIOResult read_is_device_unlocked(AvbOps* ops, bool* out_is_unlocked) { in read_is_device_unlocked()
259 static AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
263 AvbIOResult ret; in get_size_of_partition()
[all …]
Davb_user_verity.c49 AvbIOResult io_res; in load_top_level_vbmeta_header()
171 AvbIOResult io_res; in avb_user_verity_set()
Davb_user_verification.c49 AvbIOResult io_res; in load_top_level_vbmeta_header()
172 AvbIOResult io_res; in avb_user_verification_set()
/external/avb/libavb_ab/
Davb_ab_flow.c83 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data) { in avb_ab_data_read()
86 AvbIOResult io_ret; in avb_ab_data_read()
114 AvbIOResult avb_ab_data_write(AvbABOps* ab_ops, const AvbABData* data) { in avb_ab_data_write()
117 AvbIOResult io_ret; in avb_ab_data_write()
171 static AvbIOResult load_metadata(AvbABOps* ab_ops, in load_metadata()
174 AvbIOResult io_ret; in load_metadata()
195 static AvbIOResult save_metadata_if_changed(AvbABOps* ab_ops, in save_metadata_if_changed()
216 AvbIOResult io_ret; in avb_ab_flow()
409 AvbIOResult avb_ab_mark_slot_active(AvbABOps* ab_ops, in avb_ab_mark_slot_active()
413 AvbIOResult ret; in avb_ab_mark_slot_active()
[all …]
Davb_ab_flow.h127 AvbIOResult avb_ab_data_read(AvbABOps* ab_ops, AvbABData* data);
133 AvbIOResult avb_ab_data_write(AvbABOps* ab_ops, const AvbABData* data);
233 AvbIOResult avb_ab_mark_slot_active(AvbABOps* ab_ops, unsigned int slot_number);
241 AvbIOResult avb_ab_mark_slot_unbootable(AvbABOps* ab_ops,
254 AvbIOResult avb_ab_mark_slot_successful(AvbABOps* ab_ops,
Davb_ab_ops.h62 AvbIOResult (*read_ab_metadata)(AvbABOps* ab_ops, struct AvbABData* data);
71 AvbIOResult (*write_ab_metadata)(AvbABOps* ab_ops,
/external/avb/libavb_atx/
Davb_atx_ops.h53 AvbIOResult (*read_permanent_attributes)(
60 AvbIOResult (*read_permanent_attributes_hash)(
Davb_atx_validate.c157 AvbIOResult avb_atx_validate_vbmeta_public_key( in avb_atx_validate_vbmeta_public_key()
164 AvbIOResult result = AVB_IO_RESULT_OK; in avb_atx_validate_vbmeta_public_key()
Davb_atx_validate.h65 AvbIOResult avb_atx_validate_vbmeta_public_key(
/external/avb/examples/uefi/
Duefi_avb_ops.c176 static AvbIOResult read_from_partition(AvbOps* ops, in read_from_partition()
238 static AvbIOResult write_to_partition(AvbOps* ops, in write_to_partition()
298 static AvbIOResult get_size_of_partition(AvbOps* ops, in get_size_of_partition()
514 static AvbIOResult validate_vbmeta_public_key( in validate_vbmeta_public_key()
529 static AvbIOResult read_rollback_index(AvbOps* ops, in read_rollback_index()
540 static AvbIOResult write_rollback_index(AvbOps* ops, in write_rollback_index()
548 static AvbIOResult read_is_device_unlocked(AvbOps* ops, bool* out_is_unlocked) { in read_is_device_unlocked()
561 static AvbIOResult get_unique_guid_for_partition(AvbOps* ops, in get_unique_guid_for_partition()
/external/avb/
DREADME.md654 AvbIOResult io_ret;