• Home
  • Raw
  • Download

Lines Matching refs:cparams

24 static VbCommonParams cparams;  variable
53 Memset(&cparams, 0, sizeof(cparams)); in ResetMocks()
54 cparams.shared_data_size = sizeof(shared_data); in ResetMocks()
55 cparams.shared_data_blob = shared_data; in ResetMocks()
56 cparams.gbb_data = &gbb; in ResetMocks()
57 cparams.gbb = &gbb; in ResetMocks()
178 uint32_t VbTryLoadKernel(VbCommonParams *cparams, LoadKernelParams *p, in VbTryLoadKernel() argument
184 VbError_t VbDisplayScreen(VbCommonParams *cparams, uint32_t screen, int force, in VbDisplayScreen() argument
207 TEST_EQ(VbUserConfirms(&cparams, 0), -1, "Shutdown requested"); in VbUserConfirmsTest()
211 TEST_EQ(VbUserConfirms(&cparams, 0), 1, "Enter"); in VbUserConfirmsTest()
215 TEST_EQ(VbUserConfirms(&cparams, 0), 0, "Esc"); in VbUserConfirmsTest()
220 TEST_EQ(VbUserConfirms(&cparams, VB_CONFIRM_SPACE_MEANS_NO), 0, in VbUserConfirmsTest()
226 TEST_EQ(VbUserConfirms(&cparams, 0), -1, "Space ignored"); in VbUserConfirmsTest()
231 TEST_EQ(VbUserConfirms(&cparams, VB_CONFIRM_MUST_TRUST_KEYBOARD), in VbUserConfirmsTest()
237 TEST_EQ(VbUserConfirms(&cparams, in VbUserConfirmsTest()
244 TEST_EQ(VbUserConfirms(&cparams, in VbUserConfirmsTest()
256 TEST_EQ(VbUserConfirms(&cparams, in VbUserConfirmsTest()
268 TEST_EQ(VbBootNormal(&cparams, &lkp), 1002, "VbBootNormal()"); in VbBootTest()
281 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Timeout"); in VbBootDevTest()
292 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Timeout"); in VbBootDevTest()
298 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Up arrow"); in VbBootDevTest()
303 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootDevTest()
310 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_LOAD_KERNEL_RECOVERY, in VbBootDevTest()
320 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_TPM_REBOOT_REQUIRED, in VbBootDevTest()
337 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Space-space"); in VbBootDevTest()
350 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Enter ignored"); in VbBootDevTest()
358 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_TPM_REBOOT_REQUIRED, in VbBootDevTest()
367 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Can't tonorm gbb-dev"); in VbBootDevTest()
374 TEST_EQ(VbBootDeveloper(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootDevTest()
384 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+D"); in VbBootDevTest()
394 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+D"); in VbBootDevTest()
400 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+L normal"); in VbBootDevTest()
407 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+L force legacy"); in VbBootDevTest()
413 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+L nv legacy"); in VbBootDevTest()
419 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+U normal"); in VbBootDevTest()
426 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 0, "Ctrl+U USB"); in VbBootDevTest()
433 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 0, "Ctrl+U force USB"); in VbBootDevTest()
439 TEST_EQ(VbBootDeveloper(&cparams, &lkp), 1002, "Ctrl+U enabled"); in VbBootDevTest()
458 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
472 TEST_EQ(VbBootRecovery(&cparams, &lkp), 0, "Good"); in VbBootRecTest()
478 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
492 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
510 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
522 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
533 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
547 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
560 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
572 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
583 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
594 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
609 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
622 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_SHUTDOWN_REQUESTED, in VbBootRecTest()
641 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_TPM_REBOOT_REQUIRED, in VbBootRecTest()
655 TEST_EQ(VbBootRecovery(&cparams, &lkp), VBERROR_TPM_SET_BOOT_MODE_STATE, in VbBootRecTest()