Home
last modified time | relevance | path

Searched refs:session_manager_ (Results 1 – 7 of 7) sorted by relevance

/system/tpm/trunks/
Dpolicy_session_impl.cc35 session_manager_ = factory_.GetSessionManager(); in PolicySessionImpl()
41 session_manager_ = factory_.GetSessionManager(); in PolicySessionImpl()
45 session_manager_->CloseSession(); in ~PolicySessionImpl()
49 if (session_manager_->GetSessionHandle() == kUninitializedHandle) { in GetDelegate()
64 return session_manager_->StartSession(session_type_, bind_entity, in StartBoundSession()
79 session_manager_->GetSessionHandle(), in GetDigest()
101 session_manager_->GetSessionHandle(), in PolicyOR()
136 session_manager_->GetSessionHandle(), in PolicyPCR()
148 session_manager_->GetSessionHandle(), in PolicyCommandCode()
161 session_manager_->GetSessionHandle(), in PolicyAuthValue()
[all …]
Dsession_manager_test.cc42 SessionManagerTest() : session_manager_(factory_) { in SessionManagerTest()
50 session_manager_.session_handle_ = handle; in SetHandle()
76 SessionManagerImpl session_manager_; member in trunks::SessionManagerTest
84 session_manager_.CloseSession(); in TEST_F()
91 session_manager_.CloseSession(); in TEST_F()
96 EXPECT_EQ(kUninitializedHandle, session_manager_.GetSessionHandle()); in TEST_F()
98 EXPECT_EQ(handle, session_manager_.GetSessionHandle()); in TEST_F()
114 EXPECT_EQ(TPM_RC_SUCCESS, session_manager_.StartSession( in TEST_F()
125 session_manager_.StartSession(TPM_SE_TRIAL, TPM_RH_NULL, "", false, in TEST_F()
132 session_manager_.StartSession(TPM_SE_TRIAL, TPM_RH_NULL, "", false, in TEST_F()
[all …]
Dhmac_session_impl.cc30 session_manager_ = factory_.GetSessionManager(); in HmacSessionImpl()
34 session_manager_->CloseSession(); in ~HmacSessionImpl()
38 if (session_manager_->GetSessionHandle() == kUninitializedHandle) { in GetDelegate()
48 return session_manager_->StartSession(TPM_SE_HMAC, bind_entity, in StartBoundSession()
Dtrunks_factory_for_test.h87 session_manager_ = session_manager; in set_session_manager()
115 SessionManager* session_manager_; variable
Dhmac_session_impl.h73 std::unique_ptr<SessionManager> session_manager_; variable
Dpolicy_session_impl.h78 std::unique_ptr<SessionManager> session_manager_; variable
Dtrunks_factory_for_test.cc545 session_manager_(default_session_manager_.get()), in TrunksFactoryForTest()
578 return base::MakeUnique<SessionManagerForwarder>(session_manager_); in GetSessionManager()