Home
last modified time | relevance | path

Searched refs:imsControl (Results 1 – 4 of 4) sorted by relevance

/base/telephony/cellular_call/services/manager/src/
Dcellular_call_service.cpp313 auto imsControl = GetImsControl(callInfo.slotId); in Dial() local
314 if (imsControl == nullptr) { in Dial()
316 imsControl = std::make_shared<IMSControl>(); in Dial()
317 if (imsControl == nullptr) { in Dial()
321 SetImsControl(callInfo.slotId, imsControl); in Dial()
323 return imsControl->Dial(callInfo, isEcc); in Dial()
363 auto imsControl = GetImsControl(callInfo.slotId); in HangUp() local
364 if (imsControl == nullptr) { in HangUp()
370 return imsControl->HangUp(callInfo, type); in HangUp()
403 auto imsControl = GetImsControl(callInfo.slotId); in Reject() local
[all …]
Dcellular_call_handler.cpp267 auto imsControl = serviceInstance->GetImsControl(slotId_); in ReportImsCallsData() local
269 if (imsControl == nullptr) { in ReportImsCallsData()
273 if (imsControl->ReportImsCallsData(slotId_, imsCallInfoList) != TELEPHONY_SUCCESS) { in ReportImsCallsData()
280 if (imsControl == nullptr) { in ReportImsCallsData()
281 imsControl = std::make_shared<IMSControl>(); in ReportImsCallsData()
282 serviceInstance->SetImsControl(slotId_, imsControl); in ReportImsCallsData()
285 if (imsControl == nullptr) { in ReportImsCallsData()
290 if (imsControl->ReportImsCallsData(slotId_, imsCallInfoList) != TELEPHONY_SUCCESS) { in ReportImsCallsData()
488 auto imsControl = serviceInstance->GetImsControl(slotId_); in ExecutePostDial() local
489 imsControl->ExecutePostDial(slotId_, callId); in ExecutePostDial()
[all …]
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.cpp1528 auto imsControl = std::make_shared<IMSControl>(); variable
1534 EXPECT_NE(imsControl->Answer(cellularCallInfo), TELEPHONY_SUCCESS);
1535 EXPECT_NE(imsControl->Reject(cellularCallInfo), TELEPHONY_SUCCESS);
1536 … EXPECT_EQ(imsControl->UpdateImsCallMode(cellularCallInfo, ImsCallMode::CALL_MODE_AUDIO_ONLY),
1540 EXPECT_EQ(imsControl->Dial(cellularCallInfo, enabled), CALL_ERR_GET_RADIO_STATE_FAILED);
1542 … EXPECT_EQ(imsControl->DialJudgment(slotId, PHONE_NUMBER_SECOND, mode, 0), TELEPHONY_SUCCESS);
1543 EXPECT_EQ(imsControl->DialJudgment(slotId, PHONE_NUMBER_THIRD, mode, 0), TELEPHONY_SUCCESS);
1545 EXPECT_NE(imsControl->Answer(cellularCallInfo), TELEPHONY_SUCCESS);
1547imsControl->UpdateImsCallMode(cellularCallInfo, ImsCallMode::CALL_MODE_AUDIO_ONLY), TELEPHONY_SUCC…
1549 EXPECT_NE(imsControl->Answer(cellularCallInfo), TELEPHONY_SUCCESS);
[all …]
/base/telephony/cellular_call/services/manager/include/
Dcellular_call_service.h586 void SetImsControl(int32_t slotId, const std::shared_ptr<IMSControl> &imsControl);