Lines Matching refs:ApexSession

83 ApexSession::ApexSession(SessionState state) : state_(std::move(state)) {}  in ApexSession()  function in android::apex::ApexSession
85 Result<ApexSession> ApexSession::CreateSession(int session_id) { in CreateSession()
94 return ApexSession(state); in CreateSession()
96 Result<ApexSession> ApexSession::GetSessionFromFile(const std::string& path) { in GetSessionFromFile()
107 return ApexSession(state); in GetSessionFromFile()
110 Result<ApexSession> ApexSession::GetSession(int session_id) { in GetSession()
116 std::vector<ApexSession> ApexSession::GetSessions() { in GetSessions()
117 std::vector<ApexSession> sessions; in GetSessions()
142 std::vector<ApexSession> ApexSession::GetSessionsInState( in GetSessionsInState()
147 [&](const ApexSession &s) { return s.GetState() != state; }), in GetSessionsInState()
153 std::vector<ApexSession> ApexSession::GetActiveSessions() { in GetActiveSessions()
155 std::vector<ApexSession> activeSessions; in GetActiveSessions()
156 for (const ApexSession& session : sessions) { in GetActiveSessions()
164 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState()
166 int ApexSession::GetId() const { return state_.id(); } in GetId()
168 std::string ApexSession::GetBuildFingerprint() const { in GetBuildFingerprint()
172 bool ApexSession::IsFinalized() const { in IsFinalized()
184 bool ApexSession::HasRollbackEnabled() const { in HasRollbackEnabled()
188 bool ApexSession::IsRollback() const { return state_.is_rollback(); } in IsRollback()
190 int ApexSession::GetRollbackId() const { return state_.rollback_id(); } in GetRollbackId()
192 std::string ApexSession::GetCrashingNativeProcess() const { in GetCrashingNativeProcess()
196 const google::protobuf::RepeatedField<int> ApexSession::GetChildSessionIds() in GetChildSessionIds()
201 void ApexSession::SetChildSessionIds( in SetChildSessionIds()
208 ApexSession::GetApexNames() const { in GetApexNames()
212 void ApexSession::SetBuildFingerprint(const std::string& fingerprint) { in SetBuildFingerprint()
216 void ApexSession::SetHasRollbackEnabled(const bool enabled) { in SetHasRollbackEnabled()
220 void ApexSession::SetIsRollback(const bool is_rollback) { in SetIsRollback()
224 void ApexSession::SetRollbackId(const int rollback_id) { in SetRollbackId()
228 void ApexSession::SetCrashingNativeProcess( in SetCrashingNativeProcess()
233 void ApexSession::AddApexName(const std::string& apex_name) { in AddApexName()
237 Result<void> ApexSession::UpdateStateAndCommit( in UpdateStateAndCommit()
252 Result<void> ApexSession::DeleteSession() const { in DeleteSession()
256 std::ostream& operator<<(std::ostream& out, const ApexSession& session) { in operator <<()
262 void ApexSession::DeleteFinalizedSessions() { in DeleteFinalizedSessions()
264 for (const ApexSession& session : sessions) { in DeleteFinalizedSessions()