Lines Matching refs:TestVbInit

142 static void TestVbInit(VbError_t expected_retval,  in TestVbInit()  function
161 TestVbInit(VBERROR_INIT_SHARED_DATA, 0, "Shared data too small"); in VbInitTest()
165 TestVbInit(0, 0, "Normal call"); in VbInitTest()
181 TestVbInit(0, 0, "NV data trashed"); in VbInitTest()
190 TestVbInit(0, 0, "Flags test WP"); in VbInitTest()
196 TestVbInit(0, 0, "Flags test SW WP"); in VbInitTest()
202 TestVbInit(0, 0, " flags test RO normal"); in VbInitTest()
208 TestVbInit(0, 0, " flags test EC software sync"); in VbInitTest()
213 TestVbInit(0, 0, " flags test EC slow update"); in VbInitTest()
222 TestVbInit(0, 123, "S3 resume"); in VbInitTest()
233 TestVbInit(VBERROR_TPM_S3_RESUME, 0, "S3 resume rollback error"); in VbInitTest()
241 TestVbInit(0, 0, "Normal doesn't S3 resume"); in VbInitTest()
248 TestVbInit(0, 0, "S3 debug reset"); in VbInitTest()
257 TestVbInit(0, 0, "Normal with debug reset mode"); in VbInitTest()
271 TestVbInit(0, 0, "S3 debug reset rollback error"); in VbInitTest()
276 TestVbInit(0, 0, "Dev mode on"); in VbInitTest()
290 TestVbInit(0, 0, "Dev mode via GBB"); in VbInitTest()
304 TestVbInit(VBERROR_VGA_OPROM_MISMATCH, 0, "Dev mode need oprom"); in VbInitTest()
312 TestVbInit(0, 0, "Dev mode has oprom"); in VbInitTest()
319 TestVbInit(VBERROR_VGA_OPROM_MISMATCH, 0, "Normal mode with oprom"); in VbInitTest()
326 TestVbInit(0, 0, "GBB load option ROMs"); in VbInitTest()
334 TestVbInit(0, 0, "Dev signed only"); in VbInitTest()
347 TestVbInit(0, 0, "Force option ROMs via GBB"); in VbInitTest()
358 TestVbInit(0, 0, "Normal mode ignores forcing option ROMs via GBB"); in VbInitTest()
365 TestVbInit(0, 0, "Recovery mode - from nv"); in VbInitTest()
377 TestVbInit(0, 0, "Recovery mode - button"); in VbInitTest()
392 TestVbInit(0, 0, "Recovery mode - button AND nv"); in VbInitTest()
399 TestVbInit(0, 0, "Recovery mode - previous boot fail"); in VbInitTest()
414 TestVbInit(0, 0, "Recovery mode - previous boot fail AND nv"); in VbInitTest()
421 TestVbInit(0, 0, "Recovery mode - button"); in VbInitTest()
441 TestVbInit(VBERROR_TPM_REBOOT_REQUIRED, 0, in VbInitTestTPM()
446 TestVbInit(VBERROR_TPM_REBOOT_REQUIRED, VBNV_RECOVERY_RO_TPM_REBOOT, in VbInitTestTPM()
453 TestVbInit(0, 0, "Rollback TPM reboot, in recovery, already retried"); in VbInitTestTPM()
460 TestVbInit(VBERROR_TPM_FIRMWARE_SETUP, VBNV_RECOVERY_RO_TPM_S_ERROR, in VbInitTestTPM()
467 TestVbInit(0, 0, "Rollback TPM setup error ignored in recovery"); in VbInitTestTPM()
475 TestVbInit(0, 0, "TPM Dev mode off"); in VbInitTestTPM()
488 TestVbInit(0, 0, "TPM Dev mode on"); in VbInitTestTPM()
508 TestVbInit(0, 0, "TPM Dev mode on but ignored"); in VbInitTestTPM()
516 TestVbInit(0, 0, "HW Dev mode on"); in VbInitTestTPM()
530 TestVbInit(0, 0, "TPM clear owner"); in VbInitTestTPM()
545 TestVbInit(0, 0, "normal mode, no backup"); in VbInitTestBackup()
564 TestVbInit(0, 0, "normal mode, some backup"); in VbInitTestBackup()
615 TestVbInit(0, 0, "normal mode, expect no backup"); in VbInitTestBackup()
622 TestVbInit(0, 0, "Dev mode on"); in VbInitTestBackup()
644 TestVbInit(0, 0, "Dev mode on"); in VbInitTestBackup()
657 TestVbInit(0, 0, "Dev mode on"); in VbInitTestBackup()
696 TestVbInit(0, 0, "Dev mode on"); in VbInitTestBackup()
732 TestVbInit(0, 0, "Back to normal mode"); in VbInitTestBackup()