Home
last modified time | relevance | path

Searched refs:VideoStateType (Results 1 – 25 of 34) sorted by relevance

12

/base/telephony/call_manager/services/call/src/
Dcall_policy.cpp57 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialPolicy()
58 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in DialPolicy()
62 if (videoState == VideoStateType::TYPE_VOICE) { in DialPolicy()
64 if (ringCall != nullptr && ringCall->GetVideoStateType() == VideoStateType::TYPE_VOICE) { in DialPolicy()
84 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in CanDialMulityCall()
85 if (videoState == VideoStateType::TYPE_VIDEO && HasCellularCallExist()) { in CanDialMulityCall()
89 if (videoState == VideoStateType::TYPE_VOICE && HasVideoCall()) { in CanDialMulityCall()
112 if (videoState != static_cast<int32_t>(VideoStateType::TYPE_VOICE) && in AnswerCallPolicy()
113 videoState != static_cast<int32_t>(VideoStateType::TYPE_VIDEO)) { in AnswerCallPolicy()
Dims_call.cpp40 VideoStateType videoStateType = GetVideoStateType(); in InitVideoCall()
75 VideoStateType videoStateType = GetVideoStateType(); in InitVideoCall()
81 void IMSCall::AssignVideoCallState(VideoStateType videoStateType) in AssignVideoCallState()
84 case VideoStateType::TYPE_VOICE: in AssignVideoCallState()
87 case VideoStateType::TYPE_SEND_ONLY: in AssignVideoCallState()
90 case VideoStateType::TYPE_RECEIVE_ONLY: in AssignVideoCallState()
93 case VideoStateType::TYPE_VIDEO: in AssignVideoCallState()
Dcall_control_manager.cpp128 extras.PutIntValue("videoState", (int32_t)VideoStateType::TYPE_VOICE); in DialCall()
130 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialCall()
131 if (videoState == VideoStateType::TYPE_VIDEO) { in DialCall()
158 dialSrcInfo_.videoState = (VideoStateType)extras.GetIntValue("videoState"); in PackageDialInformation()
183 call->SetVideoStateType(static_cast<VideoStateType>(videoState)); in AnswerCall()
Dcall_status_manager.cpp59 priorVideoState_[i] = VideoStateType::TYPE_VOICE; in Init()
760 if (videoState == static_cast<int32_t>(VideoStateType::TYPE_VIDEO)) { in AutoHandleForDsda()
883 VideoStateType videoState = call->GetVideoStateType(); in UpdateCallState()
921 priorVideoState_[slotId] = VideoStateType::TYPE_VOICE; in UpdateCallState()
975 VideoStateType videoState = call->GetVideoStateType(); in SetOriginalCallTypeForActiveState()
1007 call->SetOriginalCallType(static_cast<int32_t>(VideoStateType::TYPE_VOICE)); in SetOriginalCallTypeForDisconnectState()
Dcall_base.cpp343 VideoStateType CallBase::GetVideoStateType() in GetVideoStateType()
349 void CallBase::SetVideoStateType(VideoStateType mediaType) in SetVideoStateType()
Dcall_request_process.cpp216 if (videoState != static_cast<int32_t>(VideoStateType::TYPE_VOICE)) { in NeedAnswerVTAndEndActiveVO()
226 if (videoState != static_cast<int32_t>(VideoStateType::TYPE_VOICE)) { in NeedAnswerVOAndEndActiveVT()
232 … if ((activeCall != nullptr && activeCall->GetVideoStateType() != VideoStateType::TYPE_VOICE && in NeedAnswerVOAndEndActiveVT()
234 … (holdingCall != nullptr && holdingCall->GetVideoStateType() != VideoStateType::TYPE_VOICE && in NeedAnswerVOAndEndActiveVT()
/base/telephony/call_manager/services/call/include/
Dcommon_type.h36 videoState(VideoStateType::TYPE_VOICE), callType(CallType::TYPE_ERR_CALL), in DialParaInfo()
43 VideoStateType videoState = VideoStateType::TYPE_VOICE;
Dcall_base.h82 VideoStateType GetVideoStateType();
83 void SetVideoStateType(VideoStateType mediaType);
129 VideoStateType videoState_;
Dims_call.h74 void AssignVideoCallState(VideoStateType videoStateType);
Dcall_status_manager.h98 VideoStateType priorVideoState_[SLOT_NUM];
/base/telephony/call_manager/interfaces/innerkits/
Dcall_manager_info.h131 VideoStateType callMode = VideoStateType::TYPE_VOICE;
194 VideoStateType videoState = VideoStateType::TYPE_VOICE;
275 VideoStateType videoState = VideoStateType::TYPE_VOICE;
368 VideoStateType callMode = VideoStateType::TYPE_VOICE;
Dcall_manager_inner_type.h702 VideoStateType videoState = VideoStateType::TYPE_VOICE;
720 VideoStateType videoState = VideoStateType::TYPE_VOICE;
Dcall_manager_base.h214 enum class VideoStateType { enum
/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_records_manager.cpp180 if (static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_SEND_ONLY || in IsVideoCall()
181 static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_RECEIVE_ONLY || in IsVideoCall()
182 static_cast<VideoStateType>(videoState) == VideoStateType::TYPE_VIDEO) { in IsVideoCall()
/base/telephony/call_manager/test/fuzztest/call_fuzzer/
Dcall_fuzzer.cpp56 dialParaInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in CSCallFunc()
64 VideoStateType mediaType = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); 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()
188 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSCallFunc()
274 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSVideoCallFunc()
316 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSVideoCallWindowFunc()
346 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttCallFunc()
390 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttVideoCallFunc()
429 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttVideoCallWindowFunc()
[all …]
/base/telephony/call_manager/services/audio/include/
Daudio_control_manager.h77 … sptr<CallBase> &callObjectPtr, VideoStateType priorVideoState, VideoStateType nextVideoState);
81 bool IsVideoCall(VideoStateType videoState);
/base/telephony/call_manager/services/audio/src/
Daudio_control_manager.cpp110 sptr<CallBase> &callObjectPtr, VideoStateType priorVideoState, VideoStateType nextVideoState) in VideoStateUpdated()
519 if (liveCall != nullptr && liveCall->GetVideoStateType() == VideoStateType::TYPE_VIDEO) { in GetInitAudioDeviceType()
822 bool AudioControlManager::IsVideoCall(VideoStateType videoState) in IsVideoCall()
824 …return videoState == VideoStateType::TYPE_SEND_ONLY || videoState == VideoStateType::TYPE_RECEIVE_… in IsVideoCall()
825 videoState == VideoStateType::TYPE_VIDEO; in IsVideoCall()
/base/telephony/cellular_call/services/control/src/
Dims_control.cpp488 callReportInfo.callMode = VideoStateType::TYPE_VOICE; in EncapsulationCallReportInfo()
491 callReportInfo.callMode = VideoStateType::TYPE_SEND_ONLY; in EncapsulationCallReportInfo()
494 callReportInfo.callMode = VideoStateType::TYPE_RECEIVE_ONLY; in EncapsulationCallReportInfo()
497 callReportInfo.callMode = VideoStateType::TYPE_VIDEO; in EncapsulationCallReportInfo()
500 callReportInfo.callMode = VideoStateType::TYPE_VOICE; in EncapsulationCallReportInfo()
605 … static_cast<bool>(info.callType) ? VideoStateType::TYPE_VIDEO : VideoStateType::TYPE_VOICE; in ReportHangUp()
Dsatellite_control.cpp265 callReportInfo.callMode = VideoStateType::TYPE_VOICE; in EncapsulationCallReportInfo()
353 satelliteCallReportInfo.callMode = VideoStateType::TYPE_VOICE; in ReportHangUp()
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp124 updateCallInfo_.videoState = VideoStateType::TYPE_VOICE; in Init()
183 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
194 …SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
220 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
226 …SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
248 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
258 …SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
284 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
295 …SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
320 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
[all …]
Dzero_branch_test_call_state.cpp325 …audioControl->VideoStateUpdated(callObjectPtr, VideoStateType::TYPE_VOICE, VideoStateType::TYPE_VI…
328 ASSERT_TRUE(audioControl->IsVideoCall(VideoStateType::TYPE_RECEIVE_ONLY));
740 …voipCallConnection->AnswerCall(voipCallEventInfo, static_cast<int32_t>(VideoStateType::TYPE_VOICE)…
/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/
Dsetorupdatecallreportinfo_fuzzer.cpp53 callReportInfo.callMode = VideoStateType::TYPE_VIDEO; in DoSomethingInterestingWithMyAPI()
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
Daudiodevice_fuzzer.cpp48 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in AudioControlManagerFunc()
/base/telephony/call_manager/test/fuzztest/formatphonenumber_fuzzer/
Dformatphonenumber_fuzzer.cpp99 info.videoState = VideoStateType::TYPE_VOICE; in ReportOttCallDetailsInfo()
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_call_service.cpp51 VideoStateType videoState = call->GetVideoStateType(); in AnswerCall()

12