Lines Matching refs:state_
83 ApexSession::ApexSession(SessionState state) : state_(std::move(state)) {} in ApexSession()
164 SessionState::State ApexSession::GetState() const { return state_.state(); } in GetState()
166 int ApexSession::GetId() const { return state_.id(); } in GetId()
169 return state_.expected_build_fingerprint(); in GetBuildFingerprint()
185 return state_.rollback_enabled(); in HasRollbackEnabled()
188 bool ApexSession::IsRollback() const { return state_.is_rollback(); } in IsRollback()
190 int ApexSession::GetRollbackId() const { return state_.rollback_id(); } in GetRollbackId()
193 return state_.crashing_native_process(); in GetCrashingNativeProcess()
198 return state_.child_session_ids(); in GetChildSessionIds()
203 *(state_.mutable_child_session_ids()) = {child_session_ids.begin(), in SetChildSessionIds()
209 return state_.apex_names(); in GetApexNames()
213 *(state_.mutable_expected_build_fingerprint()) = fingerprint; in SetBuildFingerprint()
217 state_.set_rollback_enabled(enabled); in SetHasRollbackEnabled()
221 state_.set_is_rollback(is_rollback); in SetIsRollback()
225 state_.set_rollback_id(rollback_id); in SetRollbackId()
230 state_.set_crashing_native_process(crashing_process); in SetCrashingNativeProcess()
234 state_.add_apex_names(apex_name); in AddApexName()
239 state_.set_state(session_state); in UpdateStateAndCommit()
241 auto stateFilePath = getSessionStateFilePath(state_.id()); in UpdateStateAndCommit()
245 if (!state_.SerializeToOstream(&stateFile)) { in UpdateStateAndCommit()