Lines Matching refs:session_id
42 std::string getSessionDir(int session_id) { in getSessionDir() argument
43 return kApexSessionsDir + "/" + std::to_string(session_id); in getSessionDir()
46 std::string getSessionStateFilePath(int session_id) { in getSessionStateFilePath() argument
47 return getSessionDir(session_id) + "/" + kStateFileName; in getSessionStateFilePath()
50 StatusOr<std::string> createSessionDirIfNeeded(int session_id) { in createSessionDirIfNeeded() argument
57 std::string sessionDir = getSessionDir(session_id); in createSessionDirIfNeeded()
66 Status deleteSessionDir(int session_id) { in deleteSessionDir() argument
67 std::string session_dir = getSessionDir(session_id); in deleteSessionDir()
83 StatusOr<ApexSession> ApexSession::CreateSession(int session_id) { in CreateSession() argument
86 auto sessionPath = createSessionDirIfNeeded(session_id); in CreateSession()
90 state.set_id(session_id); in CreateSession()
109 StatusOr<ApexSession> ApexSession::GetSession(int session_id) { in GetSession() argument
110 auto path = getSessionStateFilePath(session_id); in GetSession()