Home
last modified time | relevance | path

Searched refs:call (Results 1 - 25 of 71) sorted by relevance

123

/base/telephony/call_manager/frameworks/js/napi/src/
H A Dcall.js15 const call = requireInternal('telephony.call');
31 console.log('[call] makeCall error: ' + error);
47 console.log("[call] makeCall error: " + error);
53 console.log('[call] makeCall callback invalid');
76 call.makeCall(config.parameters.phoneNumber);
82 dialCall: call.dialCall,
83 muteRinger: call.muteRinger,
84 answerCall: call.answerCall,
85 hangUpCall: call
[all...]
/base/telephony/call_manager/services/call/src/
H A Dcall_request_process.cpp97 sptr<CallBase> call = GetOneCallObject(callId); in AnswerRequest() local
98 if (call == nullptr) { in AnswerRequest()
99 TELEPHONY_LOGE("the call object is nullptr, callId:%{public}d", callId); in AnswerRequest()
102 call->SetAnswerVideoState(videoState); in AnswerRequest()
103 if (call->GetCallType() == CallType::TYPE_VOIP) { in AnswerRequest()
104 int32_t ret = call->AnswerCall(videoState); in AnswerRequest()
109 DelayedSingleton<CallControlManager>::GetInstance()->NotifyIncomingCallAnswered(call); in AnswerRequest()
112 AnswerRequestForDsda(call, callId, videoState); in AnswerRequest()
115 void CallRequestProcess::AnswerRequestForDsda(sptr<CallBase> call, int32_t callId, int32_t videoState) in AnswerRequestForDsda() argument
117 int32_t slotId = call in AnswerRequestForDsda()
246 sptr<CallBase> call = GetOneCallObject(otherCallId); GetOtherRingingCall() local
265 sptr<CallBase> call = GetOneCallObject(callId); HoldOrDisconnectedCall() local
283 sptr<CallBase> call = GetOneCallObject(otherCallId); HoldOrDisconnectedCall() local
304 HandleDsdaIncomingCall( sptr<CallBase> call, int32_t activeCallNum, int32_t slotId, int32_t videoState, sptr<CallBase> incomingCall) HandleDsdaIncomingCall() argument
327 sptr<CallBase> call = GetOneCallObject(otherCallId); IsExistCallOtherSlot() local
336 HandleCallWaitingNumTwo( sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId, int32_t activeCallNum, bool &flagForConference) HandleCallWaitingNumTwo() argument
365 HandleCallWaitingNumOne( sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId, int32_t activeCallNum, bool &flagForConference) HandleCallWaitingNumOne() argument
395 HandleCallWaitingNumOneNext( sptr<CallBase> incomingCall, sptr<CallBase> call, sptr<CallBase> holdCall, int32_t slotId, bool &flagForConference) HandleCallWaitingNumOneNext() argument
429 HandleCallWaitingNumZero( sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId, int32_t activeCallNum, bool &flagForConference) HandleCallWaitingNumZero() argument
487 sptr<CallBase> call = GetOneCallObject(otherCallId); DisconnectOtherSubIdCall() local
510 sptr<CallBase> call = GetOneCallObject(otherCallId); DisconnectOtherCallForVideoCall() local
523 sptr<CallBase> call = GetOneCallObject(callId); RejectRequest() local
547 sptr<CallBase> call = GetOneCallObject(callId); HangUpRequest() local
581 HangUpForDsdaRequest(sptr<CallBase> call) HangUpForDsdaRequest() argument
607 sptr<CallBase> call = GetOneCallObject(callId); HoldRequest() local
618 sptr<CallBase> call = GetOneCallObject(callId); UnHoldRequest() local
660 sptr<CallBase> call = GetOneCallObject(callId); SwitchRequest() local
670 sptr<CallBase> call = GetOneCallObject(mainCallId); CombineConferenceRequest() local
683 sptr<CallBase> call = GetOneCallObject(callId); SeparateConferenceRequest() local
696 sptr<CallBase> call = GetOneCallObject(callId); KickOutFromConferenceRequest() local
709 sptr<CallBase> call = GetOneCallObject(callId); StartRttRequest() local
725 sptr<CallBase> call = GetOneCallObject(callId); StopRttRequest() local
741 sptr<CallBase> call = GetOneCallObject(callId); JoinConference() local
788 sptr<CallBase> call = nullptr; HandleDialFail() local
922 sptr<CallBase> call = CallObjectManager::GetOneCallObject(CallRunningState::CALL_RUNNING_STATE_RINGING); HandleEccCallForDsda() local
1002 sptr<CallBase> call = GetOneCallObject(callId); EccDialPolicy() local
[all...]
H A Dcall_status_manager.cpp152 TELEPHONY_LOGE("Invalid call state!"); in HandleCallReportInfo()
183 // handle call state changes, incoming call, outgoing call.
187 TELEPHONY_LOGI("call list size:%{public}zu,slotId:%{public}d", info.callVec.size(), info.slotId); in HandleCallsReportInfo()
198 // call state changes in HandleCallsReportInfo()
201 TELEPHONY_LOGI("handle updated call state:%{public}d", it.state); in HandleCallsReportInfo()
208 // incoming/outgoing call handle in HandleCallsReportInfo()
210 TELEPHONY_LOGI("handle new call state:%{public}d", it.state); in HandleCallsReportInfo()
276 TELEPHONY_LOGE("Invalid call stat in HandleVoipCallReportInfo()
299 sptr<CallBase> call = GetOneCallObject(CallRunningState::CALL_RUNNING_STATE_DIALING); HandleEventResultReportInfo() local
359 sptr<CallBase> call = GetOneCallObjectByVoipCallId(info.voipCallId, info.bundleName, info.uid); HandleVoipEventReportInfo() local
379 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); IncomingHandle() local
426 SetContactInfo(sptr<CallBase> &call, std::string phoneNum) SetContactInfo() argument
453 HandleRejectCall(sptr<CallBase> &call, bool isBlock) HandleRejectCall() argument
478 sptr<CallBase> call = GetOneCallObjectByVoipCallId( IncomingVoipCallHandle() local
501 sptr<CallBase> call = GetOneCallObjectByVoipCallId( OutgoingVoipCallHandle() local
531 sptr<CallBase> call = GetOneCallObjectByVoipCallId( AnsweredVoipCallHandle() local
546 sptr<CallBase> call = GetOneCallObjectByVoipCallId( DisconnectingVoipCallHandle() local
595 sptr<CallBase> call = CreateNewCall(info, CallDirection::CALL_DIRECTION_IN); CallFilterCompleteResult() local
616 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); UpdateDialingCallInfo() local
652 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(INIT_INDEX, info.accountId); DialingHandle() local
661 sptr<CallBase> call = CreateNewCall(info, CallDirection::CALL_DIRECTION_OUT); DialingHandle() local
694 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); ActiveHandle() local
747 sptr<CallBase> call = GetOneCallObjectByVoipCallId( ActiveVoipCallHandle() local
772 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); HoldingHandle() local
804 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); AlertHandle() local
831 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); DisconnectingHandle() local
848 sptr<CallBase> call = GetOneCallObjectByVoipCallId( DisconnectedVoipCallHandle() local
873 sptr<CallBase> call = GetOneCallObjectByIndexAndSlotId(info.index, info.accountId); DisconnectedHandle() local
920 HandleHoldCallOrAutoAnswerCall(const sptr<CallBase> call, std::vector<std::u16string> callIdList, CallRunningState previousState, TelCallState priorState) HandleHoldCallOrAutoAnswerCall() argument
1109 UpdateCallState(sptr<CallBase> &call, TelCallState nextState) UpdateCallState() argument
1149 SetVideoCallState(sptr<CallBase> &call, TelCallState nextState) SetVideoCallState() argument
1173 RefreshCallIfNecessary(const sptr<CallBase> &call, const CallDetailInfo &info) RefreshCallIfNecessary() argument
1224 SetOriginalCallTypeForActiveState(sptr<CallBase> &call) SetOriginalCallTypeForActiveState() argument
1249 SetOriginalCallTypeForDisconnectState(sptr<CallBase> &call) SetOriginalCallTypeForDisconnectState() argument
1268 ToSpeakerPhone(sptr<CallBase> &call) ToSpeakerPhone() argument
1290 TurnOffMute(sptr<CallBase> &call) TurnOffMute() argument
1439 ShouldBlockIncomingCall(const sptr<CallBase> &call, const CallDetailInfo &info) ShouldBlockIncomingCall() argument
1469 IsRingOnceCall(const sptr<CallBase> &call, const CallDetailInfo &info) IsRingOnceCall() argument
1497 HandleRingOnceCall(sptr<CallBase> &call) HandleRingOnceCall() argument
1569 IsRejectCall(sptr<CallBase> &call, const CallDetailInfo &info, bool &block) IsRejectCall() argument
1594 auto call = CreateNewCall(info, direction); CreateAndSaveNewCall() local
1604 UpdateCallStateAndHandleDsdsMode(const CallDetailInfo &info, sptr<CallBase> &call) UpdateCallStateAndHandleDsdsMode() argument
1639 HandleDialWhenHolding(int32_t callId, sptr<CallBase> &call) HandleDialWhenHolding() argument
[all...]
H A Dcall_status_policy.cpp35 TELEPHONY_LOGW("this call has created yet!"); in DialingHandlePolicy()
41 int32_t CallStatusPolicy::FilterResultsDispose(sptr<CallBase> call) in FilterResultsDispose() argument
44 if (call == nullptr) { in FilterResultsDispose()
49 TELEPHONY_LOGI("the number of Ringing or Dialing call is bigger than Maximum, start to hung up"); in FilterResultsDispose()
50 ret = call->HangUpCall(); in FilterResultsDispose()
61 ret = call->RejectCall(); in FilterResultsDispose()
63 TELEPHONY_LOGI("Reject call failed!"); in FilterResultsDispose()
68 ret = call->IncomingCallBase(); in FilterResultsDispose()
70 DelayedSingleton<CallControlManager>::GetInstance()->NotifyNewCallCreated(call); in FilterResultsDispose()
H A Dcall_control_manager.cpp205 sptr<CallBase> call = GetOneCallObject(CallRunningState::CALL_RUNNING_STATE_RINGING); in AnswerCall() local
206 if (call == nullptr) { in AnswerCall()
207 TELEPHONY_LOGE("call is nullptr"); in AnswerCall()
209 INVALID_PARAMETER, callId, videoState, TELEPHONY_ERR_LOCAL_PTR_NULL, "call is nullptr"); in AnswerCall()
213 callId = call->GetCallID(); in AnswerCall()
215 call = GetOneCallObject(callId); in AnswerCall()
216 if (call == nullptr) { in AnswerCall()
217 TELEPHONY_LOGE("call is nullptr"); in AnswerCall()
220 if (call->GetCrsType() == CRS_TYPE && static_cast<VideoStateType>(videoState) != VideoStateType::TYPE_VIDEO) { in AnswerCall()
226 call in AnswerCall()
271 AnswerHandlerForSatelliteOrVideoCall(sptr<CallBase> &call, int32_t videoState) AnswerHandlerForSatelliteOrVideoCall() argument
298 sptr<CallBase> call = GetOneCallObject(callId); CarrierAndVoipConflictProcess() local
340 sptr<CallBase> call = GetOneCallObject(CallRunningState::CALL_RUNNING_STATE_RINGING); RejectCall() local
375 sptr<CallBase> call = GetOneCallObject(state); HangUpCall() local
607 sptr<CallBase> call = GetOneCallObject(callId); StartDtmf() local
627 sptr<CallBase> call = GetOneCallObject(callId); StopDtmf() local
645 sptr<CallBase> call = GetOneCallObject(callId); PostDialProceed() local
836 sptr<CallBase> call = GetOneCallObject(callId); SeparateConference() local
860 sptr<CallBase> call = GetOneCallObject(callId); KickOutFromConference() local
884 sptr<CallBase> call = GetOneCallObject(callId); GetMainCallId() local
894 sptr<CallBase> call = GetOneCallObject(callId); GetSubCallIdList() local
904 sptr<CallBase> call = GetOneCallObject(callId); GetCallIdListForConference() local
1119 sptr<CallBase> call = CallObjectManager::GetForegroundLiveCall(); SetMuted() local
1580 sptr<CallBase> call = nullptr; onButtonDealing() local
[all...]
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_data_sink_controller.cpp25 void DistributedDataSinkController::OnCallCreated(const sptr<CallBase> &call, const std::string &devId) in OnCallCreated() argument
28 CheckLocalData(call, DistributedDataType::NAME); in OnCallCreated()
29 CheckLocalData(call, DistributedDataType::LOCATION); in OnCallCreated()
48 void DistributedDataSinkController::ProcessCallInfo(const sptr<CallBase> &call, DistributedDataType type) in ProcessCallInfo() argument
50 CheckLocalData(call, type); in ProcessCallInfo()
93 void DistributedDataSinkController::CheckLocalData(const sptr<CallBase> &call, DistributedDataType type) in CheckLocalData() argument
95 if (call == nullptr) { in CheckLocalData()
98 std::string num = call->GetAccountNumber(); in CheckLocalData()
99 std::string location = call->GetNumberLocation(); in CheckLocalData()
100 std::string name(call in CheckLocalData()
190 auto call = CallObjectManager::GetOneCallObject(num); HandleDataQueryRsp() local
202 UpdateCallName(sptr<CallBase> &call, const cJSON *msg) UpdateCallName() argument
217 UpdateCallLocation(sptr<CallBase> &call, const cJSON *msg) UpdateCallLocation() argument
229 ReportCallInfo(const sptr<CallBase> &call) ReportCallInfo() argument
307 auto call = CallObjectManager::GetOneCallObject(num); HandleCurrentDataQueryRsp() local
[all...]
H A Ddistributed_data_source_controller.cpp50 void DistributedDataSourceController::OnCallCreated(const sptr<CallBase> &call, const std::string &devId) in OnCallCreated() argument
64 void DistributedDataSourceController::ProcessCallInfo(const sptr<CallBase> &call, DistributedDataType type) in ProcessCallInfo() argument
66 SaveLocalData(call, type); in ProcessCallInfo()
107 void DistributedDataSourceController::SaveLocalData(const sptr<CallBase> &call, DistributedDataType type) in SaveLocalData() argument
109 if (call == nullptr) { in SaveLocalData()
112 std::string num = call->GetAccountNumber(); in SaveLocalData()
117 std::string name(call->GetCallerInfo().name); in SaveLocalData()
121 std::string location = call->GetNumberLocation(); in SaveLocalData()
272 auto call = CallObjectManager::GetOneCallObject(num); in HandleCurrentDataQueryMsg() local
273 if (call in HandleCurrentDataQueryMsg()
[all...]
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch8_test.cpp83 sptr<CallBase> call = nullptr; in HWTEST_F() local
84 audioControl->IncomingCallHungUp(call, false, ""); in HWTEST_F()
85 audioControl->CallStateUpdated(call, TelCallState::CALL_STATUS_DIALING, TelCallState::CALL_STATUS_ALERTING); in HWTEST_F()
86 call = new VoIPCall(mDialParaInfo); in HWTEST_F()
87 call->SetCallType(CallType::TYPE_VOIP); in HWTEST_F()
88 audioControl->CallStateUpdated(call, TelCallState::CALL_STATUS_DIALING, TelCallState::CALL_STATUS_ALERTING); in HWTEST_F()
89 audioControl->HandleCallStateUpdated(call, TelCallState::CALL_STATUS_DIALING, TelCallState::CALL_STATUS_ANSWERED); in HWTEST_F()
90 audioControl->HandleNextState(call, TelCallState::CALL_STATUS_ALERTING); in HWTEST_F()
91 audioControl->HandleNextState(call, TelCallState::CALL_STATUS_INCOMING); in HWTEST_F()
92 audioControl->HandleNextState(call, TelCallStat in HWTEST_F()
[all...]
H A Dzero_branch1_test.cpp243 sptr<CallBase> call = new CSCall(mDialParaInfo); in HWTEST_F() local
244 call->SetCallId(VALID_CALLID); in HWTEST_F()
245 call->SetCallType(CallType::TYPE_VOIP); in HWTEST_F()
246 call->SetTelCallState(TelCallState::CALL_STATUS_ACTIVE); in HWTEST_F()
247 call->SetCallRunningState(CallRunningState::CALL_RUNNING_STATE_ACTIVE); in HWTEST_F()
248 callRequestProcess->AddOneCallObject(call); in HWTEST_F()
298 sptr<CallBase> call = nullptr; in HWTEST_F() local
299 callRequestProcess->DeleteOneCallObject(call); in HWTEST_F()
300 call = new CSCall(mDialParaInfo); in HWTEST_F()
301 call in HWTEST_F()
696 sptr<CallBase> call = new CSCall(info); HWTEST_F() local
744 sptr<CallBase> call = new CSCall(info); HWTEST_F() local
[all...]
/base/telephony/call_manager/services/call/include/
H A Dcall_status_manager.h32 * @Description:CallStatusManager is designed for watching call state changes,
33 * when call state changes, cellularcall will notify callstatusmanager to handle it.
34 * call state: idle,disconnected, disconnecting,dialing,alerting,active,holding,waiting
73 void HandleHoldCallOrAutoAnswerCall(const sptr<CallBase> call,
85 sptr<CallBase> RefreshCallIfNecessary(const sptr<CallBase> &call, const CallDetailInfo &info);
86 void SetOriginalCallTypeForActiveState(sptr<CallBase> &call);
87 void SetOriginalCallTypeForDisconnectState(sptr<CallBase> &call);
90 int32_t UpdateCallState(sptr<CallBase> &call, TelCallState nextState);
91 int32_t ToSpeakerPhone(sptr<CallBase> &call);
92 int32_t TurnOffMute(sptr<CallBase> &call);
[all...]
H A Dcall_request_process.h32 void AnswerRequestForDsda(sptr<CallBase> call, int32_t callId, int32_t videoState);
35 bool HangUpForDsdaRequest(sptr<CallBase> call);
54 void HandleCallWaitingNumTwo(sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId,
56 void HandleCallWaitingNumOne(sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId,
58 void HandleCallWaitingNumOneNext(sptr<CallBase> incomingCall, sptr<CallBase> call, sptr<CallBase> holdCall,
60 void HandleCallWaitingNumZero(sptr<CallBase> incomingCall, sptr<CallBase> call, int32_t slotId,
64 sptr<CallBase> call, int32_t activeCallNum, int32_t slotId, int32_t videoState, sptr<CallBase> incomingCall);
/base/telephony/call_manager/test/unittest/distributed_communication_test/src/
H A Ddistributed_data_test.cpp46 * @tc.name test data sink controller destroyed call
52 sptr<CallBase> call = nullptr; in HWTEST_F() local
54 controller->OnCallCreated(call, devId); in HWTEST_F()
55 controller->ProcessCallInfo(call, DistributedDataType::NAME); in HWTEST_F()
104 sptr<CallBase> call = nullptr; in HWTEST_F() local
105 ASSERT_NO_THROW(controller->CheckLocalData(call, DistributedDataType::NAME)); in HWTEST_F()
107 call = (std::make_unique<IMSCall>(paraInfo)).release(); in HWTEST_F()
108 call->accountNumber_ = ""; in HWTEST_F()
109 ASSERT_NO_THROW(controller->CheckLocalData(call, DistributedDataType::NAME)); in HWTEST_F()
110 call in HWTEST_F()
153 sptr<CallBase> call = (std::make_unique<IMSCall>(paraInfo)).release(); HWTEST_F() local
173 sptr<CallBase> call = (std::make_unique<IMSCall>(paraInfo)).release(); HWTEST_F() local
238 sptr<CallBase> call = (std::make_unique<IMSCall>(paraInfo)).release(); HWTEST_F() local
[all...]
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/
H A Ddistributed_data_sink_controller.h32 void OnCallCreated(const sptr<CallBase> &call, const std::string &devId) override;
34 void ProcessCallInfo(const sptr<CallBase> &call, DistributedDataType type) override;
42 void CheckLocalData(const sptr<CallBase> &call, DistributedDataType type);
46 void UpdateCallName(sptr<CallBase> &call, const cJSON *msg);
47 void UpdateCallLocation(sptr<CallBase> &call, const cJSON *msg);
48 void ReportCallInfo(const sptr<CallBase> &call);
H A Ddistributed_data_source_controller.h32 void OnCallCreated(const sptr<CallBase> &call, const std::string &devId) override;
34 void ProcessCallInfo(const sptr<CallBase> &call, DistributedDataType type) override;
42 void SaveLocalData(const sptr<CallBase> &call, DistributedDataType type);
/base/telephony/cellular_call/services/satellite_service_interaction/src/
H A Dsatellite_call_callback_proxy.cpp107 for (auto call : callList.calls) { in GetSatelliteCallsDataResponse()
108 if (!in.WriteInt32(call.index) || !in.WriteInt32(call.dir) || !in.WriteInt32(call.state) || in GetSatelliteCallsDataResponse()
109 !in.WriteInt32(call.mode) || !in.WriteInt32(call.mpty) || !in.WriteInt32(call.voiceDomain) || in GetSatelliteCallsDataResponse()
110 !in.WriteInt32(call.callType) || !in.WriteString(call.number) || !in.WriteInt32(call in GetSatelliteCallsDataResponse()
[all...]
H A Dsatellite_call_callback_stub.cpp45 /****************** call basic ******************/ in InitCallBasicFuncMap()
155 SatelliteCurrentCall call; in OnGetSatelliteCallsDataResponseInner() local
156 call.index = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
157 call.dir = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
158 call.state = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
159 call.mode = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
160 call.mpty = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
161 call.voiceDomain = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
162 call.callType = data.ReadInt32(); in OnGetSatelliteCallsDataResponseInner()
163 data.ReadString(call in OnGetSatelliteCallsDataResponseInner()
[all...]
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dzero_branch_test.cpp262 std::unique_ptr<HRilCall> call; in HWTEST_F() local
263 manager->hrilCall_.push_back(std::move(call)); in HWTEST_F()
293 auto call = std::make_unique<HRilCall>(0); in HWTEST_F() local
295 EXPECT_NE(HDF_SUCCESS, call->GetCallListResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
296 EXPECT_NE(HDF_SUCCESS, call->DialResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
297 EXPECT_NE(HDF_SUCCESS, call->HangupResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
298 EXPECT_NE(HDF_SUCCESS, call->RejectResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
299 EXPECT_NE(HDF_SUCCESS, call->HoldCallResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
300 EXPECT_NE(HDF_SUCCESS, call->UnHoldCallResponse(0, responseInfo, nullptr, 1)); in HWTEST_F()
301 EXPECT_NE(HDF_SUCCESS, call in HWTEST_F()
346 auto call = std::make_unique<HRilCall>(0); HWTEST_F() local
392 auto call = std::make_unique<HRilCall>(0); HWTEST_F() local
432 auto call = std::make_unique<HRilCall>(0); HWTEST_F() local
[all...]
/base/telephony/call_manager/test/fuzztest/distributedcommunication_fuzzer/
H A Ddistributed_communication_fuzzer.cpp37 sptr<OHOS::Telephony::CallBase> call = new IMSCall(dialParaInfo); in TestCommonController() local
47 controller->OnCallCreated(call, stringValue); in TestCommonController()
49 controller->ProcessCallInfo(call, distributedDataType); in TestCommonController()
93 sptr<OHOS::Telephony::CallBase> call = new IMSCall(dialParaInfo); in TestSinkController() local
95 controller->CheckLocalData(call, distributedDataType); in TestSinkController()
98 controller->ReportCallInfo(call); in TestSinkController()
103 controller->UpdateCallName(call, msg); in TestSinkController()
104 controller->UpdateCallLocation(call, msg); in TestSinkController()
127 sptr<OHOS::Telephony::CallBase> call = new IMSCall(dialParaInfo); in TestSourceController() local
133 controller->SaveLocalData(call, distributedDataTyp in TestSourceController()
[all...]
/base/telephony/cellular_call/test/unittest/imstest/
H A Dims_test.h56 .description = "Test cellular call",
75 .description = "Test cellular call",
94 .description = "Test cellular call",
269 for (auto call : cFQueryList.calls) { in WriteCallForwardResult()
270 if (!in.WriteInt32(call.serial) || !in.WriteInt32(call.result) || !in.WriteInt32(call.status) || in WriteCallForwardResult()
271 !in.WriteInt32(call.classx) || !in.WriteString(call.number) || !in.WriteInt32(call in WriteCallForwardResult()
[all...]
/base/hiviewdfx/hilog/interfaces/rust/src/
H A Dmacros.rs22 (@call $log_label:ident, $level:expr, $fmt:literal, $(,)? $($processed_args:expr),* ) => (
42 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, "<private>");
44 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, $arg);
50 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, "<private>");
52 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, $arg);
57 hilog!(@call $log_label, $level, $fmt, $($processed_args),*, $arg);
87 hilog!(@call $log_label, $level, $fmt,);
/base/telephony/call_manager/services/telephony_interaction/src/
H A Dreport_call_info_handler.cpp204 sptr<CallBase> call = CallObjectManager::GetOneCallObjectByIndex(response.callIndex); in ReceiveImsCallModeRequest()
205 if (call == nullptr) { in ReceiveImsCallModeRequest()
206 TELEPHONY_LOGE("call not exists"); in ReceiveImsCallModeRequest()
209 if (call->GetCallType() == CallType::TYPE_IMS) { in ReceiveImsCallModeRequest()
210 sptr<IMSCall> imsCall = reinterpret_cast<IMSCall *>(call.GetRefPtr()); in ReceiveImsCallModeRequest()
222 sptr<CallBase> call = nullptr; in ReceiveImsCallModeResponse()
224 call = CallObjectManager::GetOneCallObjectByIndexAndSlotId(response.callIndex, response.slotId); in ReceiveImsCallModeResponse()
226 if (call == nullptr) { in ReceiveImsCallModeResponse()
227 call = CallObjectManager::GetOneCallObjectByIndex(response.callIndex); in ReceiveImsCallModeResponse()
229 if (call in ReceiveImsCallModeResponse()
[all...]
H A Dvoip_call_connection.cpp62 TELEPHONY_LOGI("subscribe voip call manager successfully!"); in Init()
77 TELEPHONY_LOGI("voip call connection uninit"); in UnInit()
193 TELEPHONY_LOGI("no voip call exist, no need to clear"); in ClearVoipCall()
197 for (auto call : allCallList) { in ClearVoipCall()
198 if (call != nullptr && call->GetCallType() == CallType::TYPE_VOIP) { in ClearVoipCall()
199 TELEPHONY_LOGI("clearVoipCall callId %{public}d", call->GetCallID()); in ClearVoipCall()
200 CallObjectManager::DeleteOneCallObject(call); in ClearVoipCall()
/base/telephony/cellular_call/services/ims_service_interaction/src/
H A Dims_call_callback_proxy.cpp162 for (auto call : callList.calls) { in GetImsCallsDataResponse()
163 if (!in.WriteInt32(call.index) || !in.WriteInt32(call.dir) || !in.WriteInt32(call.state) || in GetImsCallsDataResponse()
164 !in.WriteInt32(call.mode) || !in.WriteInt32(call.mpty) || !in.WriteInt32(call.voiceDomain) || in GetImsCallsDataResponse()
165 !in.WriteInt32(call.callType) || !in.WriteString(call.number) || !in.WriteString(call in GetImsCallsDataResponse()
[all...]
/base/telephony/core_service/test/unittest/esim_gtest/
H A Desim_service_client_branch_test.cpp277 EsimServiceClientCallback call; in HWTEST_F() local
278 call.OnLoadSystemAbilitySuccess(systemAbilityId, remote); in HWTEST_F()
279 EXPECT_NE(call.remoteObject_, nullptr); in HWTEST_F()
285 EsimServiceClientCallback call; in HWTEST_F() local
286 call.OnLoadSystemAbilityFail(systemAbilityId); in HWTEST_F()
287 EXPECT_TRUE(call.isLoadSAFailed_); in HWTEST_F()
292 EsimServiceClientCallback call; in HWTEST_F() local
293 call.isLoadSAFailed_ = true; in HWTEST_F()
294 call.IsFailed(); in HWTEST_F()
295 EXPECT_TRUE(call in HWTEST_F()
300 EsimServiceClientCallback call; HWTEST_F() local
[all...]
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_call.cpp672 EmergencyInfo call; in BuildEmergencyInfoList() local
673 call.index = ecc.index; in BuildEmergencyInfoList()
674 call.total = ecc.total; in BuildEmergencyInfoList()
675 call.eccNum = ecc.eccNum; in BuildEmergencyInfoList()
676 call.category = ecc.simpresent; in BuildEmergencyInfoList()
677 call.mcc = ecc.mcc; in BuildEmergencyInfoList()
678 call.abnormalService = ecc.abnormalService; in BuildEmergencyInfoList()
679 emergencyCallList->calls.push_back(call); in BuildEmergencyInfoList()
688 CallInfo call; in BuildCallInfoList() local
689 call in BuildCallInfoList()
708 CallForwardQueryResult call; BuildCFQueryInfoList() local
[all...]

Completed in 16 milliseconds

123