Searched refs:tpm_state (Results 1 – 3 of 3) sorted by relevance
122 TpmStateImpl tpm_state(factory); in TEST() local123 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsOwnerPasswordSet(), "Check failed"); in TEST()124 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEndorsementPasswordSet(), in TEST()126 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsLockoutPasswordSet(), "Check failed"); in TEST()127 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsOwned(), "Check failed"); in TEST()128 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsInLockout(), "Check failed"); in TEST()129 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsPlatformHierarchyEnabled(), in TEST()131 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsStorageHierarchyEnabled(), in TEST()133 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEndorsementHierarchyEnabled(), in TEST()135 EXPECT_DEATH_IF_SUPPORTED(tpm_state.IsEnabled(), "Check failed"); in TEST()[all …]
78 void set_tpm_state(TpmState* tpm_state) { tpm_state_ = tpm_state; } in set_tpm_state() argument
138 std::unique_ptr<TpmState> tpm_state(factory_.GetTpmState()); in InitializeTpm() local139 result = tpm_state->Initialize(); in InitializeTpm()145 if (!tpm_state->WasShutdownOrderly()) { in InitializeTpm()149 if (tpm_state->IsInLockout()) { in InitializeTpm()155 if (tpm_state->IsPlatformHierarchyEnabled()) { in InitializeTpm()281 std::unique_ptr<TpmState> tpm_state(factory_.GetTpmState()); in TakeOwnership() local282 result = tpm_state->Initialize(); in TakeOwnership()285 if (!tpm_state->IsEndorsementPasswordSet()) { in TakeOwnership()294 if (!tpm_state->IsLockoutPasswordSet()) { in TakeOwnership()308 tpm_state->IsOwnerPasswordSet()) { in TakeOwnership()[all …]