Home
last modified time | relevance | path

Searched refs:tpm_state (Results 1 – 3 of 3) sorted by relevance

/system/tpm/trunks/
Dtpm_state_test.cc160 TpmStateImpl tpm_state(factory); in TEST() local
161 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsOwnerPasswordSet(), "Check failed"); in TEST()
162 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEndorsementPasswordSet(), in TEST()
164 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsLockoutPasswordSet(), "Check failed"); in TEST()
165 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsOwned(), "Check failed"); in TEST()
166 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsInLockout(), "Check failed"); in TEST()
167 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsPlatformHierarchyEnabled(), in TEST()
169 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsStorageHierarchyEnabled(), in TEST()
171 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEndorsementHierarchyEnabled(), in TEST()
173 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEnabled(), "Check failed"); in TEST()
[all …]
Dtrunks_factory_for_test.h80 void set_tpm_state(TpmState* tpm_state) { in set_tpm_state() argument
81 tpm_state_ = tpm_state; in set_tpm_state()
Dtpm_utility_impl.cc136 scoped_ptr<TpmState> tpm_state(factory_.GetTpmState()); in InitializeTpm() local
137 result = tpm_state->Initialize(); in InitializeTpm()
143 if (!tpm_state->WasShutdownOrderly()) { in InitializeTpm()
146 if (tpm_state->IsInLockout()) { in InitializeTpm()
152 if (tpm_state->IsPlatformHierarchyEnabled()) { in InitializeTpm()
279 scoped_ptr<TpmState> tpm_state(factory_.GetTpmState()); in TakeOwnership() local
280 result = tpm_state->Initialize(); in TakeOwnership()
283 if (!tpm_state->IsEndorsementPasswordSet()) { in TakeOwnership()
293 if (!tpm_state->IsLockoutPasswordSet()) { in TakeOwnership()
309 tpm_state->IsOwnerPasswordSet()) { in TakeOwnership()
[all …]