Lines Matching refs:ResetMocks
59 static void ResetMocks(int fail_on_call, uint32_t fail_with_err) in ResetMocks() function
247 ResetMocks(0, 0); in CrcTestFirmware()
258 ResetMocks(0, 0); in CrcTestFirmware()
269 ResetMocks(0, 0); in CrcTestFirmware()
281 ResetMocks(0, 0); in CrcTestFirmware()
291 ResetMocks(0, 0); in CrcTestFirmware()
305 ResetMocks(0, 0); in CrcTestFirmware()
321 ResetMocks(0, 0); in CrcTestFirmware()
350 ResetMocks(0, 0); in CrcTestKernel()
361 ResetMocks(0, 0); in CrcTestKernel()
372 ResetMocks(0, 0); in CrcTestKernel()
383 ResetMocks(0, 0); in CrcTestKernel()
393 ResetMocks(0, 0); in CrcTestKernel()
406 ResetMocks(0, 0); in CrcTestKernel()
421 ResetMocks(0, 0); in CrcTestKernel()
449 ResetMocks(0, 0); in MiscTest()
457 ResetMocks(0, 0); in MiscTest()
463 ResetMocks(1, TPM_E_BADINDEX); in MiscTest()
469 ResetMocks(1, TPM_E_MAXNVWRITES); in MiscTest()
479 ResetMocks(0, 0); in MiscTest()
485 ResetMocks(1, TPM_E_BADINDEX); in MiscTest()
492 ResetMocks(1, TPM_E_MAXNVWRITES); in MiscTest()
513 ResetMocks(0, 0); in OneTimeInitTest()
544 ResetMocks(0, 0); in OneTimeInitTest()
567 ResetMocks(0, 0); in OneTimeInitTest()
590 ResetMocks(1, TPM_E_IOERROR); in OneTimeInitTest()
606 ResetMocks(0, 0); in SetupTpmTest()
617 ResetMocks(0, 0); in SetupTpmTest()
630 ResetMocks(0, 0); in SetupTpmTest()
644 ResetMocks(3, TPM_E_IOERROR); in SetupTpmTest()
657 ResetMocks(5, TPM_E_BADINDEX); in SetupTpmTest()
684 ResetMocks(5, TPM_E_IOERROR); in SetupTpmTest()
696 ResetMocks(0, 0); in SetupTpmTest()
713 ResetMocks(0, 0); in SetupTpmTest()
731 ResetMocks(0, 0); in SetupTpmTest()
745 ResetMocks(0, 0); in SetupTpmTest()
751 ResetMocks(0, 0); in SetupTpmTest()
774 ResetMocks(0, 0); in RollbackFirmwareTest()
790 ResetMocks(1, TPM_E_IOERROR); in RollbackFirmwareTest()
803 ResetMocks(0, 0); in RollbackFirmwareTest()
823 ResetMocks(0, 0); in RollbackFirmwareTest()
839 ResetMocks(0, 0); in RollbackFirmwareTest()
850 ResetMocks(1, TPM_E_IOERROR); in RollbackFirmwareTest()
855 ResetMocks(0, 0); in RollbackFirmwareTest()
863 ResetMocks(0, 0); in RollbackFirmwareTest()
873 ResetMocks(0, 0); in RollbackFirmwareTest()
879 ResetMocks(1, TPM_E_IOERROR); in RollbackFirmwareTest()
900 ResetMocks(0, 0); in RollbackKernelTest()
912 ResetMocks(1, TPM_E_IOERROR); in RollbackKernelTest()
920 ResetMocks(0, 0); in RollbackKernelTest()
926 ResetMocks(0, 0); in RollbackKernelTest()
933 ResetMocks(0, 0); in RollbackKernelTest()
943 ResetMocks(1, TPM_E_IOERROR); in RollbackKernelTest()
948 ResetMocks(0, 0); in RollbackKernelTest()
954 ResetMocks(1, TPM_E_IOERROR); in RollbackKernelTest()
960 ResetMocks(0, 0); in RollbackKernelTest()
968 ResetMocks(0, 0); in RollbackS3ResumeTest()
976 ResetMocks(2, TPM_E_INVALID_POSTINIT); in RollbackS3ResumeTest()
980 ResetMocks(2, TPM_E_IOERROR); in RollbackS3ResumeTest()