Lines Matching refs:session_id
856 Result<ApexFile> VerifySessionDir(const int session_id) { in VerifySessionDir() argument
858 std::to_string(session_id); in VerifySessionDir()
1520 Result<void> AbortStagedSession(int session_id) { in AbortStagedSession() argument
1521 auto session = ApexSession::GetSession(session_id); in AbortStagedSession()
1523 return Error() << "No session found with id " << session_id; in AbortStagedSession()
1967 auto session_id = session.GetId(); in ScanStagedSessionsDirAndStage() local
1970 LOG(WARNING) << "Marking session " << session_id << " as failed."; in ScanStagedSessionsDirAndStage()
1973 LOG(WARNING) << "Failed to mark session " << session_id in ScanStagedSessionsDirAndStage()
2001 "/session_" + std::to_string(session_id)); in ScanStagedSessionsDirAndStage()
2035 dir_to_scan.c_str(), session_id); in ScanStagedSessionsDirAndStage()
2052 StringPrintf("Postinstall failed for session %d %s", session_id, in ScanStagedSessionsDirAndStage()
2902 const int session_id, const std::vector<int>& child_session_ids, in SubmitStagedSession() argument
2905 if (session_id == 0) { in SubmitStagedSession()
2921 ids_to_scan = {session_id}; in SubmitStagedSession()
2945 return Error() << "Cannot set session " << session_id << " as both a" in SubmitStagedSession()
2949 auto session = ApexSession::CreateSession(session_id); in SubmitStagedSession()
2973 Result<void> MarkStagedSessionReady(const int session_id) { in MarkStagedSessionReady() argument
2974 auto session = ApexSession::GetSession(session_id); in MarkStagedSessionReady()
2988 return Error() << "Invalid state for session " << session_id in MarkStagedSessionReady()
2992 Result<void> MarkStagedSessionSuccessful(const int session_id) { in MarkStagedSessionSuccessful() argument
2993 auto session = ApexSession::GetSession(session_id); in MarkStagedSessionSuccessful()