Home
last modified time | relevance | path

Searched refs:recovery_reason (Results 1 – 19 of 19) sorted by relevance

/external/vboot_reference/tests/
Dvboot_api_init_tests.c225 TEST_EQ(shared->recovery_reason, 0, in VbInitTest()
277 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTest()
291 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTest()
366 TEST_EQ(shared->recovery_reason, 123, " recovery reason"); in VbInitTest()
378 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
393 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
400 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_FIRMWARE, in VbInitTest()
415 TEST_EQ(shared->recovery_reason, 123, " recovery reason"); in VbInitTest()
422 TEST_EQ(shared->recovery_reason, VBNV_RECOVERY_RO_MANUAL, in VbInitTest()
476 TEST_EQ(shared->recovery_reason, 0, " recovery reason"); in VbInitTestTPM()
[all …]
Dvboot_api_kernel4_tests.c133 static void test_slk(VbError_t retval, int recovery_reason, const char *desc) in test_slk() argument
139 TEST_EQ(u, recovery_reason, " recovery reason"); in test_slk()
222 shared->recovery_reason = 123; in VbSlkTest()
227 shared->recovery_reason = 123; in VbSlkTest()
233 shared->recovery_reason = 123; in VbSlkTest()
Dvb2_api_tests.c121 TEST_EQ(sd->recovery_reason, 0, " not recovery"); in phase1_tests()
129 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_GBB_HEADER, in phase1_tests()
139 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_DEV_SWITCH, in phase1_tests()
148 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_SECDATA_INIT, in phase1_tests()
Dvboot_api_kernel3_tests.c192 static void test_ssync(VbError_t retval, int recovery_reason, const char *desc) in test_ssync() argument
198 TEST_EQ(u, recovery_reason, " recovery reason"); in test_ssync()
207 shared->recovery_reason = 123; in VbSoftwareSyncTest()
212 shared->recovery_reason = 123; in VbSoftwareSyncTest()
Dvb2_misc_tests.c249 TEST_EQ(sd->recovery_reason, 0, "No recovery reason"); in recovery_tests()
259 TEST_EQ(sd->recovery_reason, 3, "Recovery reason from request"); in recovery_tests()
269 sd->recovery_reason = 5; in recovery_tests()
271 TEST_EQ(sd->recovery_reason, 5, "Recovery reason already failed"); in recovery_tests()
277 sd->recovery_reason = 6; in recovery_tests()
280 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_RO_MANUAL, in recovery_tests()
Dvboot_api_firmware_tests.c167 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
178 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
237 shared->recovery_reason = VBNV_RECOVERY_US_TEST; in VbSelectFirmwareTest()
Dvboot_common_tests.c39 (long)&((VbSharedDataHeader*)NULL)->recovery_reason, in StructPackingTest()
/external/autotest/server/site_tests/firmware_CorruptBothKernelAB/
Dfirmware_CorruptBothKernelAB.py54 recovery_reason = vboot.RECOVERY_REASON['RW_NO_OS']
56 recovery_reason = vboot.RECOVERY_REASON['RW_INVALID_OS']
58 recovery_reason = (vboot.RECOVERY_REASON['DEP_RW_NO_DISK'],
69 'recovery_reason': recovery_reason,
/external/vboot_reference/firmware/2lib/
D2misc.c147 if (!sd->recovery_reason) in vb2_check_recovery()
148 sd->recovery_reason = vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST); in vb2_check_recovery()
151 if (sd->recovery_reason) { in vb2_check_recovery()
164 sd->recovery_reason = VB2_RECOVERY_RO_MANUAL; in vb2_check_recovery()
169 if (sd->recovery_reason) { in vb2_check_recovery()
172 sd->recovery_reason, in vb2_check_recovery()
/external/autotest/server/site_tests/firmware_RollbackKernel/
Dfirmware_RollbackKernel.py55 recovery_reason = vboot.RECOVERY_REASON['RW_NO_OS']
57 recovery_reason = (vboot.RECOVERY_REASON['DEP_RW_NO_DISK'],
84 'recovery_reason': recovery_reason,
/external/vboot_reference/firmware/lib/
Dvboot_api_kernel.c654 if (shared->recovery_reason) { in VbEcSoftwareSync()
669 VbSetRecoveryRequest(shared->recovery_reason); in VbEcSoftwareSync()
1030 if (!shared->recovery_reason) { in VbSelectAndLoadKernel()
1081 if (shared->recovery_reason) { in VbSelectAndLoadKernel()
1161 tpm_status = RollbackKernelLock(shared->recovery_reason); in VbSelectAndLoadKernel()
1164 if (!shared->recovery_reason) { in VbSelectAndLoadKernel()
Dvboot_firmware.c358 VBNV_RECOVERY_NOT_REQUESTED == shared->recovery_reason && in LoadFirmware()
361 shared->recovery_reason = recovery; in LoadFirmware()
Dvboot_api_init.c143 shared->recovery_reason = (uint8_t)recovery; in VbInit()
220 shared->recovery_reason) { in VbInit()
Dvboot_display.c529 shared->recovery_reason, 16, 2); in VbDisplayDebugInfo()
534 RecoveryReasonString(shared->recovery_reason), in VbDisplayDebugInfo()
607 if (0 == shared->recovery_reason) { in VbDisplayDebugInfo()
Dvboot_api_firmware.c27 int is_rec = (shared->recovery_reason ? 1 : 0); in VbSelectFirmware()
/external/autotest/server/cros/faft/
Dfirmware_test.py220 recovery_reason = 0
231 recovery_reason = int(lines[0])
232 logging.info('Got the recovery reason %d.', recovery_reason)
236 return recovery_reason
331 recovery_reason = self._retrieve_recovery_reason_from_trap()
337 if recovery_reason:
339 'and timed out' % recovery_reason)
/external/vboot_reference/firmware/2lib/include/
D2struct.h72 uint32_t recovery_reason; member
/external/vboot_reference/firmware/include/
Dvboot_struct.h535 uint8_t recovery_reason; member
/external/vboot_reference/host/lib/
Dcrossystem.c430 value = sh->recovery_reason; in GetVdatInt()