Searched refs:IsTpmOwned (Results 1 – 12 of 12) sorted by relevance
71 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()
80 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()
32 virtual bool IsTpmOwned() = 0;
32 MOCK_METHOD0(IsTpmOwned, bool());
38 ON_CALL(*this, IsTpmOwned()).WillByDefault(Return(true)); in MockTpmStatus()
40 bool IsTpmOwned() override;
38 bool IsTpmOwned() override;
40 bool Tpm2StatusImpl::IsTpmOwned() { in IsTpmOwned() function in tpm_manager::Tpm2StatusImpl
37 bool TpmStatusImpl::IsTpmOwned() { in IsTpmOwned() function in tpm_manager::TpmStatusImpl
60 if (tpm_status_->IsTpmOwned()) { in InitializeTpm()
52 if (tpm_status_->IsTpmOwned() && !TestTpmAuth(GetDefaultOwnerPassword())) { in InitializeTpm()
75 reply->set_owned(tpm_status_->IsTpmOwned()); in GetTpmStatusTask()