/external/vboot_reference/tests/ |
D | vboot_api_init_tests.c | 225 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 …]
|
D | vboot_api_kernel4_tests.c | 133 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()
|
D | vb2_api_tests.c | 121 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()
|
D | vboot_api_kernel3_tests.c | 192 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()
|
D | vb2_misc_tests.c | 249 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()
|
D | vboot_api_firmware_tests.c | 167 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()
|
D | vboot_common_tests.c | 39 (long)&((VbSharedDataHeader*)NULL)->recovery_reason, in StructPackingTest()
|
/external/vboot_reference/firmware/2lib/ |
D | 2misc.c | 147 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_CorruptBothKernelAB/ |
D | firmware_CorruptBothKernelAB.py | 58 recovery_reason = (vboot.RECOVERY_REASON['DEP_RW_NO_DISK'], 76 'recovery_reason': recovery_reason,
|
/external/autotest/server/site_tests/firmware_RollbackKernel/ |
D | firmware_RollbackKernel.py | 58 recovery_reason = (vboot.RECOVERY_REASON['DEP_RW_NO_DISK'], 87 'recovery_reason': recovery_reason,
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 654 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()
|
D | vboot_firmware.c | 358 VBNV_RECOVERY_NOT_REQUESTED == shared->recovery_reason && in LoadFirmware() 361 shared->recovery_reason = recovery; in LoadFirmware()
|
D | vboot_api_init.c | 143 shared->recovery_reason = (uint8_t)recovery; in VbInit() 220 shared->recovery_reason) { in VbInit()
|
D | vboot_display.c | 529 shared->recovery_reason, 16, 2); in VbDisplayDebugInfo() 534 RecoveryReasonString(shared->recovery_reason), in VbDisplayDebugInfo() 607 if (0 == shared->recovery_reason) { in VbDisplayDebugInfo()
|
D | vboot_api_firmware.c | 27 int is_rec = (shared->recovery_reason ? 1 : 0); in VbSelectFirmware()
|
/external/autotest/server/cros/faft/ |
D | firmware_test.py | 246 recovery_reason = 0 257 recovery_reason = int(lines[0]) 258 logging.info('Got the recovery reason %d.', recovery_reason) 262 return recovery_reason 357 recovery_reason = self._retrieve_recovery_reason_from_trap() 363 if recovery_reason: 365 'and timed out' % recovery_reason)
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2struct.h | 72 uint32_t recovery_reason; member
|
/external/vboot_reference/firmware/include/ |
D | vboot_struct.h | 535 uint8_t recovery_reason; member
|
/external/vboot_reference/host/lib/ |
D | crossystem.c | 430 value = sh->recovery_reason; in GetVdatInt()
|