Home
last modified time | relevance | path

Searched refs:InitializeTpm (Results 1 – 18 of 18) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_initializer_test.cc76 EXPECT_FALSE(tpm_initializer_->InitializeTpm()); in TEST_F()
82 EXPECT_TRUE(tpm_initializer_->InitializeTpm()); in TEST_F()
89 EXPECT_FALSE(tpm_initializer_->InitializeTpm()); in TEST_F()
96 EXPECT_FALSE(tpm_initializer_->InitializeTpm()); in TEST_F()
103 EXPECT_FALSE(tpm_initializer_->InitializeTpm()); in TEST_F()
115 EXPECT_TRUE(tpm_initializer_->InitializeTpm()); in TEST_F()
135 EXPECT_TRUE(tpm_initializer_->InitializeTpm()); in TEST_F()
Dmock_tpm_initializer.cc24 ON_CALL(*this, InitializeTpm()).WillByDefault(Return(true)); in MockTpmInitializer()
Dtpm_initializer.h32 virtual bool InitializeTpm() = 0;
Dmock_tpm_initializer.h31 MOCK_METHOD0(InitializeTpm, bool());
Dtpm_initializer_impl.h51 bool InitializeTpm() override;
Dtpm2_initializer_impl.h57 bool InitializeTpm() override;
Dtpm_manager_service_test.cc103 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()).Times(1); in TEST_F()
110 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()).Times(0); in TEST_F()
116 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()) in TEST_F()
124 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()).Times(AtLeast(2)); in TEST_F()
136 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()).Times(0); in TEST_F()
211 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()).Times(1); in TEST_F()
222 EXPECT_CALL(mock_tpm_initializer_, InitializeTpm()) in TEST_F()
Dtpm_manager_service.cc57 if (!tpm_initializer_->InitializeTpm()) { in InitializeTask()
109 if (!tpm_initializer_->InitializeTpm()) { in TakeOwnershipTask()
Dtpm2_initializer_impl.cc56 bool Tpm2InitializerImpl::InitializeTpm() { in InitializeTpm() function in tpm_manager::Tpm2InitializerImpl
Dtpm_initializer_impl.cc51 bool TpmInitializerImpl::InitializeTpm() { in InitializeTpm() function in tpm_manager::TpmInitializerImpl
/system/tpm/trunks/
Dtrunks_client.cc76 int InitializeTpm(const TrunksFactory& factory) { in InitializeTpm() function
77 return factory.GetTpmUtility()->InitializeTpm(); in InitializeTpm()
186 return InitializeTpm(factory); in main()
Dmock_tpm_utility.h36 MOCK_METHOD0(InitializeTpm, TPM_RC());
Dtpm_utility.h65 virtual TPM_RC InitializeTpm() = 0;
Dtpm_utility_impl.h46 TPM_RC InitializeTpm() override;
Dtrunks_factory_for_test.cc127 TPM_RC InitializeTpm() override { return target_->InitializeTpm(); } in InitializeTpm() function in trunks::TpmUtilityForwarder
Dtpm_utility_test.cc192 EXPECT_EQ(TPM_RC_SUCCESS, utility_.InitializeTpm()); in TEST_F()
193 EXPECT_EQ(TPM_RC_SUCCESS, utility_.InitializeTpm()); in TEST_F()
198 EXPECT_EQ(TPM_RC_SUCCESS, utility_.InitializeTpm()); in TEST_F()
206 EXPECT_EQ(TPM_RC_FAILURE, utility_.InitializeTpm()); in TEST_F()
214 EXPECT_EQ(TPM_RC_FAILURE, utility_.InitializeTpm()); in TEST_F()
Dresource_manager.cc68 CHECK_EQ(tpm_utility->InitializeTpm(), TPM_RC_SUCCESS); in Initialize()
Dtpm_utility_impl.cc136 TPM_RC TpmUtilityImpl::InitializeTpm() { in InitializeTpm() function in trunks::TpmUtilityImpl