Home
last modified time | relevance | path

Searched refs:mock_tpm_utility_ (Results 1 – 4 of 4) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc51 factory->set_tpm_utility(&mock_tpm_utility_); in SetUp()
66 Mock::VerifyAndClearExpectations(&mock_tpm_utility_); in InitializeNvram()
72 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_; member in tpm_manager::Tpm2NvramTest
89 EXPECT_CALL(mock_tpm_utility_, DefineNVSpace(index, length, _)) in TEST_F()
98 EXPECT_CALL(mock_tpm_utility_, DefineNVSpace(index, length, _)) in TEST_F()
108 EXPECT_CALL(mock_tpm_utility_, DestroyNVSpace(index, _)) in TEST_F()
116 EXPECT_CALL(mock_tpm_utility_, DestroyNVSpace(index, _)) in TEST_F()
127 EXPECT_CALL(mock_tpm_utility_, WriteNVSpace(index, 0, data, _)) in TEST_F()
130 EXPECT_CALL(mock_tpm_utility_, LockNVSpace(index, _)) in TEST_F()
138 EXPECT_CALL(mock_tpm_utility_, WriteNVSpace(index, _, _, _)) in TEST_F()
[all …]
Dtpm2_initializer_test.cc47 factory->set_tpm_utility(&mock_tpm_utility_); in SetUp()
58 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_; member in tpm_manager::Tpm2InitializerTest
63 EXPECT_CALL(mock_tpm_utility_, StirRandom(_, _)) in TEST_F()
71 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
81 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
91 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
99 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
114 EXPECT_CALL(mock_tpm_utility_, GenerateRandom(_, _, _)) in TEST_F()
117 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(_, _, _)) in TEST_F()
144 EXPECT_CALL(mock_tpm_utility_, TakeOwnership(owner_password, in TEST_F()
/system/tpm/attestation/common/
Dcrypto_utility_impl_test.cc62 crypto_utility_.reset(new CryptoUtilityImpl(&mock_tpm_utility_)); in SetUp()
66 NiceMock<MockTpmUtility> mock_tpm_utility_; member in attestation::CryptoUtilityImplTest
101 EXPECT_CALL(mock_tpm_utility_, SealToPCR0(_, _)) in TEST_F()
126 EXPECT_CALL(mock_tpm_utility_, Unseal(_, _)) in TEST_F()
/system/tpm/attestation/server/
Dattestation_service_test.cc65 service_->set_tpm_utility(&mock_tpm_utility_); in SetUp()
135 NiceMock<MockTpmUtility> mock_tpm_utility_; member in attestation::AttestationServiceTest
380 EXPECT_CALL(mock_tpm_utility_, IsTpmReady()) in TEST_F()
394 EXPECT_CALL(mock_tpm_utility_, ActivateIdentity(_, _, _, _, _, _)) in TEST_F()
408 EXPECT_CALL(mock_tpm_utility_, CreateCertifiedKey(_, _, _, _, _, _, _, _, _)) in TEST_F()
655 EXPECT_CALL(mock_tpm_utility_, ActivateIdentity(_, _, _, "encrypted1", in TEST_F()
677 EXPECT_CALL(mock_tpm_utility_, ActivateIdentity(_, _, _, "encrypted1", in TEST_F()
713 EXPECT_CALL(mock_tpm_utility_, ActivateIdentity(_, _, _, "encrypted1", in TEST_F()
732 EXPECT_CALL(mock_tpm_utility_, CreateCertifiedKey(KEY_TYPE_ECC, in TEST_F()
761 EXPECT_CALL(mock_tpm_utility_, CreateCertifiedKey(KEY_TYPE_ECC, in TEST_F()
[all …]