Home
last modified time | relevance | path

Searched refs:VB2_NV_FW_RESULT (Results 1 – 5 of 5) sorted by relevance

/external/vboot_reference/tests/
Dvb2_misc_tests.c218 vb2_nv_set(&cc, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN); in fail_tests()
225 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in fail_tests()
239 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in fail_tests()
421 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in select_slot_tests()
432 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in select_slot_tests()
441 vb2_nv_set(&cc, VB2_NV_FW_RESULT, VB2_FW_RESULT_TRYING); in select_slot_tests()
453 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in select_slot_tests()
464 vb2_nv_set(&cc, VB2_NV_FW_RESULT, VB2_FW_RESULT_SUCCESS); in select_slot_tests()
472 vb2_nv_set(&cc, VB2_NV_FW_RESULT, VB2_FW_RESULT_FAILURE); in select_slot_tests()
Dvb2_nvstorage_tests.c36 {VB2_NV_FW_RESULT, 0, 1, 2, "firmware result"},
190 vb2_nv_set(&c, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN + 1); in nv_storage_test()
191 vb2_nv_set(&c, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN + 100); in nv_storage_test()
192 TEST_EQ(vb2_nv_get(&c, VB2_NV_FW_RESULT), in nv_storage_test()
/external/vboot_reference/firmware/2lib/
D2misc.c78 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_FAILURE); in vb2_fail()
322 sd->last_fw_result = vb2_nv_get(ctx, VB2_NV_FW_RESULT); in vb2_select_fw_slot()
329 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN); in vb2_select_fw_slot()
350 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_TRYING); in vb2_select_fw_slot()
D2nvstorage.c104 case VB2_NV_FW_RESULT: in vb2_nv_get()
211 case VB2_NV_FW_RESULT: in vb2_nv_set()
/external/vboot_reference/firmware/2lib/include/
D2nvstorage.h76 VB2_NV_FW_RESULT, enumerator