Home
last modified time | relevance | path

Searched refs:phonenumber (Results 1 - 10 of 10) sorted by relevance

/base/global/i18n/frameworks/intl/test/unittest/mock/src/
H A Dphone_number_format_mock.cpp35 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 Dsatellite_test.h145 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 Dzero_branch_test.cpp48 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 Dcs_test.h130 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 Dphone_number_format_mock.h27 virtual std::string getCityName(const std::string& language, const std::string& phonenumber,
/base/telephony/cellular_call/test/unittest/imstest/
H A Dims_test.h176 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 Dzero_branch1_test.cpp74 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 Dzero_branch_test.cpp73 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 Dphone_number_format.h48 virtual std::string getCityName(const std::string& language, const std::string& phonenumber,
/base/global/i18n/frameworks/intl/src/
H A Dphone_number_format.cpp344 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

Completed in 8 milliseconds