/base/telephony/call_manager/interfaces/innerkits/ |
D | call_manager_inner_type.h | 26 constexpr int16_t kMaxNumberLen = 100; variable 149 char accountNumber[kMaxNumberLen + 1]; 170 char phoneNumber[kMaxNumberLen + 1]; 171 char formattedPhoneNumber[kMaxNumberLen + 1]; 191 char phoneNum[kMaxNumberLen + 1]; 198 char bundleName[kMaxNumberLen + 1]; 204 char accountNum[kMaxNumberLen + 1]; // call phone number 449 char message[kMaxNumberLen + 1]; 457 char number[kMaxNumberLen + 1]; 501 char phoneNum[kMaxNumberLen]; // call phone number [all …]
|
/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()
|
D | call_request_process.cpp | 47 if (info.number.length() > static_cast<size_t>(kMaxNumberLen)) { in DialRequest() 57 (void)memset_s(eventInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen); in DialRequest() 59 … (void)memcpy_s(eventInfo.phoneNum, kMaxNumberLen, info.number.c_str(), info.number.length()); in DialRequest() 334 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in PackCellularCallInfo() 338 if (info.number.length() > static_cast<size_t>(kMaxNumberLen)) { in PackCellularCallInfo() 342 …if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, info.number.c_str(), info.number.length()) != EOK) { in PackCellularCallInfo() 351 char number[kMaxNumberLen + 1] = { 0 }; in IsFdnNumber() 354 if (i >= kMaxNumberLen) { in IsFdnNumber()
|
D | carrier_call.cpp | 268 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in PackCellularCallInfo() 272 if (accountNumber_.length() > static_cast<size_t>(kMaxNumberLen)) { in PackCellularCallInfo() 276 …if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, accountNumber_.c_str(), accountNumber_.length()) !=… in PackCellularCallInfo()
|
D | call_base.cpp | 87 (void)memset_s(info.accountNumber, kMaxNumberLen, 0, kMaxNumberLen); in GetCallAttributeBaseInfo() 88 if (accountNumber_.length() > static_cast<size_t>(kMaxNumberLen)) { in GetCallAttributeBaseInfo() 92 …if (memcpy_s(info.accountNumber, kMaxNumberLen, accountNumber_.c_str(), accountNumber_.length()) =… in GetCallAttributeBaseInfo()
|
D | ott_call.cpp | 330 if (accountNumber_.length() > static_cast<size_t>(kMaxNumberLen)) { in PackOttCallRequestInfo() 334 …if (memcpy_s(requestInfo.phoneNum, kMaxNumberLen, accountNumber_.c_str(), accountNumber_.length())… in PackOttCallRequestInfo()
|
D | call_status_manager.cpp | 185 if (dialInfo.number.length() > static_cast<size_t>(kMaxNumberLen)) { in HandleEventResultReportInfo() 189 …if (memcpy_s(eventInfo.phoneNum, kMaxNumberLen, dialInfo.number.c_str(), dialInfo.number.length())… in HandleEventResultReportInfo() 208 if (strlen(info.bundleName) > static_cast<size_t>(kMaxNumberLen)) { in HandleOttEventReportInfo() 212 …if (memcpy_s(eventInfo.bundleName, kMaxNumberLen, info.bundleName, strlen(info.bundleName)) != EOK… in HandleOttEventReportInfo()
|
D | call_policy.cpp | 368 if (numberList[index].length() > kMaxNumberLen) { in InviteToConferencePolicy()
|
/base/telephony/cellular_call/test/fuzztest/registercallmanagercallback_fuzzer/ |
D | registercallmanagercallback_fuzzer.cpp | 58 int32_t length = number.length() > kMaxNumberLen ? kMaxNumberLen : number.length(); in ReportCallsInfo() 59 if (memcpy_s(callReportInfo.accountNum, kMaxNumberLen, number.c_str(), length) != EOK) { in ReportCallsInfo() 103 int32_t length = number.length() > kMaxNumberLen ? kMaxNumberLen : number.length(); in ReportSetRestrictionResult() 104 if (memcpy_s(callTransferResponse.number, kMaxNumberLen, number.c_str(), length) != EOK) { in ReportSetRestrictionResult() 156 int32_t length = number.length() > kMaxNumberLen ? kMaxNumberLen : number.length(); in ReportSetImsConfigResult() 157 if (memcpy_s(mmiCodeInfo.message, kMaxNumberLen, number.c_str(), length) != EOK) { in ReportSetImsConfigResult()
|
/base/telephony/call_manager/services/call/call_state_observer/src/ |
D | call_records_manager.cpp | 73 if (strlen(info.accountNumber) > static_cast<size_t>(kMaxNumberLen)) { in AddOneCallRecord() 77 …errno_t result = memcpy_s(data.phoneNumber, kMaxNumberLen, info.accountNumber, strlen(info.account… in AddOneCallRecord() 102 if (tmpStr.length() > static_cast<size_t>(kMaxNumberLen)) { in AddOneCallRecord() 106 if (memcpy_s(data.formattedPhoneNumber, kMaxNumberLen, tmpStr.c_str(), tmpStr.length()) != 0) { in AddOneCallRecord()
|
/base/telephony/cellular_call/test/unittest/imstest/ |
D | ims_test.h | 170 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in InitCellularCallInfo() 173 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 176 …if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
D | cs_test.h | 171 if (memset_s(callInfo.phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in InitCellularCallInfo() 174 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 177 …if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
/base/telephony/cellular_call/services/common/include/ |
D | cellular_call_data_struct.h | 274 char sdpMd[kMaxNumberLen]; 280 char number[kMaxNumberLen];
|
/base/telephony/call_manager/test/fuzztest/call_fuzzer/ |
D | call_fuzzer.cpp | 199 int32_t length = msg.length() > kMaxNumberLen ? kMaxNumberLen : msg.length(); in IMSCallFunc() 200 if (memcpy_s(response.phoneNum, kMaxNumberLen, msg.c_str(), length) != EOK) { in IMSCallFunc() 252 int32_t length = msg.length() > kMaxNumberLen ? kMaxNumberLen : msg.length(); in OttCallFunc() 253 if (memcpy_s(response.phoneNum, kMaxNumberLen, msg.c_str(), length) != EOK) { in OttCallFunc()
|
/base/telephony/call_manager/services/call/include/ |
D | common_type.h | 78 char number[kMaxNumberLen];
|
/base/telephony/call_manager/frameworks/js/napi/include/ |
D | napi_call_manager_types.h | 57 char number[kMaxNumberLen + 1]; 155 char path[kMaxNumberLen + 1];
|
/base/telephony/call_manager/services/telephony_interaction/src/ |
D | call_status_callback.cpp | 41 (void)memcpy_s(detailInfo.phoneNum, kMaxNumberLen, info.accountNum, kMaxNumberLen); in UpdateCallReportInfo() 67 (void)memcpy_s(detailInfo.phoneNum, kMaxNumberLen, (*it).accountNum, kMaxNumberLen); in UpdateCallsReportInfo()
|
D | report_call_info_handler.cpp | 352 if (memcpy_s(para->phoneNum, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in UpdateMediaModeResponse()
|
/base/telephony/core_service/frameworks/js/sim/include/ |
D | napi_sim.h | 30 constexpr size_t kMaxNumberLen = 100; variable
|
/base/telephony/call_manager/test/fuzztest/callnotification_fuzzer/ |
D | callnotification_fuzzer.cpp | 185 length = message.length() > kMaxNumberLen ? kMaxNumberLen : message.length(); in CallDataRdbObserverFunc() 186 if (memcpy_s(contactInfo.number, kMaxNumberLen, message.c_str(), length) != EOK) { in CallDataRdbObserverFunc()
|
/base/telephony/call_manager/test/fuzztest/setcalltransferinfo_fuzzer/ |
D | setcalltransferinfo_fuzzer.cpp | 120 (void)memcpy_s(info.transferNum, kMaxNumberLen, reinterpret_cast<const char *>(data), size); in SetCallTransferInfo()
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 2360 if (strcpy_s(info.password, kMaxNumberLen + 1, "123") != EOK) { 2389 if (strcpy_s(info.password, kMaxNumberLen + 1, "123") != EOK) { 2413 if (strcpy_s(info.password, kMaxNumberLen + 1, "123") != EOK) { 2435 if (strcpy_s(info.password, kMaxNumberLen + 1, "123") != EOK) { 2683 if (strcpy_s(info.transferNum, kMaxNumberLen + 1, "123") != EOK) { 2711 if (strcpy_s(info.transferNum, kMaxNumberLen + 1, "123") != EOK) { 2734 if (strcpy_s(info.transferNum, kMaxNumberLen + 1, "123") != EOK) { 2758 if (strcpy_s(info.transferNum, kMaxNumberLen + 1, "123") != EOK) { 2786 if (strcpy_s(info.transferNum, kMaxNumberLen + 1, "123") != EOK) { 2816 if (strcpy_s(info.transferNum, kMaxNumberLen + 2, [all …]
|
/base/telephony/call_manager/services/call_setting/src/ |
D | call_setting_manager.cpp | 269 if (strlen(info.transferNum) > kMaxNumberLen) { in SetCallTransferInfoPolicy()
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 313 char tmpStr[kMaxNumberLen + 1] = {0}; in PinInfoParaAnalyze() 333 char tmpStr[kMaxNumberLen + 1] = {0}; in PersoLockInfoAnalyze() 961 char tmpStr[kMaxNumberLen + 1] = {0}; in UnlockPin() 1018 char tmpStr1[kMaxNumberLen + 1] = {0}; in UnlockPuk() 1019 char tmpStr2[kMaxNumberLen + 1] = {0}; in UnlockPuk() 1080 char tmpStr1[kMaxNumberLen + 1] = {0}; in AlterPin() 1081 char tmpStr2[kMaxNumberLen + 1] = {0}; in AlterPin() 1434 char tmpStr[kMaxNumberLen + 1] = {0}; in UnlockPin2() 1491 char tmpStr1[kMaxNumberLen + 1] = {0}; in UnlockPuk2() 1492 char tmpStr2[kMaxNumberLen + 1] = {0}; in UnlockPuk2() [all …]
|
/base/telephony/call_manager/services/call_manager_service/src/ |
D | call_manager_service.cpp | 809 (void)memcpy_s(detailInfo.phoneNum, kMaxNumberLen, (*it).phoneNum, kMaxNumberLen); in ReportOttCallDetailsInfo()
|