Home
last modified time | relevance | path

Searched refs:callInfo (Results 1 - 25 of 69) sorted by relevance

123

/base/telephony/call_manager/services/call/src/
H A Dcarrier_call.cpp53 CellularCallInfo callInfo; in CarrierAnswerCall() local
61 ret = PackCellularCallInfo(callInfo); in CarrierAnswerCall()
62 callInfo.videoState = videoState; in CarrierAnswerCall()
72 ret = cellularCallConnectionPtr_->Answer(callInfo); in CarrierAnswerCall()
82 CellularCallInfo callInfo; in CarrierRejectCall() local
87 ret = PackCellularCallInfo(callInfo); in CarrierRejectCall()
91 slotId_, callInfo.callId, ret, "Reject PackCellularCallInfo failed"); in CarrierRejectCall()
97 ret = cellularCallConnectionPtr_->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in CarrierRejectCall()
108 CellularCallInfo callInfo; in CarrierHangUpCall() local
109 ret = PackCellularCallInfo(callInfo); in CarrierHangUpCall()
136 CellularCallInfo callInfo; CarrierHoldCall() local
155 CellularCallInfo callInfo; CarrierUnHoldCall() local
203 CellularCallInfo callInfo; CarrierSwitchCall() local
227 CellularCallInfo callInfo; CarrierCombineConference() local
241 CellularCallInfo callInfo; CarrierSeparateConference() local
255 CellularCallInfo callInfo; CarrierKickOutFromConference() local
273 PackCellularCallInfo(CellularCallInfo &callInfo) PackCellularCallInfo() argument
298 CellularCallInfo callInfo; StartDtmf() local
312 CellularCallInfo callInfo; StopDtmf() local
326 CellularCallInfo callInfo; PostDialProceed() local
[all...]
H A Dcall_incoming_filter_manager.cpp32 int32_t CallIncomingFilterManager::PackCellularCallInfo(CellularCallInfo &callInfo, const CallDetailInfo &info) in PackCellularCallInfo() argument
34 callInfo.callType = info.callType; in PackCellularCallInfo()
35 callInfo.index = info.index; in PackCellularCallInfo()
36 callInfo.slotId = info.accountId; in PackCellularCallInfo()
37 callInfo.accountId = info.accountId; in PackCellularCallInfo()
38 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in PackCellularCallInfo()
42 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, info.phoneNum, kMaxNumberLen) != EOK) { in PackCellularCallInfo()
/base/telephony/cellular_call/services/manager/src/
H A Dcellular_call_service.cpp304 int32_t CellularCallService::Dial(const CellularCallInfo &callInfo) in Dial() argument
306 if (!IsValidSlotId(callInfo.slotId)) { in Dial()
308 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.accountId, static_cast<int32_t>(callInfo.callType), in Dial()
309 callInfo.videoState, CALL_ERR_INVALID_SLOT_ID, "invalid slot id"); in Dial()
313 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.accountId, static_cast<int32_t>(callInfo.callType), in Dial()
314 callInfo.videoState, static_cast<int32_t>(CallErrorCode::CALL_ERROR_UNEXPECTED_SRVCC_STATE), in Dial()
319 IsEmergencyPhoneNumber(callInfo.slotId, callInfo in Dial()
338 DialNormalCall(const CellularCallInfo &callInfo, bool isEcc) DialNormalCall() argument
367 HangUp(const CellularCallInfo &callInfo, CallSupplementType type) HangUp() argument
419 Reject(const CellularCallInfo &callInfo) Reject() argument
471 Answer(const CellularCallInfo &callInfo) Answer() argument
544 HoldCall(const CellularCallInfo &callInfo) HoldCall() argument
579 UnHoldCall(const CellularCallInfo &callInfo) UnHoldCall() argument
614 SwitchCall(const CellularCallInfo &callInfo) SwitchCall() argument
649 CombineConference(const CellularCallInfo &callInfo) CombineConference() argument
677 SeparateConference(const CellularCallInfo &callInfo) SeparateConference() argument
705 KickOutFromConference(const CellularCallInfo &callInfo) KickOutFromConference() argument
779 SendUpdateCallMediaModeRequest(const CellularCallInfo &callInfo, ImsCallMode mode) SendUpdateCallMediaModeRequest() argument
789 SendUpdateCallMediaModeResponse(const CellularCallInfo &callInfo, ImsCallMode mode) SendUpdateCallMediaModeResponse() argument
819 StartDtmf(char cDtmfCode, const CellularCallInfo &callInfo) StartDtmf() argument
854 StopDtmf(const CellularCallInfo &callInfo) StopDtmf() argument
889 PostDialProceed(const CellularCallInfo &callInfo, const bool proceed) PostDialProceed() argument
925 SendDtmf(char cDtmfCode, const CellularCallInfo &callInfo) SendDtmf() argument
1441 UseImsForEmergency(const CellularCallInfo &callInfo, bool isEcc) UseImsForEmergency() argument
1487 HandleCellularControlException(const CellularCallInfo &callInfo) HandleCellularControlException() argument
1501 EncapsulationCallReportInfo(const CellularCallInfo &callInfo) EncapsulationCallReportInfo() argument
[all...]
/base/telephony/cellular_call/test/fuzztest/separateconference_fuzzer/
H A Dseparateconference_fuzzer.cpp53 CellularCallInfo callInfo; in DoSomethingInterestingWithMyAPI() local
54 callInfo.slotId = slotId; in DoSomethingInterestingWithMyAPI()
55 callInfo.callId = callId; in DoSomethingInterestingWithMyAPI()
56 callInfo.accountId = accountId; in DoSomethingInterestingWithMyAPI()
57 callInfo.videoState = videoState; in DoSomethingInterestingWithMyAPI()
58 callInfo.index = index; in DoSomethingInterestingWithMyAPI()
59 callInfo.callType = CallType::TYPE_CS; in DoSomethingInterestingWithMyAPI()
60 if (strcpy_s(callInfo.phoneNum, length, telNum.c_str()) != EOK) { in DoSomethingInterestingWithMyAPI()
63 cSControl->DialCdma(callInfo); in DoSomethingInterestingWithMyAPI()
64 cSControl->DialGsm(callInfo); in DoSomethingInterestingWithMyAPI()
[all...]
/base/telephony/cellular_call/test/fuzztest/reporthangupinfo_fuzzer/
H A Dreporthangupinfo_fuzzer.cpp54 CellularCallInfo callInfo; in DoSomethingInterestingWithMyAPI() local
55 callInfo.slotId = slotId; in DoSomethingInterestingWithMyAPI()
56 callInfo.callId = callId; in DoSomethingInterestingWithMyAPI()
57 callInfo.accountId = accountId; in DoSomethingInterestingWithMyAPI()
58 callInfo.videoState = videoState; in DoSomethingInterestingWithMyAPI()
59 callInfo.index = index; in DoSomethingInterestingWithMyAPI()
60 callInfo.callType = CallType::TYPE_CS; in DoSomethingInterestingWithMyAPI()
61 if (strcpy_s(callInfo.phoneNum, length, telNum.c_str()) != EOK) { in DoSomethingInterestingWithMyAPI()
65 iMSControl->Dial(callInfo, isEcc); in DoSomethingInterestingWithMyAPI()
66 iMSControl->HangUp(callInfo, typ in DoSomethingInterestingWithMyAPI()
[all...]
/base/telephony/cellular_call/services/control/src/
H A Dcs_control.cpp33 int32_t CSControl::Dial(const CellularCallInfo &callInfo, bool isEcc) in Dial() argument
37 callInfo.slotId, static_cast<int32_t>(callInfo.callType), callInfo.videoState); in Dial()
38 int32_t ret = DialPreJudgment(callInfo, isEcc); in Dial()
44 RegServiceState regState = moduleServiceUtils.GetCsRegState(callInfo.slotId); in Dial()
49 PhoneType netType = moduleServiceUtils.GetNetworkStatus(callInfo.slotId); in Dial()
51 return DialGsm(callInfo); in Dial()
54 return DialCdma(callInfo); in Dial()
57 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo in Dial()
62 DialCdma(const CellularCallInfo &callInfo) DialCdma() argument
92 DialGsm(const CellularCallInfo &callInfo) DialGsm() argument
163 HangUp(const CellularCallInfo &callInfo, CallSupplementType type) HangUp() argument
216 Answer(const CellularCallInfo &callInfo) Answer() argument
292 Reject(const CellularCallInfo &callInfo) Reject() argument
510 EncapsulationCallReportInfo(int32_t slotId, const CallInfo &callInfo) EncapsulationCallReportInfo() argument
645 PostDialProceed(const CellularCallInfo &callInfo, const bool proceed) PostDialProceed() argument
[all...]
H A Dcontrol_base.cpp29 int32_t ControlBase::DialPreJudgment(const CellularCallInfo &callInfo, bool isEcc) in DialPreJudgment() argument
31 HandleEcc(callInfo, isEcc, CheckAirplaneModeScene(callInfo), CheckActivateSimScene(callInfo.slotId)); in DialPreJudgment()
32 std::string dialString(callInfo.phoneNum); in DialPreJudgment()
35 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.accountId, static_cast<int32_t>(callInfo.callType), in DialPreJudgment()
36 callInfo.videoState, CALL_ERR_PHONE_NUMBER_EMPTY, "dialString is empty"); in DialPreJudgment()
41 if (!moduleServiceUtils.GetRadioState(callInfo.slotId)) { in DialPreJudgment()
43 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo in DialPreJudgment()
109 CheckAirplaneModeScene(const CellularCallInfo &callInfo) CheckAirplaneModeScene() argument
127 HandleEcc(const CellularCallInfo &callInfo, bool isEcc, bool isAirplaneModeOn, bool isActivateSim) HandleEcc() argument
[all...]
H A Dsatellite_control.cpp32 int32_t SatelliteControl::Dial(const CellularCallInfo &callInfo, bool isEcc) in Dial() argument
36 callInfo.slotId, static_cast<int32_t>(callInfo.callType), callInfo.videoState); in Dial()
37 int32_t ret = DialPreJudgment(callInfo, false); in Dial()
43 std::string newPhoneNum = standardizeUtils.RemoveSeparatorsPhoneNumber(callInfo.phoneNum); in Dial()
46 if (IsNeedExecuteMMI(callInfo.slotId, newPhoneNum, clirMode, false)) { in Dial()
54 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.slotId, static_cast<int32_t>(callInfo.callType), in Dial()
55 callInfo in Dial()
91 HangUp(const CellularCallInfo &callInfo, CallSupplementType type) HangUp() argument
122 Answer(const CellularCallInfo &callInfo) Answer() argument
160 Reject(const CellularCallInfo &callInfo) Reject() argument
252 EncapsulationCallReportInfo(int32_t slotId, const SatelliteCurrentCall &callInfo) EncapsulationCallReportInfo() argument
450 PostDialProceed(const CellularCallInfo &callInfo, const bool proceed) PostDialProceed() argument
[all...]
H A Dims_control.cpp33 int32_t IMSControl::Dial(const CellularCallInfo &callInfo, bool isEcc) in Dial() argument
37 callInfo.slotId, static_cast<int32_t>(callInfo.callType), callInfo.videoState); in Dial()
38 int32_t ret = DialPreJudgment(callInfo, isEcc); in Dial()
43 RegServiceState regState = moduleServiceUtils.GetPsRegState(callInfo.slotId); in Dial()
49 std::string newPhoneNum(callInfo.phoneNum); in Dial()
56 if (IsNeedExecuteMMI(callInfo.slotId, newPhoneNum, clirMode, true)) { in Dial()
60 return DialJudgment(callInfo.slotId, newPhoneNum, clirMode, callInfo in Dial()
127 HangUp(const CellularCallInfo &callInfo, CallSupplementType type) HangUp() argument
166 Answer(const CellularCallInfo &callInfo) Answer() argument
217 Reject(const CellularCallInfo &callInfo) Reject() argument
477 EncapsulationCallReportInfo(int32_t slotId, const ImsCurrentCall &callInfo) EncapsulationCallReportInfo() argument
572 PostDialProceed(const CellularCallInfo &callInfo, const bool proceed) PostDialProceed() argument
[all...]
/base/telephony/cellular_call/test/fuzztest/satelliteclient_fuzzer/
H A Dsatelliteclient_fuzzer.cpp62 SatelliteCallInfo callInfo; in TestSatelliteCallClientWithCallInfo() local
63 if (memset_s(&callInfo, sizeof(struct SatelliteCallInfo), 0x00, sizeof(struct SatelliteCallInfo)) != EOK) { in TestSatelliteCallClientWithCallInfo()
66 size_t length = std::min(static_cast<size_t>(sizeof(callInfo.phoneNum) - 1), size); in TestSatelliteCallClientWithCallInfo()
71 if (strcpy_s(callInfo.phoneNum, sizeof(callInfo.phoneNum), number.c_str()) != EOK) { in TestSatelliteCallClientWithCallInfo()
74 callInfo.slotId = slotId; in TestSatelliteCallClientWithCallInfo()
75 callInfo.index = index; in TestSatelliteCallClientWithCallInfo()
76 satelliteCallClient->Dial(callInfo, static_cast<CLIRMode>(mode)); in TestSatelliteCallClientWithCallInfo()
87 SatelliteCallInfo callInfo; in TestSatelliteCallProxyWithCallInfo() local
88 if (memset_s(&callInfo, sizeo in TestSatelliteCallProxyWithCallInfo()
[all...]
/base/telephony/cellular_call/test/unittest/cstest/
H A Dcs_test.cpp117 CellularCallInfo callInfo; in Dial() local
118 if (memset_s(&callInfo, sizeof(callInfo), 0, sizeof(callInfo)) != EOK) { in Dial()
123 std::cin >> callInfo.phoneNum; in Dial()
124 callInfo.videoState = 1; in Dial()
128 callInfo.slotId = slotId; in Dial()
129 return telephonyService->Dial(callInfo); in Dial()
135 CellularCallInfo callInfo; in HangUp() local
136 if (InitCallInfo(callInfo) ! in HangUp()
150 CellularCallInfo callInfo; Answer() local
160 CellularCallInfo callInfo; Reject() local
172 CellularCallInfo callInfo; HoldCall() local
182 CellularCallInfo callInfo; UnHoldCall() local
192 CellularCallInfo callInfo; SwitchCall() local
216 CellularCallInfo callInfo; CombineConference() local
226 CellularCallInfo callInfo; SeparateConference() local
251 CellularCallInfo callInfo; KickOutFromConference() local
281 CellularCallInfo callInfo; StartDtmf() local
296 CellularCallInfo callInfo; StopDtmf() local
308 CellularCallInfo callInfo; SendDtmf() local
[all...]
/base/telephony/cellular_call/test/unittest/imstest/
H A Dims1_test.cpp416 CellularCallInfo callInfo; in HWTEST_F() local
417 int32_t ret = InitCellularCallInfo(SIM1_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
419 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F()
421 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_HANG_UP_ACTIVE); in HWTEST_F()
425 CellularCallInfo callInfo; in HWTEST_F() local
426 int32_t ret = InitCellularCallInfo(SIM2_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
428 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F()
430 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_HANG_UP_ACTIVE); in HWTEST_F()
453 CellularCallInfo callInfo; in HWTEST_F() local
454 int32_t ret = InitCellularCallInfo(SIM1_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
460 CellularCallInfo callInfo; HWTEST_F() local
486 CellularCallInfo callInfo; HWTEST_F() local
493 CellularCallInfo callInfo; HWTEST_F() local
519 CellularCallInfo callInfo; HWTEST_F() local
526 CellularCallInfo callInfo; HWTEST_F() local
552 CellularCallInfo callInfo; HWTEST_F() local
559 CellularCallInfo callInfo; HWTEST_F() local
585 CellularCallInfo callInfo; HWTEST_F() local
592 CellularCallInfo callInfo; HWTEST_F() local
618 CellularCallInfo callInfo; HWTEST_F() local
625 CellularCallInfo callInfo; HWTEST_F() local
651 CellularCallInfo callInfo; HWTEST_F() local
658 CellularCallInfo callInfo; HWTEST_F() local
684 CellularCallInfo callInfo; HWTEST_F() local
691 CellularCallInfo callInfo; HWTEST_F() local
717 CellularCallInfo callInfo; HWTEST_F() local
725 CellularCallInfo callInfo; HWTEST_F() local
752 CellularCallInfo callInfo; HWTEST_F() local
759 CellularCallInfo callInfo; HWTEST_F() local
785 CellularCallInfo callInfo; HWTEST_F() local
793 CellularCallInfo callInfo; HWTEST_F() local
[all...]
/base/telephony/call_manager/services/telephony_interaction/src/
H A Dcellular_call_connection.cpp177 int CellularCallConnection::Dial(const CellularCallInfo &callInfo) in Dial() argument
181 CallManagerHisysevent::WriteDialCallFaultEvent(callInfo.accountId, static_cast<int32_t>(callInfo.callType), in Dial()
182 callInfo.videoState, TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL, "ReConnectService failed"); in Dial()
185 TELEPHONY_LOGI("callType:%{public}d", callInfo.callType); in Dial()
186 int errCode = cellularCallInterfacePtr_->Dial(callInfo); in Dial()
194 int CellularCallConnection::HangUp(const CellularCallInfo &callInfo, CallSupplementType type) in HangUp() argument
199 callInfo.accountId, callInfo.callId, TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL, "HangUp ipc reconnect failed"); in HangUp()
202 int errCode = cellularCallInterfacePtr_->HangUp(callInfo, typ in HangUp()
210 Reject(const CellularCallInfo &callInfo) Reject() argument
226 Answer(const CellularCallInfo &callInfo) Answer() argument
242 HoldCall(const CellularCallInfo &callInfo) HoldCall() argument
256 UnHoldCall(const CellularCallInfo &callInfo) UnHoldCall() argument
270 SwitchCall(const CellularCallInfo &callInfo) SwitchCall() argument
293 CombineConference(const CellularCallInfo &callInfo) CombineConference() argument
307 SeparateConference(const CellularCallInfo &callInfo) SeparateConference() argument
321 KickOutFromConference(const CellularCallInfo &callInfo) KickOutFromConference() argument
335 StartDtmf(char cDTMFCode, const CellularCallInfo &callInfo) StartDtmf() argument
349 StopDtmf(const CellularCallInfo &callInfo) StopDtmf() argument
363 PostDialProceed(const CellularCallInfo &callInfo, const bool proceed) PostDialProceed() argument
383 CellularCallInfo callInfo; SendDtmf() local
510 StartRtt(const CellularCallInfo &callInfo, std::u16string &msg) StartRtt() argument
525 StopRtt(const CellularCallInfo &callInfo) StopRtt() argument
713 SendUpdateCallMediaModeRequest(const CellularCallInfo &callInfo, ImsCallMode mode) SendUpdateCallMediaModeRequest() argument
727 SendUpdateCallMediaModeResponse(const CellularCallInfo &callInfo, ImsCallMode mode) SendUpdateCallMediaModeResponse() argument
890 CellularCallInfo callInfo; ClearAllCalls() local
[all...]
/base/telephony/cellular_call/test/fuzztest/imsclient_fuzzer/
H A Dimsclient_fuzzer.cpp63 ImsCallInfo callInfo; in TestImsCallClientWithCallInfo() local
64 if (memset_s(&callInfo, sizeof(struct ImsCallInfo), 0x00, sizeof(struct ImsCallInfo)) != EOK) { in TestImsCallClientWithCallInfo()
67 size_t length = std::min(static_cast<size_t>(sizeof(callInfo.phoneNum) - 1), size); in TestImsCallClientWithCallInfo()
74 if (strcpy_s(callInfo.phoneNum, sizeof(callInfo.phoneNum), number.c_str()) != EOK) { in TestImsCallClientWithCallInfo()
77 callInfo.slotId = slotId; in TestImsCallClientWithCallInfo()
78 callInfo.videoState = videoState; in TestImsCallClientWithCallInfo()
79 callInfo.index = index; in TestImsCallClientWithCallInfo()
82 imsCallClient->Dial(callInfo, static_cast<CLIRMode>(mode)); in TestImsCallClientWithCallInfo()
83 imsCallClient->HangUp(callInfo); in TestImsCallClientWithCallInfo()
188 ImsCallInfo callInfo; TestImsCallClientWithCallMediaModeRequest() local
207 ImsCallInfo callInfo; TestImsCallClientWithCallMediaModeResponse() local
241 ImsCallInfo callInfo; TestImsCallProxyWithCallInfo() local
362 ImsCallInfo callInfo; TestImsCallProxyWithCallMediaModeRequest() local
380 ImsCallInfo callInfo; TestImsCallProxyWithCallMediaModeResponse() local
[all...]
/base/telephony/cellular_call/test/unittest/satellitetest/
H A Dsatellite_test.cpp144 CellularCallInfo callInfo; in HWTEST_F() local
145 int32_t ret = InitCellularCallInfo(SIM1_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
147 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F()
151 CellularCallInfo callInfo; in HWTEST_F() local
152 int32_t ret = InitCellularCallInfo(SIM2_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
154 ret = telephonyService->HangUp(callInfo, CallSupplementType::TYPE_DEFAULT); in HWTEST_F()
178 CellularCallInfo callInfo; in HWTEST_F() local
179 int32_t ret = InitCellularCallInfo(SIM1_SLOTID, PHONE_NUMBER, callInfo); in HWTEST_F()
181 ret = telephonyService->Answer(callInfo); in HWTEST_F()
185 CellularCallInfo callInfo; in HWTEST_F() local
212 CellularCallInfo callInfo; HWTEST_F() local
219 CellularCallInfo callInfo; HWTEST_F() local
244 CellularCallInfo callInfo; HWTEST_F() local
252 CellularCallInfo callInfo; HWTEST_F() local
278 CellularCallInfo callInfo; HWTEST_F() local
313 CellularCallInfo callInfo; HWTEST_F() local
320 CellularCallInfo callInfo; HWTEST_F() local
[all...]
H A Dsatellite_test.h145 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument
147 callInfo.accountId = accountId; in InitCellularCallInfo()
148 callInfo.slotId = accountId; in InitCellularCallInfo()
149 callInfo.index = 0; in InitCellularCallInfo()
150 callInfo.callType = CallType::TYPE_SATELLITE; in InitCellularCallInfo()
151 callInfo.videoState = 0; // 0 means audio in InitCellularCallInfo()
152 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in InitCellularCallInfo()
158 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
/base/telephony/call_manager/services/telephony_interaction/include/
H A Dcellular_call_connection.h44 * @param callInfo[in], Call information.
47 int Dial(const CellularCallInfo &callInfo);
53 * @param callInfo[in], Call information.
57 int HangUp(const CellularCallInfo &callInfo, CallSupplementType type);
63 * @param callInfo[in], Call information.
66 int Reject(const CellularCallInfo &callInfo);
72 * @param callInfo[in], Call information.
75 int Answer(const CellularCallInfo &callInfo);
81 * @param callInfo[in], Call information.
84 int HoldCall(const CellularCallInfo &callInfo);
[all...]
/base/telephony/cellular_call/services/control/include/
H A Dcontrol_base.h53 virtual int32_t Dial(const CellularCallInfo &callInfo, bool isEcc) = 0;
68 virtual int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) = 0;
81 virtual int32_t Answer(const CellularCallInfo &callInfo) = 0;
94 virtual int32_t Reject(const CellularCallInfo &callInfo) = 0;
171 int32_t DialPreJudgment(const CellularCallInfo &callInfo, bool isEcc);
300 int32_t StartDtmf(T &&t, char cDtmfCode, const CellularCallInfo &callInfo) const in StartDtmf()
312 auto pConnection = FindConnectionByIndex<T &, decltype(&t.begin()->second)>(t, callInfo.index); in StartDtmf()
322 return pConnection->StartDtmfRequest(callInfo.slotId, cDtmfCode, pConnection->GetIndex()); in StartDtmf()
337 int32_t StopDtmf(T &&t, const CellularCallInfo &callInfo) const in StopDtmf()
349 auto pConnection = FindConnectionByIndex<T &, decltype(&t.begin()->second)>(t, callInfo in StopDtmf()
[all...]
H A Dsatellite_control.h47 int32_t Dial(const CellularCallInfo &callInfo, bool isEcc) override;
58 int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) override;
68 int32_t Answer(const CellularCallInfo &callInfo) override;
78 int32_t Reject(const CellularCallInfo &callInfo) override;
155 int32_t PostDialProceed(const CellularCallInfo &callInfo, const bool proceed);
186 CallReportInfo EncapsulationCallReportInfo(int32_t slotId, const SatelliteCurrentCall &callInfo);
H A Dcs_control.h47 int32_t Dial(const CellularCallInfo &callInfo, bool isEcc) override;
61 int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) override;
74 int32_t Answer(const CellularCallInfo &callInfo) override;
87 int32_t Reject(const CellularCallInfo &callInfo) override;
184 int32_t PostDialProceed(const CellularCallInfo &callInfo, const bool proceed);
223 * @param callInfo
226 CallReportInfo EncapsulationCallReportInfo(int32_t slotId, const CallInfo &callInfo);
242 int32_t DialCdma(const CellularCallInfo &callInfo);
250 int32_t DialGsm(const CellularCallInfo &callInfo);
/base/telephony/call_manager/interfaces/innerkits/
H A Dcellular_call_proxy.h42 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
45 int32_t Dial(const CellularCallInfo &callInfo) override;
50 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
54 int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) override;
59 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
62 int32_t Reject(const CellularCallInfo &callInfo) override;
67 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
70 int32_t Answer(const CellularCallInfo &callInfo) override;
75 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
78 int32_t HoldCall(const CellularCallInfo &callInfo) overrid
[all...]
H A Dcellular_call_interface.h30 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
33 virtual int32_t Dial(const CellularCallInfo &callInfo) = 0;
38 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
42 virtual int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) = 0;
47 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
50 virtual int32_t Answer(const CellularCallInfo &callInfo) = 0;
55 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
58 virtual int32_t Reject(const CellularCallInfo &callInfo) = 0;
63 * @param callInfo[in] the call detail info which contains phone number, call type, slot id .etc
66 virtual int32_t HoldCall(const CellularCallInfo &callInfo)
[all...]
/base/telephony/cellular_call/services/manager/include/
H A Dcellular_call_service.h100 int32_t Dial(const CellularCallInfo &callInfo) override;
109 int32_t HangUp(const CellularCallInfo &callInfo, CallSupplementType type) override;
117 int32_t Reject(const CellularCallInfo &callInfo) override;
125 int32_t Answer(const CellularCallInfo &callInfo) override;
133 int32_t HoldCall(const CellularCallInfo &callInfo) override;
141 int32_t UnHoldCall(const CellularCallInfo &callInfo) override;
149 int32_t SwitchCall(const CellularCallInfo &callInfo) override;
176 int32_t CombineConference(const CellularCallInfo &callInfo) override;
184 int32_t SeparateConference(const CellularCallInfo &callInfo) override;
201 int32_t KickOutFromConference(const CellularCallInfo &callInfo) overrid
[all...]
/base/telephony/cellular_call/test/fuzztest/setpreviewwindow_fuzzer/
H A Dsetpreviewwindow_fuzzer.cpp228 CellularCallInfo callInfo; in SendUpdateCallMediaModeRequest() local
229 callInfo.callId = static_cast<int32_t>(size); in SendUpdateCallMediaModeRequest()
230 callInfo.slotId = static_cast<int32_t>(size % BOOL_NUM); in SendUpdateCallMediaModeRequest()
231 callInfo.accountId = static_cast<int32_t>(size % BOOL_NUM); in SendUpdateCallMediaModeRequest()
232 callInfo.callType = static_cast<CallType>(static_cast<int32_t>(size)); in SendUpdateCallMediaModeRequest()
233 callInfo.videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in SendUpdateCallMediaModeRequest()
234 callInfo.index = static_cast<int32_t>(size); in SendUpdateCallMediaModeRequest()
241 if (strcpy_s(callInfo.phoneNum, length, telNum.c_str()) != EOK) { in SendUpdateCallMediaModeRequest()
247 dataMessageParcel.WriteRawData(static_cast<const void *>(&callInfo), sizeof(CellularCallInfo)); in SendUpdateCallMediaModeRequest()
262 CellularCallInfo callInfo; in SendUpdateCallMediaModeResponse() local
336 CellularCallInfo callInfo; StartDtmf() local
[all...]
/base/telephony/cellular_call/services/ims_service_interaction/src/
H A Dims_call_proxy.cpp24 int32_t ImsCallProxy::Dial(const ImsCallInfo &callInfo, CLIRMode mode) in Dial() argument
28 TELEPHONY_LOGE("[slot%{public}d]Write descriptor token fail!", callInfo.slotId); in Dial()
29 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.slotId, INVALID_PARAMETER, callInfo.videoState, in Dial()
33 if (!in.WriteRawData((const void *)&callInfo, sizeof(ImsCallInfo))) { in Dial()
34 TELEPHONY_LOGE("[slot%{public}d]Write callInfo fail!", callInfo.slotId); in Dial()
35 CellularCallHiSysEvent::WriteDialCallFaultEvent(callInfo.slotId, INVALID_PARAMETER, callInfo.videoState, in Dial()
40 TELEPHONY_LOGE("[slot%{public}d]Write mode fail!", callInfo in Dial()
64 HangUp(const ImsCallInfo &callInfo) HangUp() argument
96 RejectWithReason(const ImsCallInfo &callInfo, const ImsRejectReason &reason) RejectWithReason() argument
133 Answer(const ImsCallInfo &callInfo) Answer() argument
233 SendUpdateCallMediaModeRequest(const ImsCallInfo &callInfo, ImsCallType callType) SendUpdateCallMediaModeRequest() argument
252 SendUpdateCallMediaModeResponse(const ImsCallInfo &callInfo, ImsCallType callType) SendUpdateCallMediaModeResponse() argument
[all...]

Completed in 15 milliseconds

123