Lines Matching refs:stateMachine
30 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateBegin() local
31 if (stateMachine == nullptr) { in StateBegin()
36 stateMachine->SetCurrentState(sptr<State>(this)); in StateBegin()
51 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilActivatePdpContextDone() local
52 if (stateMachine == nullptr) { in RilActivatePdpContextDone()
63 if (stateMachine->connectId_ != resultInfo->flag) { in RilActivatePdpContextDone()
64 …TELEPHONY_LOGE("connectId is %{public}d, flag is %{public}d", stateMachine->connectId_, resultInfo… in RilActivatePdpContextDone()
68 Inactive *inActive = static_cast<Inactive *>(stateMachine->inActiveState_.GetRefPtr()); in RilActivatePdpContextDone()
71 inActive->SetDeActiveApnTypeId(stateMachine->apnId_); in RilActivatePdpContextDone()
72 stateMachine->TransitionTo(stateMachine->inActiveState_); in RilActivatePdpContextDone()
76 Inactive *inActive = static_cast<Inactive *>(stateMachine->inActiveState_.GetRefPtr()); in RilActivatePdpContextDone()
77 inActive->SetDeActiveApnTypeId(stateMachine->apnId_); in RilActivatePdpContextDone()
79 stateMachine->TransitionTo(stateMachine->inActiveState_); in RilActivatePdpContextDone()
82 stateMachine->SetCid(resultInfo->cid); in RilActivatePdpContextDone()
83 if (stateMachine->cdConnectionManager_ != nullptr) { in RilActivatePdpContextDone()
84 stateMachine->cdConnectionManager_->AddActiveConnectionByCid(stateMachine_.lock()); in RilActivatePdpContextDone()
88 stateMachine->DeferEvent(std::move(event)); in RilActivatePdpContextDone()
89 stateMachine->TransitionTo(stateMachine->activeState_); in RilActivatePdpContextDone()
138 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in RilErrorResponse() local
139 if (stateMachine == nullptr) { in RilErrorResponse()
148 if (stateMachine->connectId_ != rilInfo->flag) { in RilErrorResponse()
149 …TELEPHONY_LOGE("connectId is %{public}d, flag is %{public}d", stateMachine->connectId_, rilInfo->f… in RilErrorResponse()
153 Inactive *inActive = static_cast<Inactive *>(stateMachine->inActiveState_.GetRefPtr()); in RilErrorResponse()
177 inActive->SetDeActiveApnTypeId(stateMachine->apnId_); in RilErrorResponse()
178 stateMachine->TransitionTo(stateMachine->inActiveState_); in RilErrorResponse()
189 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in ProcessConnectTimeout() local
190 if (stateMachine == nullptr) { in ProcessConnectTimeout()
194 if (connectId != stateMachine->connectId_) { in ProcessConnectTimeout()
197 Inactive *inActive = static_cast<Inactive *>(stateMachine->inActiveState_.GetRefPtr()); in ProcessConnectTimeout()
198 inActive->SetDeActiveApnTypeId(stateMachine->apnId_); in ProcessConnectTimeout()
200 stateMachine->TransitionTo(stateMachine->inActiveState_); in ProcessConnectTimeout()
210 std::shared_ptr<CellularDataStateMachine> stateMachine = stateMachine_.lock(); in StateProcess() local
211 if (stateMachine == nullptr) { in StateProcess()
222 stateMachine->DeferEvent(std::move(event)); in StateProcess()
230 stateMachine->TransitionTo(stateMachine->inActiveState_); in StateProcess()
234 stateMachine->DeferEvent(std::move(event)); in StateProcess()