Home
last modified time | relevance | path

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

123

/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager2_gtest.cpp120 updateCallInfo_.videoState = VideoStateType::TYPE_VOICE; in Init()
335 …SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
346 …SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, (int32_t)DialType::DIAL_CARRIER…
558 …InitDialInfo(INVALID_SLOT_ID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
582 InitDialInfo(slotId, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
665 …InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, INVALID_DIAL_TYPE);
671 …InitDialInfo(SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, DIAL_SCENE_TEST, INVALID_DIAL_TYPE);
727 … InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
738 … InitDialInfo(SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
799 InitDialInfo(slotId, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
[all …]
H A Dcall_manager1_gtest.cpp120 updateCallInfo_.videoState = VideoStateType::TYPE_VOICE; in Init()
250 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
267 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
318 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
425 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
442 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
494 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
598 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
646 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
703 InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
[all …]
H A Dcall_manager4_gtest.cpp120 updateCallInfo_.videoState = VideoStateType::TYPE_VOICE; in Init()
184 …0, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL, (int32_t)DialType::DIAL_C…
614 InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
693 InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
758 … InitDialInfo(SIM1_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
775 … InitDialInfo(SIM2_SLOTID, (int32_t)VideoStateType::TYPE_VOICE, (int32_t)DialScene::CALL_NORMAL,
/ohos5.0/base/telephony/call_manager/services/call/src/
H A Dcall_policy.cpp58 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialPolicy()
59 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in DialPolicy()
160 int32_t CallPolicy::IsVoiceCallValid(VideoStateType videoState) in IsVoiceCallValid()
162 if (videoState == VideoStateType::TYPE_VOICE) { in IsVoiceCallValid()
164 if (ringCall != nullptr && ringCall->GetVideoStateType() == VideoStateType::TYPE_VOICE && in IsVoiceCallValid()
185 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in CanDialMulityCall()
186 if (videoState == VideoStateType::TYPE_VIDEO && HasCellularCallExist()) { in CanDialMulityCall()
190 if (!isEcc && videoState == VideoStateType::TYPE_VOICE && HasVideoCall()) { in CanDialMulityCall()
213 if (videoState != static_cast<int32_t>(VideoStateType::TYPE_VOICE) && in AnswerCallPolicy()
214 videoState != static_cast<int32_t>(VideoStateType::TYPE_VIDEO)) { in AnswerCallPolicy()
H A 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()
H A Dcall_status_manager.cpp71 priorVideoState_[i] = VideoStateType::TYPE_VOICE; in Init()
493 VideoStateType originalType = call->GetVideoStateType(); in OutgoingVoipCallHandle()
709 VideoStateType originalType = call->GetVideoStateType(); in ActiveVoipCallHandle()
933 if (videoState == static_cast<int32_t>(VideoStateType::TYPE_VIDEO)) { in AutoHandleForDsda()
1071 VideoStateType videoState = call->GetVideoStateType(); in UpdateCallState()
1114 VideoStateType videoState = call->GetVideoStateType(); in SetVideoCallState()
1123 priorVideoState_[slotId] = VideoStateType::TYPE_VOICE; in SetVideoCallState()
1185 VideoStateType videoState = call->GetVideoStateType(); in SetOriginalCallTypeForActiveState()
1218 call->SetOriginalCallType(static_cast<int32_t>(VideoStateType::TYPE_VOICE)); in SetOriginalCallTypeForDisconnectState()
H A Dcall_control_manager.cpp157 extras.PutIntValue("videoState", (int32_t)VideoStateType::TYPE_VOICE); in DialCall()
159 VideoStateType videoState = (VideoStateType)extras.GetIntValue("videoState"); in DialCall()
160 if (videoState == VideoStateType::TYPE_VIDEO) { in DialCall()
202 dialSrcInfo_.videoState = (VideoStateType)extras.GetIntValue("videoState"); in PackageDialInformation()
283 call->SetVideoStateType(static_cast<VideoStateType>(videoState)); in AnswerHandlerForSatelliteOrVideoCall()
/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch1_test.cpp268 static_cast<int>(VideoStateType::TYPE_VIDEO));
270 static_cast<int>(VideoStateType::TYPE_VOICE));
308 static_cast<int>(VideoStateType::TYPE_VIDEO));
316 static_cast<int>(VideoStateType::TYPE_VIDEO));
371 csCall->SetVideoStateType(VideoStateType::TYPE_VIDEO);
701 callPolicy.IsVoiceCallValid(VideoStateType::TYPE_VIDEO);
702 callPolicy.IsVoiceCallValid(VideoStateType::TYPE_VOICE);
703 call->SetVideoStateType(VideoStateType::TYPE_VIDEO);
704 callPolicy.IsVoiceCallValid(VideoStateType::TYPE_VOICE);
707 call->SetVideoStateType(VideoStateType::TYPE_VOICE);
[all …]
/ohos5.0/base/telephony/call_manager/services/audio/include/
H A Daudio_control_manager.h78 … sptr<CallBase> &callObjectPtr, VideoStateType priorVideoState, VideoStateType nextVideoState);
79 void CheckTypeAndSetAudioDevice(sptr<CallBase> &callObjectPtr, VideoStateType priorVideoState,
80 VideoStateType nextVideoState, AudioDeviceType &initDeviceType, AudioDevice &device);
85 bool IsVideoCall(VideoStateType videoState);
/ohos5.0/base/telephony/call_manager/interfaces/innerkits/
H A Dcall_manager_info.h162 VideoStateType callMode = VideoStateType::TYPE_VOICE;
229 VideoStateType videoState = VideoStateType::TYPE_VOICE;
339 VideoStateType videoState = VideoStateType::TYPE_VOICE;
463 VideoStateType callMode = VideoStateType::TYPE_VOICE;
H A Dcall_manager_inner_type.h704 VideoStateType videoState = VideoStateType::TYPE_VOICE;
722 VideoStateType videoState = VideoStateType::TYPE_VOICE;
H A Dcall_manager_base.h226 enum class VideoStateType { enum
/ohos5.0/base/telephony/call_manager/services/call/include/
H A Dcommon_type.h37 videoState(VideoStateType::TYPE_VOICE), callType(CallType::TYPE_ERR_CALL), in DialParaInfo()
44 VideoStateType videoState = VideoStateType::TYPE_VOICE;
H A Dcall_base.h83 VideoStateType GetVideoStateType();
84 void SetVideoStateType(VideoStateType mediaType);
139 VideoStateType videoState_;
H A Dcall_status_manager.h113 VideoStateType priorVideoState_[SLOT_NUM] = {VideoStateType::TYPE_VOICE};
H A Dcall_policy.h68 int32_t IsVoiceCallValid(VideoStateType videoState);
H A Dims_call.h75 void AssignVideoCallState(VideoStateType videoStateType);
/ohos5.0/base/telephony/call_manager/test/fuzztest/call_fuzzer/
H A 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()
190 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSCallFunc()
276 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSVideoCallFunc()
318 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in IMSVideoCallWindowFunc()
348 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttCallFunc()
392 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttVideoCallFunc()
431 paraInfo.videoState = static_cast<VideoStateType>(size % VIDIO_TYPE_NUM); in OttVideoCallWindowFunc()
[all …]
/ohos5.0/base/telephony/call_manager/services/call/call_state_observer/src/
H A Dcall_records_manager.cpp273 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/call_manager/services/audio/src/
H A Daudio_control_manager.cpp140 sptr<CallBase> &callObjectPtr, VideoStateType priorVideoState, VideoStateType nextVideoState) in VideoStateUpdated()
170 void AudioControlManager::CheckTypeAndSetAudioDevice(sptr<CallBase> &callObjectPtr, VideoStateType in CheckTypeAndSetAudioDevice()
171 VideoStateType nextVideoState, AudioDeviceType &initDeviceType, AudioDevice &device) in CheckTypeAndSetAudioDevice()
260 if (dialingCall->GetVideoStateType() == VideoStateType::TYPE_VIDEO) { in UpdateDeviceTypeForVideoDialing()
645 if (liveCall != nullptr && (liveCall->GetVideoStateType() == VideoStateType::TYPE_VIDEO || in GetInitAudioDeviceType()
1013 bool AudioControlManager::IsVideoCall(VideoStateType videoState) in IsVideoCall()
1015 …return videoState == VideoStateType::TYPE_SEND_ONLY || videoState == VideoStateType::TYPE_RECEIVE_… in IsVideoCall()
1016 videoState == VideoStateType::TYPE_VIDEO; in IsVideoCall()
/ohos5.0/base/telephony/call_manager/services/bluetooth/src/
H A Dbluetooth_call_service.cpp55 VideoStateType videoState = call->GetVideoStateType(); in AnswerCall()
56 if (videoState != VideoStateType::TYPE_VOICE && videoState != VideoStateType::TYPE_VIDEO) { in AnswerCall()
58 videoState = static_cast<VideoStateType>(call->GetOriginalCallType()); in AnswerCall()
/ohos5.0/base/telephony/cellular_call/services/control/src/
H A Dims_control.cpp508 callReportInfo.callMode = VideoStateType::TYPE_VOICE; in EncapsulationCallReportInfo()
511 callReportInfo.callMode = VideoStateType::TYPE_SEND_ONLY; in EncapsulationCallReportInfo()
514 callReportInfo.callMode = VideoStateType::TYPE_RECEIVE_ONLY; in EncapsulationCallReportInfo()
517 callReportInfo.callMode = VideoStateType::TYPE_VIDEO; in EncapsulationCallReportInfo()
520 callReportInfo.callMode = VideoStateType::TYPE_VOICE; in EncapsulationCallReportInfo()
631 … static_cast<bool>(info.callType) ? VideoStateType::TYPE_VIDEO : VideoStateType::TYPE_VOICE; in ReportHangUp()
/ohos5.0/base/telephony/call_manager/frameworks/js/napi/src/
H A Dcall.js148 VideoStateType: call.VideoStateType,
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/
H A Dsetorupdatecallreportinfo_fuzzer.cpp53 callReportInfo.callMode = VideoStateType::TYPE_VIDEO; in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/telephony/call_manager/frameworks/native/src/
H A Dnative_call_manager_utils.cpp30 info.videoState = static_cast<VideoStateType>(messageParcel.ReadInt32()); in ReadCallAttributeInfo()

123