Home
last modified time | relevance | path

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

/system/tpm/tpm_manager/server/
Dtpm2_status_test.cc55 EXPECT_TRUE(tpm_status_->IsTpmEnabled()); in TEST_F()
61 EXPECT_FALSE(tpm_status_->IsTpmEnabled()); in TEST_F()
67 EXPECT_TRUE(tpm_status_->IsTpmEnabled()); in TEST_F()
68 EXPECT_TRUE(tpm_status_->IsTpmEnabled()); in TEST_F()
Dtpm_status.h30 virtual bool IsTpmEnabled() = 0;
Dmock_tpm_status.h31 MOCK_METHOD0(IsTpmEnabled, bool());
Dmock_tpm_status.cc37 ON_CALL(*this, IsTpmEnabled()).WillByDefault(Return(true)); in MockTpmStatus()
Dtpm_status_impl.h39 bool IsTpmEnabled() override;
Dtpm2_status_impl.h38 bool IsTpmEnabled() override;
Dtpm2_status_impl.cc38 bool Tpm2StatusImpl::IsTpmEnabled() { in IsTpmEnabled() function in tpm_manager::Tpm2StatusImpl
Dtpm_manager_service.cc49 if (!tpm_status_->IsTpmEnabled()) { in InitializeTask()
72 result->set_enabled(tpm_status_->IsTpmEnabled()); in GetTpmStatusTask()
103 if (!tpm_status_->IsTpmEnabled()) { in TakeOwnershipTask()
Dtpm_status_impl.cc30 bool TpmStatusImpl::IsTpmEnabled() { in IsTpmEnabled() function in tpm_manager::TpmStatusImpl
Dtpm_manager_service_test.cc115 EXPECT_CALL(mock_tpm_status_, IsTpmEnabled()).WillRepeatedly(Return(false)); in TEST_F()
197 EXPECT_CALL(mock_tpm_status_, IsTpmEnabled()).WillRepeatedly(Return(false)); in TEST_F()
241 EXPECT_CALL(mock_tpm_status_, IsTpmEnabled()).WillRepeatedly(Return(false)); in TEST_F()