Lines Matching refs:incallStateMachine
133 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
135 incallStateMachine->apnManager_ = nullptr;
136 ASSERT_EQ(incallStateMachine->HasAnyConnectedState(), false);
147 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
149 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
150 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
151 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
152 incallStateMachine = nullptr;
153 idleState->stateMachine_ = incallStateMachine;
166 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
168 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
169 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
170 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
171 incallStateMachine->UpdateCallState(static_cast<int32_t>(TelCallStatus::CALL_STATUS_IDLE));
172 idleState->stateMachine_ = incallStateMachine;
185 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
187 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
188 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
189 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
190 incallStateMachine->UpdateCallState(static_cast<int32_t>(TelCallStatus::CALL_STATUS_DISCONNECTED));
191 idleState->stateMachine_ = incallStateMachine;
204 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
206 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
207 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
208 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
209 incallStateMachine = nullptr;
210 idleState->stateMachine_ = incallStateMachine;
224 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
226 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
227 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
228 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
229 idleState->stateMachine_ = incallStateMachine;
244 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
246 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
247 incallStateMachine->TransitionTo(incallStateMachine->idleState_);
248 auto idleState = static_cast<IdleState *>(incallStateMachine->idleState_.GetRefPtr());
249 incallStateMachine = nullptr;
250 idleState->stateMachine_ = incallStateMachine;
270 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
273 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
274 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
275 incallStateMachine->TransitionTo(incallStateMachine->activatedSecondaryState_);
276 incallStateMachine->TransitionTo(incallStateMachine->deactivatingSecondaryState_);
278 static_cast<DeactivatingSecondaryState *>(incallStateMachine->deactivatingSecondaryState_.GetRefPtr());
291 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
294 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
295 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
296 incallStateMachine->TransitionTo(incallStateMachine->activatedSecondaryState_);
297 incallStateMachine->TransitionTo(incallStateMachine->deactivatingSecondaryState_);
299 static_cast<DeactivatingSecondaryState *>(incallStateMachine->deactivatingSecondaryState_.GetRefPtr());
312 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
315 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
316 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
317 incallStateMachine->TransitionTo(incallStateMachine->activatedSecondaryState_);
318 incallStateMachine->TransitionTo(incallStateMachine->deactivatingSecondaryState_);
320 static_cast<DeactivatingSecondaryState *>(incallStateMachine->deactivatingSecondaryState_.GetRefPtr());
321 incallStateMachine = nullptr;
322 deactivatingSecondaryState->stateMachine_ = incallStateMachine;
336 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
339 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
340 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
341 incallStateMachine->TransitionTo(incallStateMachine->activatedSecondaryState_);
342 incallStateMachine->TransitionTo(incallStateMachine->deactivatingSecondaryState_);
344 static_cast<DeactivatingSecondaryState *>(incallStateMachine->deactivatingSecondaryState_.GetRefPtr());
357 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
360 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
361 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
363 static_cast<ActivatingSecondaryState *>(incallStateMachine->activatingSecondaryState_.GetRefPtr());
376 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
379 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
380 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
382 static_cast<ActivatingSecondaryState *>(incallStateMachine->activatingSecondaryState_.GetRefPtr());
395 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
398 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
399 incallStateMachine->TransitionTo(incallStateMachine->activatingSecondaryState_);
401 static_cast<ActivatingSecondaryState *>(incallStateMachine->activatingSecondaryState_.GetRefPtr());
402 incallStateMachine = nullptr;
403 activatingSecondaryState->stateMachine_ = incallStateMachine;
417 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
420 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
421 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
423 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
436 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
439 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
440 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
442 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
443 incallStateMachine = nullptr;
444 secondaryActiveState->stateMachine_ = incallStateMachine;
457 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
460 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
461 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
463 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
464 secondaryActiveState->stateMachine_ = incallStateMachine;
478 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
481 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
482 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
484 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
485 incallStateMachine = nullptr;
486 secondaryActiveState->stateMachine_ = incallStateMachine;
499 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
502 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
503 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
504 incallStateMachine->UpdateCallState(static_cast<int32_t>(TelCallStatus::CALL_STATUS_IDLE));
506 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
507 secondaryActiveState->stateMachine_ = incallStateMachine;
510 incallStateMachine->UpdateCallState(static_cast<int32_t>(TelCallStatus::CALL_STATUS_DISCONNECTED));
523 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
526 incallStateMachine->Init(TelCallStatus::CALL_STATUS_DIALING);
527 incallStateMachine->TransitionTo(incallStateMachine->secondaryActiveState_);
529 static_cast<SecondaryActiveState *>(incallStateMachine->secondaryActiveState_.GetRefPtr());
530 incallStateMachine = nullptr;
531 secondaryActiveState->stateMachine_ = incallStateMachine;
1775 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1782 auto result = incallStateMachine->IsSecondaryCanActiveData();
1794 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1806 auto result = incallStateMachine->IsSecondaryCanActiveData();
1813 result = incallStateMachine->IsSecondaryCanActiveData();
1825 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1837 auto result = incallStateMachine->IsSecondaryCanActiveData();
1849 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1880 auto result = incallStateMachine->IsSecondaryCanActiveData();
1892 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1923 auto result = incallStateMachine->IsSecondaryCanActiveData();
1935 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
1966 incallStateMachine->callState_ = static_cast<int32_t>(TelCallStatus::CALL_STATUS_IDLE);
1967 auto result = incallStateMachine->IsSecondaryCanActiveData();
1969 incallStateMachine->callState_ = static_cast<int32_t>(TelCallStatus::CALL_STATUS_DISCONNECTED);
1970 result = incallStateMachine->IsSecondaryCanActiveData();
1972 incallStateMachine->callState_ = static_cast<int32_t>(TelCallStatus::CALL_STATUS_DIALING);
1973 result = incallStateMachine->IsSecondaryCanActiveData();
1985 std::shared_ptr<IncallDataStateMachine> incallStateMachine =
2021 incallStateMachine->callState_ = static_cast<int32_t>(TelCallStatus::CALL_STATUS_DIALING);
2022 auto result = incallStateMachine->IsSecondaryCanActiveData();