Searched refs:MockTpmNvram (Results 1 – 3 of 3) sorted by relevance
25 MockTpmNvram::MockTpmNvram() { in MockTpmNvram() function in tpm_manager::MockTpmNvram27 .WillByDefault(Invoke(this, &MockTpmNvram::FakeDefineNvram)); in MockTpmNvram()29 .WillByDefault(Invoke(this, &MockTpmNvram::FakeDestroyNvram)); in MockTpmNvram()31 .WillByDefault(Invoke(this, &MockTpmNvram::FakeWriteNvram)); in MockTpmNvram()33 .WillByDefault(Invoke(this, &MockTpmNvram::FakeReadNvram)); in MockTpmNvram()35 .WillByDefault(Invoke(this, &MockTpmNvram::FakeIsNvramDefined)); in MockTpmNvram()37 .WillByDefault(Invoke(this, &MockTpmNvram::FakeIsNvramLocked)); in MockTpmNvram()39 .WillByDefault(Invoke(this, &MockTpmNvram::FakeGetNvramSize)); in MockTpmNvram()42 MockTpmNvram::~MockTpmNvram() {} in ~MockTpmNvram()44 bool MockTpmNvram::FakeDefineNvram(uint32_t index, size_t length) { in FakeDefineNvram()[all …]
34 class MockTpmNvram : public TpmNvram {36 MockTpmNvram();37 ~MockTpmNvram() override;
85 NiceMock<MockTpmNvram> mock_tpm_nvram_;