Home
last modified time | relevance | path

Searched refs:IsTpmOwned (Results 1 – 12 of 12) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_status_test.cc71 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
76 EXPECT_FALSE(tpm_status_->IsTpmOwned()); in TEST_F()
84 EXPECT_FALSE(tpm_status_->IsTpmOwned()); in TEST_F()
86 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
92 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
93 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
Dtpm2_initializer_test.cc80 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(true)); in TEST_F()
86 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(false)); in TEST_F()
93 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillRepeatedly(Return(false)); in TEST_F()
100 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillOnce(Return(false)); in TEST_F()
107 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillOnce(Return(false)); in TEST_F()
123 EXPECT_CALL(mock_tpm_status_, IsTpmOwned()).WillOnce(Return(false)); in TEST_F()
Dtpm_status.h32 virtual bool IsTpmOwned() = 0;
Dmock_tpm_status.h32 MOCK_METHOD0(IsTpmOwned, bool());
Dmock_tpm_status.cc38 ON_CALL(*this, IsTpmOwned()).WillByDefault(Return(true)); in MockTpmStatus()
Dtpm_status_impl.h40 bool IsTpmOwned() override;
Dtpm2_status_impl.h38 bool IsTpmOwned() override;
Dtpm2_status_impl.cc40 bool Tpm2StatusImpl::IsTpmOwned() { in IsTpmOwned() function in tpm_manager::Tpm2StatusImpl
Dtpm_status_impl.cc37 bool TpmStatusImpl::IsTpmOwned() { in IsTpmOwned() function in tpm_manager::TpmStatusImpl
Dtpm2_initializer_impl.cc60 if (tpm_status_->IsTpmOwned()) { in InitializeTpm()
Dtpm_initializer_impl.cc52 if (tpm_status_->IsTpmOwned() && !TestTpmAuth(GetDefaultOwnerPassword())) { in InitializeTpm()
Dtpm_manager_service.cc75 reply->set_owned(tpm_status_->IsTpmOwned()); in GetTpmStatusTask()