Home
last modified time | relevance | path

Searched refs:tpm_status_ (Results 1 – 8 of 8) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm2_status_test.cc40 tpm_status_.reset(new Tpm2StatusImpl(factory_.get())); in SetUp()
46 std::unique_ptr<TpmStatus> tpm_status_; member in tpm_manager::Tpm2StatusTest
55 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()
76 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
82 EXPECT_FALSE(tpm_status_->IsTpmOwned()); in TEST_F()
91 EXPECT_FALSE(tpm_status_->IsTpmOwned()); in TEST_F()
94 EXPECT_TRUE(tpm_status_->IsTpmOwned()); in TEST_F()
[all …]
Dmain.cc55 tpm_status_.reset(new tpm_manager::Tpm2StatusImpl); in TpmManagerDaemon()
58 tpm_status_.get())); in TpmManagerDaemon()
61 tpm_status_.reset(new tpm_manager::TpmStatusImpl); in TpmManagerDaemon()
64 tpm_status_.get())); in TpmManagerDaemon()
70 tpm_status_.get(), in TpmManagerDaemon()
94 std::unique_ptr<tpm_manager::TpmStatus> tpm_status_; member in __anond738c9d10111::TpmManagerDaemon
Dtpm2_initializer_impl.cc40 tpm_status_(tpm_status) {} in Tpm2InitializerImpl()
49 tpm_status_(tpm_status) {} in Tpm2InitializerImpl()
55 if (tpm_status_->IsTpmOwned()) { in InitializeTpm()
Dtpm_manager_service.cc31 tpm_status_(tpm_status), in TpmManagerService()
49 if (!tpm_status_->IsTpmEnabled()) { in InitializeTask()
72 result->set_enabled(tpm_status_->IsTpmEnabled()); in GetTpmStatusTask()
73 result->set_owned(tpm_status_->IsTpmOwned()); in GetTpmStatusTask()
82 if (tpm_status_->GetDictionaryAttackInfo(&counter, &threshold, &lockout, in GetTpmStatusTask()
103 if (!tpm_status_->IsTpmEnabled()) { in TakeOwnershipTask()
Dtpm2_initializer_impl.h71 TpmStatus* tpm_status_; variable
Dtpm_initializer_impl.h85 TpmStatus* tpm_status_; variable
Dtpm_initializer_impl.cc45 tpm_status_(tpm_status) {} in TpmInitializerImpl()
48 if (tpm_status_->IsTpmOwned() && !TestTpmAuth(kDefaultOwnerPassword)) { in InitializeTpm()
Dtpm_manager_service.h180 TpmStatus* tpm_status_; variable