/base/global/i18n/frameworks/intl/test/unittest/mock/src/ |
H A D | phone_number_format_mock.cpp | 35 std::string PhoneNumberFormatMock::getCityName(const std::string& language, const std::string& phonenumber, in getCityName() argument 42 if (!phonenumber.compare(0, prefixLen, "861373193") && !language.compare(0, len, "zh")) { in getCityName() 45 if (!phonenumber.compare(0, prefixLen, "861373163") && !language.compare(0, len, "zh")) { in getCityName()
|
/base/telephony/cellular_call/test/unittest/satellitetest/ |
H A D | satellite_test.h | 145 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 155 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 158 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
H A D | zero_branch_test.cpp | 48 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo); 62 int32_t BranchTest::InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 72 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 75 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs_test.h | 130 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 140 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 143 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
/base/global/i18n/frameworks/intl/test/unittest/mock/include/ |
H A D | phone_number_format_mock.h | 27 virtual std::string getCityName(const std::string& language, const std::string& phonenumber,
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | ims_test.h | 176 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 186 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 189 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
H A D | zero_branch1_test.cpp | 74 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo); 93 int32_t BranchTest::InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 103 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 106 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
H A D | zero_branch_test.cpp | 73 int32_t InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo); 92 int32_t BranchTest::InitCellularCallInfo(int32_t accountId, std::string phonenumber, CellularCallInfo &callInfo) in InitCellularCallInfo() argument 102 if (phonenumber.length() > static_cast<size_t>(kMaxNumberLen)) { in InitCellularCallInfo() 105 if (memcpy_s(callInfo.phoneNum, kMaxNumberLen, phonenumber.c_str(), phonenumber.length()) != EOK) { in InitCellularCallInfo()
|
/base/global/i18n/frameworks/intl/include/ |
H A D | phone_number_format.h | 48 virtual std::string getCityName(const std::string& language, const std::string& phonenumber,
|
/base/global/i18n/frameworks/intl/src/ |
H A D | phone_number_format.cpp | 344 const std::string& language, const std::string& phonenumber, in getCityName() 359 getBlockedPhoneLocationName(language.c_str(), phonenumber.c_str(), recvArr); in getCityName() 370 getReplacedPhoneLocationName(language.c_str(), phonenumber.c_str(), recvArr); in getCityName() 343 getCityName( const std::string& language, const std::string& phonenumber, const std::string& locationName) getCityName() argument
|