/ohos5.0/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() 95 if (info.callType == CS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteHangUpCallBehaviorEvent() 114 info.callType == IMS_CALL_TYPE && info.videoState == VOICE_TYPE) { in WriteAnswerCallBehaviorEvent() 134 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() argument 148 const int32_t videoState, const int32_t errorCode, const std::string &desc) in WriteDialCallFaultEvent() argument 215 CALL_TYPE_KEY, info.callType, VIDEO_STATE_KEY, info.videoState); in WriteImsCallModeBehaviorEvent() 333 const int32_t slotId, const int32_t callType, const int32_t videoState) in SetCallParameterInfo() argument 337 dfxVideoState_ = videoState; in SetCallParameterInfo() 351 info.videoState = dfxVideoState_; in GetCallParameterInfo() 364 const int32_t slotId, const int32_t callType, const int32_t videoState) in JudgingIncomingTimeOut() argument [all …]
|
/ohos5.0/base/telephony/call_manager/services/hisysevent/src/ |
H A D | call_manager_hisysevent.cpp | 86 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteIncomingCallFaultEvent() argument 91 … CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteIncomingCallFaultEvent() 100 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteDialCallFaultEvent() argument 105 … CALL_TYPE_KEY, callType, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteDialCallFaultEvent() 114 const int32_t videoState, const int32_t errCode, const std::string &desc) in WriteAnswerCallFaultEvent() argument 119 … CALL_ID_KEY, callId, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, static_cast<int32_t>(value), in WriteAnswerCallFaultEvent() 123 … CALL_ID_KEY, callId, VIDEO_STATE_KEY, videoState, ERROR_TYPE_KEY, errCode, ERROR_MSG_KEY, desc); in WriteAnswerCallFaultEvent() 303 WriteDialCallFaultEvent(slotId, callType, videoState, in JudgingDialTimeOut() 310 const int32_t slotId, const int32_t callType, const int32_t videoState) in JudgingIncomingTimeOut() argument 316 WriteIncomingCallFaultEvent(slotId, callType, videoState, in JudgingIncomingTimeOut() [all …]
|
/ohos5.0/base/telephony/call_manager/test/fuzztest/call_fuzzer/ |
H A D | call_fuzzer.cpp | 59 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in CSCallFunc() local 69 callObjectPtr->AnswerCall(videoState); in CSCallFunc() 143 info.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in GetCallerInfo() 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); in OttCallFunc() local 356 callObjectPtr->AnswerCall(videoState); in OttCallFunc() 464 int32_t videoState = static_cast<int32_t>(size % VIDIO_TYPE_NUM); in SatelliteCallFunc() local [all …]
|
/ohos5.0/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> inc…
|
H A D | call_superprivacy_control_manager.h | 36 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType); 37 void CloseAnswerSuperPrivacyMode(int32_t callId, int32_t videoState);
|
/ohos5.0/base/telephony/call_manager/services/hisysevent/include/ |
H A D | call_manager_hisysevent.h | 57 …WriteIncomingCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 59 …oid WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 61 …oid WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, 69 void JudgingDialTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState); 70 …oid JudgingIncomingTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState); 71 void JudgingAnswerTimeOut(const int32_t slotId, const int32_t callId, const int32_t videoState);
|
/ohos5.0/base/telephony/call_manager/utils/src/ |
H A D | call_dialog.cpp | 109 …int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType,… in DialogConnectPrivpacyModeExtension() argument 112 accountId, videoState, dialType, dialScene, callType, isVideo); in DialogConnectPrivpacyModeExtension() 126 int32_t &callId, int32_t &videoState, bool isVideo) in DialogConnectAnswerPrivpacyModeExtension() argument 128 …std::string commandStr = BuildStartAnswerPrivpacyModeCommand(dialogReason, callId, videoState, isV… in DialogConnectAnswerPrivpacyModeExtension() 142 …int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType,… in BuildStartPrivpacyModeCommand() argument 151 root["videoState"] = videoState; in BuildStartPrivpacyModeCommand() 163 int32_t &callId, int32_t &videoState, bool isVideo) in BuildStartAnswerPrivpacyModeCommand() argument 171 root["videoState"] = videoState; in BuildStartAnswerPrivpacyModeCommand()
|
/ohos5.0/base/telephony/cellular_call/services/common/include/ |
H A D | cellular_call_hisysevent.h | 55 int32_t videoState = 0; member 80 …oid WriteDialCallFaultEvent(const int32_t slotId, const int32_t callType, const int32_t videoState, 82 …oid WriteAnswerCallFaultEvent(const int32_t slotId, const int32_t callId, const int32_t videoState, 86 …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 …oid JudgingIncomingTimeOut(const int32_t slotId, const int32_t callType, const int32_t videoState);
|
/ohos5.0/base/telephony/call_manager/services/call/src/ |
H A D | call_policy.cpp | 58 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialPolicy() local 59 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in DialPolicy() 64 if (IsVoiceCallValid(videoState) != TELEPHONY_SUCCESS) { in DialPolicy() 96 int32_t videoState = extras.GetIntValue("videoState"); in SuperPrivacyMode() local 160 int32_t CallPolicy::IsVoiceCallValid(VideoStateType videoState) in IsVoiceCallValid() argument 162 if (videoState == VideoStateType::TYPE_VOICE) { in IsVoiceCallValid() 186 if (videoState == VideoStateType::TYPE_VIDEO && HasCellularCallExist()) { in CanDialMulityCall() 190 if (!isEcc && videoState == VideoStateType::TYPE_VOICE && HasVideoCall()) { in CanDialMulityCall() 211 int32_t CallPolicy::AnswerCallPolicy(int32_t callId, int32_t videoState) in AnswerCallPolicy() argument 213 if (videoState != static_cast<int32_t>(VideoStateType::TYPE_VOICE) && in AnswerCallPolicy() [all …]
|
H A D | call_request_process.cpp | 71 static_cast<int32_t>(info.videoState), in DialRequest() 102 call->SetAnswerVideoState(videoState); in AnswerRequest() 104 int32_t ret = call->AnswerCall(videoState); in AnswerRequest() 112 AnswerRequestForDsda(call, callId, videoState); in AnswerRequest() 120 DisconnectOtherSubIdCall(callId, slotId, videoState); in AnswerRequestForDsda() 144 HoldOrDisconnectedCall(callId, slotId, videoState); in AnswerRequestForDsda() 146 int32_t ret = call->AnswerCall(videoState); in AnswerRequestForDsda() 270 int32_t ret = call->AnswerCall(videoState); in HoldOrDisconnectedCall() 315 incomingCall->AnswerCall(videoState); in HandleDsdaIncomingCall() 765 callDetatilInfo.callMode = info.videoState; in UpdateCallReportInfo() [all …]
|
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 | call_superprivacy_control_manager.cpp | 128 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType) in CloseCallSuperPrivacyMode() argument 135 dialInfo.PutIntValue("videoState", videoState); in CloseCallSuperPrivacyMode() 148 void CallSuperPrivacyControlManager::CloseAnswerSuperPrivacyMode(int32_t callId, int32_t videoState) in CloseAnswerSuperPrivacyMode() argument 153 DelayedSingleton<CallControlManager>::GetInstance()->AnswerCall(callId, videoState); in CloseAnswerSuperPrivacyMode()
|
H A D | call_control_manager.cpp | 159 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialCall() local 160 if (videoState == VideoStateType::TYPE_VIDEO) { in DialCall() 202 dialSrcInfo_.videoState = (VideoStateType)extras.GetIntValue("videoState"); in PackageDialInformation() 209 int32_t CallControlManager::AnswerCall(int32_t callId, int32_t videoState) in AnswerCall() argument 228 if (!isVoipCall && CurrentIsSuperPrivacyMode(callId, videoState)) { in AnswerCall() 231 AnswerHandlerForSatelliteOrVideoCall(call, videoState); in AnswerCall() 241 AnsweredCallQueue_.videoState = videoState; in AnswerCall() 244 int32_t ret = AnswerCallPolicy(callId, videoState); in AnswerCall() 255 ret = CallRequestHandlerPtr_->AnswerCall(callId, videoState); in AnswerCall() 270 callId, videoState, true); in CurrentIsSuperPrivacyMode() [all …]
|
/ohos5.0/base/telephony/call_manager/utils/include/ |
H A D | call_dialog.h | 31 int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType, bool isVideo); 33 int32_t &callId, int32_t &videoState, bool isVideo); 38 …int32_t &accountId, int32_t &videoState, int32_t &dialType, int32_t &dialScene, int32_t &callType,… 40 int32_t &callId, int32_t &videoState, bool isVideo);
|
/ohos5.0/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}; 68 callInfo.videoState = VIDEO_TYPE; 74 callInfo.videoState = VOICE_TYPE; 77 callInfo = {.callType = IMS_CALL_TYPE, .videoState = VOICE_TYPE}; 81 callInfo.videoState = VIDEO_TYPE; 87 callInfo.videoState = VOICE_TYPE; 92 int32_t videoState = VOICE_TYPE; variable 109 CallBehaviorParameterInfo callInfo = {.callType = IMS_CALL_TYPE, .videoState = VOICE_TYPE, 117 callInfo.videoState = VIDEO_TYPE; 129 int32_t videoState = VOICE_TYPE; variable [all …]
|
/ohos5.0/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() argument 110 answerCallInfo.videoState = videoState; in AnswerRequest() 388 holdToDialInfo_.videoState = holdToDialVideoState; in SetHoldToDialInfo()
|
/ohos5.0/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()
|
H A D | ims_control.cpp | 37 callInfo.slotId, static_cast<int32_t>(callInfo.callType), callInfo.videoState); in Dial() 60 return DialJudgment(callInfo.slotId, newPhoneNum, clirMode, callInfo.videoState); in Dial() 63 …::DialJudgment(int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, int32_t videoState) in DialJudgment() argument 70 …slotId, INVALID_PARAMETER, videoState, CALL_ERR_CALL_COUNTS_EXCEED_LIMIT, "ims dial call state err… in DialJudgment() 82 connection.second.SetHoldToDialInfo(phoneNum, clirMode, videoState, isEmergency); in DialJudgment() 88 return EncapsulateDial(slotId, phoneNum, clirMode, videoState); in DialJudgment() 92 int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, int32_t videoState) const in EncapsulateDial() 97 dialInfo.videoState = videoState; in EncapsulateDial() 198 …return pConnection->AnswerRequest(callInfo.slotId, callInfo.phoneNum, callInfo.videoState, callInf… in Answer()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/ |
H A D | setimsfeaturevalue_fuzzer.cpp | 237 int32_t videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in Reject() local 249 callInfo.videoState = videoState; in Reject() 273 int32_t videoState = static_cast<int32_t>(size % VEDIO_STATE_NUM); in HangUp() local 285 callInfo.videoState = videoState; in HangUp()
|
/ohos5.0/base/telephony/call_manager/services/bluetooth/src/ |
H A D | bluetooth_call_service.cpp | 55 VideoStateType videoState = call->GetVideoStateType(); in AnswerCall() local 56 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in AnswerCall() 58 videoState = static_cast<VideoStateType>(call->GetOriginalCallType()); in AnswerCall() 68 return callControlManagerPtr_->AnswerCall(callId, static_cast<int32_t>(videoState)); in AnswerCall()
|
/ohos5.0/base/telephony/call_manager/services/call/call_state_observer/src/ |
H A D | call_records_manager.cpp | 262 int32_t CallRecordsManager::GetCallFeatures(int32_t videoState) in GetCallFeatures() argument 265 if (IsVideoCall(videoState)) { in GetCallFeatures() 271 bool CallRecordsManager::IsVideoCall(int32_t videoState) in IsVideoCall() argument 273 if (static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_SEND_ONLY || in IsVideoCall() 274 static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_RECEIVE_ONLY || in IsVideoCall() 275 static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_VIDEO) { in IsVideoCall()
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/imsclient_fuzzer/ |
H A D | imsclient_fuzzer.cpp | 71 int32_t videoState = static_cast<int32_t>(size % NUM_THREE); in TestImsCallClientWithCallInfo() local 78 callInfo.videoState = videoState; in TestImsCallClientWithCallInfo() 195 callInfo.videoState = static_cast<int32_t>(size % NUM_TWO); in TestImsCallClientWithCallMediaModeRequest() 214 callInfo.videoState = static_cast<int32_t>(size % NUM_TWO); in TestImsCallClientWithCallMediaModeResponse() 249 int32_t videoState = static_cast<int32_t>(size % NUM_THREE); in TestImsCallProxyWithCallInfo() local 256 callInfo.videoState = videoState; in TestImsCallProxyWithCallInfo() 369 callInfo.videoState = static_cast<int32_t>(size % NUM_TWO); in TestImsCallProxyWithCallMediaModeRequest() 387 callInfo.videoState = static_cast<int32_t>(size % NUM_TWO); in TestImsCallProxyWithCallMediaModeResponse()
|
/ohos5.0/base/telephony/call_manager/interfaces/innerkits/ |
H A D | call_manager_info.h | 47 int32_t videoState = 0; member 229 VideoStateType videoState = VideoStateType::TYPE_VOICE; member 339 VideoStateType videoState = VideoStateType::TYPE_VOICE; member 421 videoState = temp.videoState;
|