/base/telephony/call_manager/services/audio/src/ |
D | call_state_processor.cpp | 35 void CallStateProcessor::AddCall(const std::string &phoneNum, TelCallState state) in AddCall() argument 39 if (dialingCalls_.count(phoneNum) == EMPTY_VALUE) { in AddCall() 41 dialingCalls_.insert(phoneNum); in AddCall() 45 if (alertingCalls_.count(phoneNum) == EMPTY_VALUE) { in AddCall() 47 alertingCalls_.insert(phoneNum); in AddCall() 51 if (incomingCalls_.count(phoneNum) == EMPTY_VALUE) { in AddCall() 53 incomingCalls_.insert(phoneNum); in AddCall() 57 if (activeCalls_.count(phoneNum) == EMPTY_VALUE) { in AddCall() 59 activeCalls_.insert(phoneNum); in AddCall() 63 if (holdingCalls_.count(phoneNum) == EMPTY_VALUE) { in AddCall() [all …]
|
D | audio_control_manager.cpp | 237 bool AudioControlManager::PlayRingtone(const std::string &phoneNum) in PlayRingtone() argument 239 if (!IsNumberAllowed(phoneNum)) { in PlayRingtone() 260 bool AudioControlManager::PlayRingtone(const std::string &phoneNum, const std::string &ringtonePath) in PlayRingtone() argument 262 if (!IsNumberAllowed(phoneNum)) { in PlayRingtone() 432 sptr<CallBase> AudioControlManager::GetCallBase(const std::string &phoneNum) const in GetCallBase() 435 if (phoneNum.empty()) { in GetCallBase() 439 if (call->GetAccountNumber() == phoneNum) { in GetCallBase() 477 bool AudioControlManager::IsNumberAllowed(const std::string &phoneNum) in IsNumberAllowed() argument
|
/base/telephony/cellular_call/services/connection/src/ |
D | cellular_call_connection_ims.cpp | 36 size_t cpyLen = strlen(dialRequest.phoneNum.c_str()) + 1; in DialRequest() 40 if (strcpy_s(callInfo.phoneNum, cpyLen, dialRequest.phoneNum.c_str()) != EOK) { in DialRequest() 57 int32_t CellularCallConnectionIMS::HangUpRequest(int32_t slotId, const std::string &phoneNum, int32… in HangUpRequest() argument 66 if (static_cast<int32_t>(phoneNum.length() + 1) > kMaxNumberLength) { in HangUpRequest() 69 if (strcpy_s(callInfo.phoneNum, strlen(phoneNum.c_str()) + 1, phoneNum.c_str()) != EOK) { in HangUpRequest() 89 int32_t slotId, const std::string &phoneNum, int32_t videoState, int32_t index) in AnswerRequest() argument 98 if (static_cast<int32_t>(phoneNum.length() + 1) > kMaxNumberLength) { in AnswerRequest() 101 if (strcpy_s(callInfo.phoneNum, strlen(phoneNum.c_str()) + 1, phoneNum.c_str()) != EOK) { in AnswerRequest() 120 int32_t CellularCallConnectionIMS::RejectRequest(int32_t slotId, const std::string &phoneNum, int32… in RejectRequest() argument 129 if (static_cast<int32_t>(phoneNum.length() + 1) > kMaxNumberLength) { in RejectRequest() [all …]
|
/base/telephony/cellular_call/services/common/src/ |
D | emergency_utils.cpp | 26 int32_t EmergencyUtils::IsEmergencyCall(int32_t slotId, const std::string &phoneNum, bool &enabled) in IsEmergencyCall() argument 28 if (phoneNum.empty()) { in IsEmergencyCall() 33 if (phoneNum.find('@') != std::string::npos || phoneNum.find("%40") != std::string::npos) { in IsEmergencyCall() 38 if (phoneNum.front() == '+') { in IsEmergencyCall() 43 return IsEmergencyCallProcessing(slotId, phoneNum, enabled); in IsEmergencyCall()
|
/base/telephony/cellular_call/test/fuzztest/answerrequest_fuzzer/ |
D | answerrequest_fuzzer.cpp | 37 std::string phoneNum(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 43 numberList.push_back(phoneNum); in DoSomethingInterestingWithMyAPI() 44 cellularCallConnectionIMS->HangUpRequest(slotId, phoneNum, index); in DoSomethingInterestingWithMyAPI() 45 cellularCallConnectionIMS->AnswerRequest(slotId, phoneNum, videoState, index); in DoSomethingInterestingWithMyAPI() 46 cellularCallConnectionIMS->RejectRequest(slotId, phoneNum, index); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/call_manager/services/call/src/ |
D | call_incoming_filter_manager.cpp | 48 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in PackCellularCallInfo() 52 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, info.phoneNum, kMaxNumberLen) != EOK) { in PackCellularCallInfo() 79 if (std::find(phones_.begin(), phones_.end(), std::string(info.phoneNum)) != phones_.end()) { in doIncomingFilter()
|
D | call_status_policy.cpp | 33 std::string numberStr(info.phoneNum); in IncomingHandlePolicy() 48 std::string number(info.phoneNum); in DialingHandlePolicy()
|
D | call_status_manager.cpp | 124 if (strcmp(it.phoneNum, it1.phoneNum) == 0) { in HandleCallsReportInfo() 144 if (strcmp(it2.phoneNum, it3.phoneNum) == 0) { in HandleCallsReportInfo() 189 …if (memcpy_s(eventInfo.phoneNum, kMaxNumberLen, dialInfo.number.c_str(), dialInfo.number.length())… in HandleEventResultReportInfo() 258 QueryCallerInfo(contactInfo, std::string(info.phoneNum)); in IncomingHandle() 274 void CallStatusManager::QueryCallerInfo(ContactInfo &contactInfo, std::string phoneNum) in QueryCallerInfo() argument 283 predicates.EqualTo(DETAIL_INFO, phoneNum); in QueryCallerInfo() 359 std::string tmpStr(info.phoneNum); in ActiveHandle() 392 std::string tmpStr(info.phoneNum); in HoldingHandle() 419 std::string tmpStr(info.phoneNum); in AlertHandle() 442 std::string tmpStr(info.phoneNum); in DisconnectingHandle() [all …]
|
/base/telephony/cellular_call/test/fuzztest/setorupdatecallreportinfo_fuzzer/ |
D | setorupdatecallreportinfo_fuzzer.cpp | 43 std::string phoneNum = "000000000"; in DoSomethingInterestingWithMyAPI() local 46 phoneNum = tempNum; in DoSomethingInterestingWithMyAPI() 48 size_t length = strlen(phoneNum.c_str()) + 1; in DoSomethingInterestingWithMyAPI() 56 if (strcpy_s(callReportInfo.accountNum, length, phoneNum.c_str()) != EOK) { in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/test/fuzztest/dialrequest_fuzzer/ |
D | dialrequest_fuzzer.cpp | 38 std::string phoneNum(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 40 dialRequest.phoneNum = phoneNum; in DoSomethingInterestingWithMyAPI()
|
/base/telephony/cellular_call/services/control/src/ |
D | ims_control.cpp | 44 std::string newPhoneNum(callInfo.phoneNum); in Dial() 58 int32_t IMSControl::DialJudgment(int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, i… in DialJudgment() argument 77 return EncapsulateDial(slotId, phoneNum, clirMode, videoState); in DialJudgment() 81 int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, int32_t videoState) const in EncapsulateDial() argument 89 emergencyUtils.IsEmergencyCall(slotId, phoneNum, dialInfo.bEmergencyCall); in EncapsulateDial() 97 dialInfo.phoneNum = phoneNum; in EncapsulateDial() 121 …ConnectionData<ImsConnectionMap &, CellularCallConnectionIMS *>(connectionMap_, callInfo.phoneNum); in HangUp() 136 return pConnection->HangUpRequest(callInfo.slotId, callInfo.phoneNum, callInfo.index); in HangUp() 149 return connection.RejectRequest(callInfo.slotId, callInfo.phoneNum, callInfo.index); in HangUp() 162 …ConnectionData<ImsConnectionMap &, CellularCallConnectionIMS *>(connectionMap_, callInfo.phoneNum); in Answer() [all …]
|
D | cs_control.cpp | 60 std::string newPhoneNum = standardizeUtils.RemoveSeparatorsPhoneNumber(callInfo.phoneNum); in DialCdma() 89 std::string newPhoneNum = standardizeUtils.RemoveSeparatorsPhoneNumber(callInfo.phoneNum); in DialGsm() 119 int32_t CSControl::EncapsulateDialCommon(int32_t slotId, const std::string &phoneNum, CLIRMode &cli… in EncapsulateDialCommon() argument 128 dialRequest.phoneNum = phoneNum; in EncapsulateDialCommon() 154 …etConnectionData<CsConnectionMap &, CellularCallConnectionCS *>(connectionMap_, callInfo.phoneNum); in HangUp() 207 …etConnectionData<CsConnectionMap &, CellularCallConnectionCS *>(connectionMap_, callInfo.phoneNum); in Answer() 263 …etConnectionData<CsConnectionMap &, CellularCallConnectionCS *>(connectionMap_, callInfo.phoneNum); in Reject()
|
/base/telephony/call_manager/services/audio/include/ |
D | audio_control_manager.h | 41 bool PlayRingtone(const std::string &phoneNum); // plays the default ringtone 42 …bool PlayRingtone(const std::string &phoneNum, const std::string &ringtonePath); // plays the spec… 81 bool IsNumberAllowed(const std::string &phoneNum); 83 sptr<CallBase> GetCallBase(const std::string &phoneNum) const;
|
D | call_state_processor.h | 34 void AddCall(const std::string &phoneNum, TelCallState state); 35 void DeleteCall(const std::string &phoneNum, TelCallState state);
|
/base/telephony/cellular_call/services/connection/include/ |
D | cellular_call_connection_ims.h | 54 int32_t HangUpRequest(int32_t slotId, const std::string &phoneNum, int32_t index); 65 …int32_t AnswerRequest(int32_t slotId, const std::string &phoneNum, int32_t videoState, int32_t ind… 75 int32_t RejectRequest(int32_t slotId, const std::string &phoneNum, int32_t index);
|
/base/telephony/call_manager/interfaces/innerkits/ |
D | call_manager_inner_type.h | 191 char phoneNum[kMaxNumberLen + 1]; member 501 char phoneNum[kMaxNumberLen]; // call phone number member 619 char phoneNum[kMaxNumberLen + 1]; member 624 char phoneNum[kMaxNumberLen + 1]; member 695 char phoneNum[kMaxNumberLen + 1]; // call phone number member 701 char phoneNum[kMaxNumberLen + 1]; // call phone number member 718 char phoneNum[kMaxNumberLen + 1]; // call phone number member
|
/base/telephony/call_manager/services/telephony_interaction/include/ |
D | cellular_call_connection.h | 111 int IsEmergencyPhoneNumber(const std::string &phoneNum, int32_t slotId, bool &enabled); 158 int SendDtmf(char cDTMFCode, const std::string &phoneNum); 171 …int SendDtmfString(const std::string &dtmfCodeStr, const std::string &phoneNum, PhoneNetType phone…
|
/base/telephony/cellular_call/services/common/include/ |
D | emergency_utils.h | 45 int32_t IsEmergencyCall(int32_t slotId, const std::string &phoneNum, bool &enabled);
|
D | standardize_utils.h | 43 std::string RemoveSeparatorsPhoneNumber(const std::string &phoneNum);
|
/base/telephony/cellular_call/services/control/include/ |
D | ims_control.h | 199 …int32_t DialJudgment(int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, int32_t vide… 209 …int32_t EncapsulateDial(int32_t slotId, const std::string &phoneNum, CLIRMode &clirMode, int32_t v…
|
D | control_base.h | 339 … auto pConnection = GetConnectionData<T &, decltype(&t.begin()->second)>(t, callInfo.phoneNum); in StartDtmf() 379 … auto pConnection = GetConnectionData<T &, decltype(&t.begin()->second)>(t, callInfo.phoneNum); in StopDtmf() 427 … auto pConnection = GetConnectionData<T &, decltype(&t.begin()->second)>(t, callInfo.phoneNum); in SendDtmf()
|
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/ |
D | audiodevice_fuzzer.cpp | 158 std::string phoneNum(reinterpret_cast<const char *>(data), size); in AudioProxyFunc() 162 audioControlManager->GetCallBase(phoneNum); in AudioProxyFunc() 197 std::string phoneNum(reinterpret_cast<const char *>(data), size); in AudioSceneProcessorFunc() 199 audioControlManager->IsNumberAllowed(phoneNum); in AudioSceneProcessorFunc()
|
/base/telephony/cellular_call/vendor/ims/test/ui_client/ |
D | ims_unit_test.cpp | 143 std::cin >> callInfo.phoneNum; in Dial() 160 std::cin >> callInfo.phoneNum; in HangUp() 178 std::cin >> callInfo.phoneNum; in RejectWithReason() 196 std::cin >> callInfo.phoneNum; in Answer() 258 std::string phoneNum; in InviteToConference() local 259 std::cin >> phoneNum; in InviteToConference() 260 numberList.push_back(phoneNum); in InviteToConference() 272 std::string phoneNum; in KickOutFromConference() local 273 std::cin >> phoneNum; in KickOutFromConference() 274 numberList.push_back(phoneNum); in KickOutFromConference() [all …]
|
/base/telephony/sms_mms/services/ |
D | sms_persist_helper.cpp | 107 bool SmsPersistHelper::QueryBlockPhoneNumber(const std::string &phoneNum) in QueryBlockPhoneNumber() argument 112 if (phoneNum.empty()) { in QueryBlockPhoneNumber() 123 predicates.EqualTo(phoneNumber, phoneNum); in QueryBlockPhoneNumber()
|
/base/telephony/cellular_call/test/fuzztest/imsclient_fuzzer/ |
D | imsclient_fuzzer.cpp | 55 size_t length = std::min(static_cast<size_t>(sizeof(callInfo.phoneNum) - 1), size); in TestImsCallClientWithCallInfo() 62 if (strcpy_s(callInfo.phoneNum, sizeof(callInfo.phoneNum), number.c_str()) != EOK) { in TestImsCallClientWithCallInfo() 172 size_t length = std::min(static_cast<size_t>(sizeof(callInfo.phoneNum) - 1), size); in TestImsCallProxyWithCallInfo() 179 if (strcpy_s(callInfo.phoneNum, sizeof(callInfo.phoneNum), number.c_str()) != EOK) { in TestImsCallProxyWithCallInfo()
|