/base/telephony/call_manager/utils/include/ |
H A D | call_dialog.h | 32 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo); 34 int32_t &callId, int32_t &videoState, bool isVideo); 41 int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo); 43 int32_t &callId, int32_t &videoState, bool isVideo); 44 std::string BuildCallingPrivacyModeCommand(int32_t &videoState);
|
/base/telephony/cellular_call/services/common/src/ |
H A D | cellular_call_hisysevent.cpp | 77 if (info.callType == CS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteDialCallBehaviorEvent() 79 } else if (info.callType == IMS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteDialCallBehaviorEvent() 81 } else if (info.callType == IMS_CALL_TYPE && info.videoState == VIDEO_TYPE) { in WriteDialCallBehaviorEvent() 95 if (info.callType == CS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteHangUpCallBehaviorEvent() 97 } else if (info.callType == IMS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteHangUpCallBehaviorEvent() 99 } else if (info.callType == IMS_CALL_TYPE && info.videoState == VIDEO_TYPE) { in WriteHangUpCallBehaviorEvent() 114 info.callType == IMS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteAnswerCallBehaviorEvent() 117 info.callType == IMS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteAnswerCallBehaviorEvent() 120 info.callType == IMS_CALL_TYPE && info.videoState == VIDEO_TYPE) { in WriteAnswerCallBehaviorEvent() 123 info.callType == CS_CALL_TYPE && info.videoState in WriteAnswerCallBehaviorEvent() 133 WriteIncomingCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, const int32_t errCode, const std::string &desc) WriteIncomingCallFaultEvent() argument 147 WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, const int32_t errorCode, const std::string &desc) WriteDialCallFaultEvent() argument 161 WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, const int32_t errorCode, const std::string &desc) WriteAnswerCallFaultEvent() argument 332 SetCallParameterInfo( const int32_t slotId, const int32_t callType, const int32_t videoState) SetCallParameterInfo() argument 363 JudgingIncomingTimeOut( const int32_t slotId, const int32_t callType, const int32_t videoState) JudgingIncomingTimeOut() argument [all...] |
/base/telephony/call_manager/services/hisysevent/src/ |
H A D | call_manager_hisysevent.cpp | 84 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() 89 CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteIncomingCallFaultEvent() 93 CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteIncomingCallFaultEvent() 98 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() 103 CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteDialCallFaultEvent() 107 CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteDialCallFaultEvent() 112 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() 117 CALL_ID_KEY, callId, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteAnswerCallFaultEvent() 121 CALL_ID_KEY, callId, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteAnswerCallFaultEvent() 295 void CallManagerHisysevent::JudgingDialTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState) in JudgingDialTimeOut() argument 83 WriteIncomingCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, const int32_t errCode, const std::string &desc) WriteIncomingCallFaultEvent() argument 97 WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, const int32_t errCode, const std::string &desc) WriteDialCallFaultEvent() argument 111 WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, const int32_t errCode, const std::string &desc) WriteAnswerCallFaultEvent() argument 307 JudgingIncomingTimeOut( const int32_t slotId, const int32_t callType, const int32_t videoState) JudgingIncomingTimeOut() argument 320 JudgingAnswerTimeOut(const int32_t slotId, const int32_t callId, const int32_t videoState) JudgingAnswerTimeOut() argument [all...] |
/base/telephony/call_manager/services/call/include/ |
H A D | call_request_process.h | 31 void AnswerRequest(int32_t callId, int32_t videoState); 32 void AnswerRequestForDsda(sptr<CallBase> call, int32_t callId, int32_t videoState); 50 bool NeedAnswerVTAndEndActiveVO(int32_t callId, int32_t videoState); 51 bool NeedAnswerVOAndEndActiveVT(int32_t callId, int32_t videoState); 52 void DisconnectOtherSubIdCall(int32_t callId, int32_t slotId, int32_t videoState); 62 void HoldOrDisconnectedCall(int32_t callId, int32_t slotId, int32_t videoState); 64 sptr<CallBase> call, int32_t activeCallNum, int32_t slotId, int32_t videoState, sptr<CallBase> incomingCall);
|
H A D | call_superprivacy_control_manager.h | 37 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType); 38 void CloseAnswerSuperPrivacyMode(int32_t callId, int32_t videoState);
|
H A D | call_request_handler.h | 32 int32_t videoState = 0; member 67 int32_t AnswerCall(int32_t callId, int32_t videoState);
|
H A D | common_type.h | 38 videoState(VideoStateType::TYPE_VOICE), callType(CallType::TYPE_ERR_CALL), in DialParaInfo() 45 VideoStateType videoState = VideoStateType::TYPE_VOICE; member
|
/base/telephony/call_manager/services/hisysevent/include/ |
H A D | call_manager_hisysevent.h | 41 static void WriteIncomingCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 43 static void WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 45 static void WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, 53 void JudgingDialTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState); 54 void JudgingIncomingTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState); 55 void JudgingAnswerTimeOut(const int32_t slotId, const int32_t callId, const int32_t videoState);
|
/base/telephony/cellular_call/services/common/include/ |
H A D | cellular_call_hisysevent.h | 55 int32_t videoState = 0; member 80 static void WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 82 static void WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, 86 static void WriteIncomingCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 91 void SetCallParameterInfo(const int32_t slotId, const int32_t callType, const int32_t videoState); 95 void JudgingIncomingTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState);
|
/base/telephony/call_manager/utils/src/ |
H A D | call_dialog.cpp | 113 int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo) in DialogConnectPrivpacyModeExtension() 116 accountId, videoState, dialType, dialScene, callType, isVideo); in DialogConnectPrivpacyModeExtension() 130 int32_t &callId, int32_t &videoState, bool isVideo) in DialogConnectAnswerPrivpacyModeExtension() 132 std::string commandStr = BuildStartAnswerPrivpacyModeCommand(dialogReason, callId, videoState, isVideo); in DialogConnectAnswerPrivpacyModeExtension() 155 int32_t videoState = static_cast<int32_t>(foregroundCall->GetVideoStateType()); in DialogCallingPrivacyModeExtension() local 156 std::string commandStr = BuildCallingPrivacyModeCommand(videoState); in DialogCallingPrivacyModeExtension() 168 int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo) in BuildStartPrivpacyModeCommand() 177 root["videoState"] = videoState; in BuildStartPrivpacyModeCommand() 191 int32_t &callId, int32_t &videoState, boo in BuildStartAnswerPrivpacyModeCommand() 112 DialogConnectPrivpacyModeExtension(const std::string &dialogReason, std::u16string &number, int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo) DialogConnectPrivpacyModeExtension() argument 129 DialogConnectAnswerPrivpacyModeExtension(const std::string &dialogReason, int32_t &callId, int32_t &videoState, bool isVideo) DialogConnectAnswerPrivpacyModeExtension() argument 167 BuildStartPrivpacyModeCommand(const std::string &dialogReason, std::u16string &number, int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo) BuildStartPrivpacyModeCommand() argument 190 BuildStartAnswerPrivpacyModeCommand(const std::string &dialogReason, int32_t &callId, int32_t &videoState, bool isVideo) BuildStartAnswerPrivpacyModeCommand() argument 209 BuildCallingPrivacyModeCommand(int32_t &videoState) BuildCallingPrivacyModeCommand() argument [all...] |
/base/telephony/call_manager/test/fuzztest/call_fuzzer/ |
H A D | call_fuzzer.cpp | 56 dialParaInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in CSCallFunc() 59 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in CSCallFunc() local 69 callObjectPtr->AnswerCall(videoState); in CSCallFunc() 104 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in DialingProcess() 143 info.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in GetCallerInfo() 190 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSCallFunc() 193 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in IMSCallFunc() local 201 callObjectPtr->AnswerCall(videoState); in IMSCallFunc() 238 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in VoIPCallFunc() local 242 voipCall->AnswerCall(videoState); in VoIPCallFunc() 351 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); OttCallFunc() local 464 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); SatelliteCallFunc() local [all...] |
/base/telephony/call_manager/services/call/src/ |
H A D | call_policy.cpp | 61 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialPolicy() local 62 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in DialPolicy() 67 if (IsVoiceCallValid(videoState) != TELEPHONY_SUCCESS) { in DialPolicy() 98 int32_t videoState = extras.GetIntValue("videoState"); in SuperPrivacyMode() local 103 number, accountId, videoState, dialType, dialScene, spCallType, true); in SuperPrivacyMode() 162 int32_t CallPolicy::IsVoiceCallValid(VideoStateType videoState) in IsVoiceCallValid() argument 164 if (videoState in IsVoiceCallValid() 187 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); CanDialMulityCall() local 219 AnswerCallPolicy(int32_t callId, int32_t videoState) AnswerCallPolicy() argument [all...] |
H A D | call_request_process.cpp | 50 static_cast<int32_t>(info.videoState), static_cast<int32_t>(CallErrorCode::CALL_ERROR_DEVICE_NOT_DIALING), in DialRequest() 71 static_cast<int32_t>(info.videoState), in DialRequest() 95 void CallRequestProcess::AnswerRequest(int32_t callId, int32_t videoState) in AnswerRequest() argument 102 call->SetAnswerVideoState(videoState); in AnswerRequest() 104 int32_t ret = call->AnswerCall(videoState); 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 120 DisconnectOtherSubIdCall(callId, slotId, videoState); in AnswerRequestForDsda() 122 if (NeedAnswerVTAndEndActiveVO(callId, videoState)) { in AnswerRequestForDsda() 127 } else if (NeedAnswerVOAndEndActiveVT(callId, videoState)) { in AnswerRequestForDsda() 199 NeedAnswerVTAndEndActiveVO(int32_t callId, int32_t videoState) NeedAnswerVTAndEndActiveVO() argument 218 NeedAnswerVOAndEndActiveVT(int32_t callId, int32_t videoState) NeedAnswerVOAndEndActiveVT() argument 255 HoldOrDisconnectedCall(int32_t callId, int32_t slotId, int32_t videoState) HoldOrDisconnectedCall() argument 304 HandleDsdaIncomingCall( sptr<CallBase> call, int32_t activeCallNum, int32_t slotId, int32_t videoState, sptr<CallBase> incomingCall) HandleDsdaIncomingCall() argument 475 DisconnectOtherSubIdCall(int32_t callId, int32_t slotId, int32_t videoState) DisconnectOtherSubIdCall() argument [all...] |
H A D | call_superprivacy_control_manager.cpp | 129 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType) in CloseCallSuperPrivacyMode() 136 dialInfo.PutIntValue("videoState", videoState); in CloseCallSuperPrivacyMode() 147 void CallSuperPrivacyControlManager::CloseAnswerSuperPrivacyMode(int32_t callId, int32_t videoState) in CloseAnswerSuperPrivacyMode() argument 152 DelayedSingleton<CallControlManager>::GetInstance()->AnswerCall(callId, videoState); in CloseAnswerSuperPrivacyMode() 128 CloseCallSuperPrivacyMode(std::u16string &phoneNumber, int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType) CloseCallSuperPrivacyMode() argument
|
H A D | carrier_call.cpp | 51 int32_t CarrierCall::CarrierAnswerCall(int32_t videoState) in CarrierAnswerCall() argument 58 slotId_, INVALID_PARAMETER, videoState, ret, "the device is currently not ringing"); in CarrierAnswerCall() 62 callInfo.videoState = videoState; in CarrierAnswerCall() 66 slotId_, INVALID_PARAMETER, videoState, ret, "PackCellularCallInfo failed"); in CarrierAnswerCall() 277 callInfo.videoState = static_cast<int32_t>(videoState_); in PackCellularCallInfo()
|
H A D | satellite_call.cpp | 34 int32_t SatelliteCall::AnswerCall(int32_t videoState) in AnswerCall() argument 36 return CarrierAnswerCall(videoState); in AnswerCall()
|
H A D | call_broadcast_subscriber.cpp | 115 int32_t videoState = data.GetWant().GetIntParam("videoState", -1); in ConnectCallUiSuperPrivacyModeBroadcast() local 128 CloseAnswerSuperPrivacyMode(callId, videoState); in ConnectCallUiSuperPrivacyModeBroadcast() 138 phNumber, accountId, videoState, dialScene, dialType, callType); in ConnectCallUiSuperPrivacyModeBroadcast()
|
/base/telephony/cellular_call/test/fuzztest/separateconference_fuzzer/ |
H A D | separateconference_fuzzer.cpp | 43 int32_t videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in DoSomethingInterestingWithMyAPI() local 57 callInfo.videoState = videoState; in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | cellular_call_hisysevent_test.cpp | 64 CallBehaviorParameterInfo callInfo = {.callType = IMS_CALL_TYPE, .videoState = VOICE_TYPE}; in HWTEST_F() 68 callInfo.videoState = VIDEO_TYPE; in HWTEST_F() 74 callInfo.videoState = VOICE_TYPE; in HWTEST_F() 77 callInfo = {.callType = IMS_CALL_TYPE, .videoState = VOICE_TYPE}; in HWTEST_F() 81 callInfo.videoState = VIDEO_TYPE; in HWTEST_F() 87 callInfo.videoState = VOICE_TYPE; in HWTEST_F() 92 int32_t videoState = VOICE_TYPE; in HWTEST_F() local 96 cellularCallHiSysEvent->WriteIncomingCallFaultEvent(slotId, callType, videoState, errCode, desc); in HWTEST_F() 109 CallBehaviorParameterInfo callInfo = {.callType = IMS_CALL_TYPE, .videoState = VOICE_TYPE, in HWTEST_F() 117 callInfo.videoState in HWTEST_F() 129 int32_t videoState = VOICE_TYPE; HWTEST_F() local [all...] |
/base/telephony/cellular_call/test/fuzztest/answerrequest_fuzzer/ |
H A D | answerrequest_fuzzer.cpp | 40 int32_t videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in DoSomethingInterestingWithMyAPI() local 45 cellularCallConnectionIMS->AnswerRequest(slotId, phoneNum, videoState, index); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/test/fuzztest/reporthangupinfo_fuzzer/ |
H A D | reporthangupinfo_fuzzer.cpp | 45 int32_t videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in DoSomethingInterestingWithMyAPI() local 58 callInfo.videoState = videoState; in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/services/connection/src/ |
H A D | cellular_call_connection_ims.cpp | 34 slotId, INVALID_PARAMETER, dialRequest.videoState, TELEPHONY_ERR_MEMSET_FAIL, "memset_s error"); in DialRequest() 47 slotId, INVALID_PARAMETER, dialRequest.videoState, TELEPHONY_ERR_STRCPY_FAIL, "strcpy_s fail"); in DialRequest() 51 callInfo.videoState = dialRequest.videoState; in DialRequest() 55 CellularCallHiSysEvent::WriteDialCallFaultEvent(slotId, INVALID_PARAMETER, dialRequest.videoState, in DialRequest() 94 int32_t slotId, const std::string &phoneNum, int32_t videoState, int32_t index) in AnswerRequest() 110 answerCallInfo.videoState = videoState; in AnswerRequest() 388 holdToDialInfo_.videoState = holdToDialVideoState; in SetHoldToDialInfo() 93 AnswerRequest( int32_t slotId, const std::string &phoneNum, int32_t videoState, int32_t index) AnswerRequest() argument
|
/base/telephony/cellular_call/services/control/src/ |
H A D | ims_video_call_control.cpp | 133 info.videoState = static_cast<ImsCallMode>(mode); in SendUpdateCallMediaModeRequest() 151 imsCallInfo.videoState = callInfo.videoState; in SendUpdateCallMediaModeRequest() 175 info.videoState = static_cast<ImsCallMode>(mode); in SendUpdateCallMediaModeResponse() 193 imsCallInfo.videoState = callInfo.videoState; in SendUpdateCallMediaModeResponse()
|
/base/telephony/call_manager/services/bluetooth/src/ |
H A D | bluetooth_call_service.cpp | 56 VideoStateType videoState = call->GetVideoStateType(); in AnswerCall() local 57 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in AnswerCall() 59 videoState = static_cast<VideoStateType>(call->GetOriginalCallType()); in AnswerCall() 69 return callControlManagerPtr_->AnswerCall(callId, static_cast<int32_t>(videoState)); in AnswerCall()
|
/base/telephony/call_manager/interfaces/innerkits/ |
H A D | call_manager_info.h | 47 int32_t videoState = 0; member 233 VideoStateType videoState = VideoStateType::TYPE_VOICE; member 351 VideoStateType videoState = VideoStateType::TYPE_VOICE; member 433 videoState = temp.videoState; in operator =()
|