Home
last modified time | relevance | path

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

/system/tpm/trunks/
Dtpm_state_test.cc122 TpmStateImpl tpm_state(factory); in TEST() local
123 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 …]
Dtrunks_factory_for_test.h78 void set_tpm_state(TpmState* tpm_state) { tpm_state_ = tpm_state; } in set_tpm_state() argument
Dtpm_utility_impl.cc138 std::unique_ptr<TpmState> tpm_state(factory_.GetTpmState()); in InitializeTpm() local
139 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() local
282 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 …]