Home
last modified time | relevance | path

Searched refs:MockTpmUtility (Results 1 – 10 of 10) sorted by relevance

/system/tpm/trunks/
Dmock_tpm_utility.cc21 MockTpmUtility::MockTpmUtility() {} in MockTpmUtility() function in trunks::MockTpmUtility
22 MockTpmUtility::~MockTpmUtility() {} in ~MockTpmUtility()
Dmock_tpm_utility.h28 class MockTpmUtility : public TpmUtility {
30 MockTpmUtility();
31 ~MockTpmUtility() override;
Dtrunks_factory_for_test.h39 class MockTpmUtility; variable
109 std::unique_ptr<MockTpmUtility> default_tpm_utility_;
Dtrunks_factory_for_test.cc540 default_tpm_utility_(new NiceMock<MockTpmUtility>()), in TrunksFactoryForTest()
/system/tpm/attestation/common/
Dmock_tpm_utility.cc30 *out = attestation::MockTpmUtility::Transform(method_, in); in operator ()()
59 MockTpmUtility::MockTpmUtility() { in MockTpmUtility() function in attestation::MockTpmUtility
75 MockTpmUtility::~MockTpmUtility() {} in ~MockTpmUtility()
78 std::string MockTpmUtility::Transform(const std::string& method, in Transform()
Dmock_tpm_utility.h28 class MockTpmUtility : public TpmUtility {
30 MockTpmUtility();
31 ~MockTpmUtility() override;
Dcrypto_utility_impl_test.cc66 NiceMock<MockTpmUtility> mock_tpm_utility_;
/system/tpm/attestation/server/
Dattestation_service_test.cc128 NiceMock<MockTpmUtility> mock_tpm_utility_;
857 EXPECT_EQ(MockTpmUtility::Transform("Unbind", "data"), in TEST_F()
874 EXPECT_EQ(MockTpmUtility::Transform("Unbind", "data"), in TEST_F()
936 EXPECT_EQ(MockTpmUtility::Transform("Sign", "data"), reply.signature()); in TEST_F()
952 EXPECT_EQ(MockTpmUtility::Transform("Sign", "data"), reply.signature()); in TEST_F()
/system/tpm/tpm_manager/server/
Dtpm2_initializer_test.cc68 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_;
Dtpm2_nvram_test.cc155 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_;