Searched refs:tpm_state (Results 1 – 3 of 3) sorted by relevance
160 TpmStateImpl tpm_state(factory); in TEST() local161 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 …]
80 void set_tpm_state(TpmState* tpm_state) { in set_tpm_state() argument81 tpm_state_ = tpm_state; in set_tpm_state()
136 scoped_ptr<TpmState> tpm_state(factory_.GetTpmState()); in InitializeTpm() local137 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() local280 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 …]