Lines Matching refs:session
131 auto session = GetSessionFromFile(sessionDirPath + "/" + kStateFileName); in GetSessions() local
132 if (!session.ok()) { in GetSessions()
133 LOG(WARNING) << session.error(); in GetSessions()
136 sessions.push_back(std::move(*session)); in GetSessions()
156 for (const ApexSession& session : sessions) { in GetActiveSessions() local
157 if (!session.IsFinalized() && session.GetState() != SessionState::UNKNOWN) { in GetActiveSessions()
158 activeSessions.push_back(session); in GetActiveSessions()
256 std::ostream& operator<<(std::ostream& out, const ApexSession& session) { in operator <<() argument
257 return out << "[id = " << session.GetId() in operator <<()
258 << "; state = " << SessionState::State_Name(session.GetState()) in operator <<()
264 for (const ApexSession& session : sessions) { in DeleteFinalizedSessions() local
265 if (!session.IsFinalized()) { in DeleteFinalizedSessions()
268 auto result = session.DeleteSession(); in DeleteFinalizedSessions()
270 LOG(WARNING) << "Failed to delete finalized session: " << session.GetId(); in DeleteFinalizedSessions()