/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
H A D | call_manager2_gtest.cpp | 120 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 D | call_manager1_gtest.cpp | 120 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 D | call_manager4_gtest.cpp | 120 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 D | call_policy.cpp | 58 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 D | ims_call.cpp | 40 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 D | call_status_manager.cpp | 71 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 D | call_control_manager.cpp | 157 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 D | zero_branch1_test.cpp | 268 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 D | audio_control_manager.h | 78 … 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 D | call_manager_info.h | 162 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 D | call_manager_inner_type.h | 704 VideoStateType videoState = VideoStateType::TYPE_VOICE; 722 VideoStateType videoState = VideoStateType::TYPE_VOICE;
|
H A D | call_manager_base.h | 226 enum class VideoStateType { enum
|
/ohos5.0/base/telephony/call_manager/services/call/include/ |
H A D | common_type.h | 37 videoState(VideoStateType::TYPE_VOICE), callType(CallType::TYPE_ERR_CALL), in DialParaInfo() 44 VideoStateType videoState = VideoStateType::TYPE_VOICE;
|
H A D | call_base.h | 83 VideoStateType GetVideoStateType(); 84 void SetVideoStateType(VideoStateType mediaType); 139 VideoStateType videoState_;
|
H A D | call_status_manager.h | 113 VideoStateType priorVideoState_[SLOT_NUM] = {VideoStateType::TYPE_VOICE};
|
H A D | call_policy.h | 68 int32_t IsVoiceCallValid(VideoStateType videoState);
|
H A D | ims_call.h | 75 void AssignVideoCallState(VideoStateType videoStateType);
|
/ohos5.0/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() 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 D | call_records_manager.cpp | 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/call_manager/services/audio/src/ |
H A D | audio_control_manager.cpp | 140 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 D | bluetooth_call_service.cpp | 55 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 D | ims_control.cpp | 508 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 D | call.js | 148 VideoStateType: call.VideoStateType,
|
/ohos5.0/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/ |
H A D | setorupdatecallreportinfo_fuzzer.cpp | 53 callReportInfo.callMode = VideoStateType::TYPE_VIDEO; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/telephony/call_manager/frameworks/native/src/ |
H A D | native_call_manager_utils.cpp | 30 info.videoState = static_cast<VideoStateType>(messageParcel.ReadInt32()); in ReadCallAttributeInfo()
|