/base/telephony/call_manager/utils/src/ |
D | call_number_utils.cpp | 33 const std::string &phoneNumber, const std::string &countryCode, std::string &formatNumber) in FormatPhoneNumber() argument 48 std::string tmpCode = countryCode; in FormatPhoneNumber() 61 const std::string phoneNumber, const std::string countryCode, std::string &formatNumber) in FormatPhoneNumberToE164() argument 63 …return FormatNumberBase(phoneNumber, countryCode, i18n::phonenumbers::PhoneNumberUtil::E164, forma… in FormatPhoneNumberToE164() 66 int32_t CallNumberUtils::FormatNumberBase(const std::string phoneNumber, std::string countryCode, in FormatNumberBase() argument 78 transform(countryCode.begin(), countryCode.end(), countryCode.begin(), ::toupper); in FormatNumberBase() 80 phoneUtils->Parse(phoneNumber, countryCode, &parseResult); in FormatNumberBase()
|
/base/telephony/cellular_call/services/common/src/ |
D | module_service_utils.cpp | 68 std::u16string countryCode; in GetIsoCountryCode() local 69 CoreManagerInner::GetInstance().GetISOCountryCodeForSim(slotId, countryCode); in GetIsoCountryCode() 70 return Str16ToStr8(countryCode); in GetIsoCountryCode() 75 std::u16string countryCode; in GetNetworkCountryCode() local 76 CoreManagerInner::GetInstance().GetIsoCountryCodeForNetwork(slotId, countryCode); in GetNetworkCountryCode() 77 return Str16ToStr8(countryCode); in GetNetworkCountryCode()
|
/base/telephony/call_manager/utils/include/ |
D | call_number_utils.h | 31 const std::string &phoneNumber, const std::string &countryCode, std::string &formatNumber); 33 const std::string phoneNumber, const std::string countryCode, std::string &formatNumber); 34 int32_t FormatNumberBase(const std::string phoneNumber, std::string countryCode,
|
/base/telephony/call_manager/test/fuzztest/formatphonenumbertoe164_fuzzer/ |
D | formatphonenumbertoe164_fuzzer.cpp | 49 std::string countryCode(reinterpret_cast<const char *>(data), size); in FormatPhoneNumberToE164() 50 auto countryCodeU16 = Str8ToStr16(countryCode); in FormatPhoneNumberToE164()
|
/base/location/interfaces/inner_api/include/ |
D | country_code_manager.h | 47 bool UpdateCountryCodeByLocation(std::string countryCode, int type); 48 void UpdateCountryCode(std::string countryCode, int type);
|
/base/telephony/core_service/services/sim/include/ |
D | sim_rdb_info.h | 34 std::string countryCode; variable
|
/base/location/frameworks/native/source/ |
D | country_code_manager.cpp | 160 void CountryCodeManager::UpdateCountryCode(std::string countryCode, int type) in UpdateCountryCode() argument 170 lastCountry_->SetCountryCodeStr(countryCode); in UpdateCountryCode() 174 bool CountryCodeManager::UpdateCountryCodeByLocation(std::string countryCode, int type) in UpdateCountryCodeByLocation() argument 180 if (lastCountryByLocation_->GetCountryCodeStr() == countryCode) { in UpdateCountryCodeByLocation() 185 lastCountryByLocation_->SetCountryCodeStr(countryCode); in UpdateCountryCodeByLocation()
|
/base/telephony/core_service/services/network_search/src/ |
D | nitz_update.cpp | 248 std::string countryCode = Str16ToStr8(iso); in ProcessTimeZone() local 249 if (countryCode.empty()) { in ProcessTimeZone() 255 std::string timeZone = util.GetDefaultZone(countryCode.c_str()); in ProcessTimeZone() 258 timeZone = util.GetDefaultZone(countryCode.c_str(), offset); in ProcessTimeZone()
|
/base/telephony/call_manager/interfaces/innerkits/ |
D | call_manager_client.h | 315 …int32_t FormatPhoneNumber(std::u16string &number, std::u16string &countryCode, std::u16string &for… 326 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber);
|
D | call_manager_inner_type.h | 503 int32_t countryCode = 0; member 529 countryCode = temp.countryCode;
|
/base/telephony/call_manager/test/fuzztest/formatphonenumber_fuzzer/ |
D | formatphonenumber_fuzzer.cpp | 161 std::string countryCode(reinterpret_cast<const char *>(data), size); in FormatPhoneNumber() 162 auto countryCodeU16 = Str8ToStr16(countryCode); in FormatPhoneNumber()
|
/base/telephony/call_manager/frameworks/native/include/ |
D | call_manager_service_proxy.h | 426 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) override; 438 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) override;
|
D | i_call_manager_service.h | 74 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) = 0; 76 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) = 0;
|
D | call_manager_proxy.h | 81 …int32_t FormatPhoneNumber(std::u16string &number, std::u16string &countryCode, std::u16string &for… 83 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber);
|
/base/telephony/call_manager/services/call/include/ |
D | call_control_manager.h | 110 …int32_t FormatPhoneNumber(std::u16string &number, std::u16string &countryCode, std::u16string &for… 112 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber);
|
/base/telephony/call_manager/frameworks/native/src/ |
D | call_manager_client.cpp | 391 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) in FormatPhoneNumber() argument 394 return g_callManagerProxy->FormatPhoneNumber(number, countryCode, formatNumber); in FormatPhoneNumber() 402 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) in FormatPhoneNumberToE164() argument 405 return g_callManagerProxy->FormatPhoneNumberToE164(number, countryCode, formatNumber); in FormatPhoneNumberToE164()
|
/base/telephony/call_manager/interfaces/kits/js/ |
D | @ohos.telephony.call.d.ts | 416 …function formatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback… 433 function formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>; 3669 countryCode?: string; property
|
/base/telephony/call_manager/services/call_manager_service/include/ |
D | call_manager_service.h | 441 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) override; 453 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) override;
|
/base/location/test/location_locator/source/ |
D | locator_impl_test.cpp | 332 std::shared_ptr<CountryCode> countryCode = std::make_shared<CountryCode>(); variable 333 EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl_->GetIsoCountryCodeV9(countryCode)); 334 ASSERT_TRUE(countryCode != nullptr); 335 LBSLOGI(LOCATOR, "countrycode : %{public}s", countryCode->ToString().c_str());
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 2218 std::u16string countryCode = Str8ToStr16(Code); variable 2221 …CallManagerGtest::clientPtr_->FormatPhoneNumber(phonyNumber, countryCode, formatNumber), RETURN_VA… 2238 std::u16string countryCode = Str8ToStr16(Code); variable 2241 …CallManagerGtest::clientPtr_->FormatPhoneNumber(phonyNumber, countryCode, formatNumber), RETURN_VA… 2258 std::u16string countryCode = Str8ToStr16(Code); variable 2261 …CallManagerGtest::clientPtr_->FormatPhoneNumber(phonyNumber, countryCode, formatNumber), RETURN_VA… 2278 std::u16string countryCode = Str8ToStr16(Code); variable 2281 …CallManagerGtest::clientPtr_->FormatPhoneNumber(phonyNumber, countryCode, formatNumber), RETURN_VA… 2298 std::u16string countryCode = Str8ToStr16(Code); variable 2301 …CallManagerGtest::clientPtr_->FormatPhoneNumber(phonyNumber, countryCode, formatNumber), RETURN_VA… [all …]
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/ |
D | call_manager_connect.h | 743 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) const in FormatPhoneNumber() argument 746 return callManagerServicePtr_->FormatPhoneNumber(number, countryCode, formatNumber); in FormatPhoneNumber() 753 std::u16string &number, std::u16string &countryCode, std::u16string &formatNumber) const in FormatPhoneNumberToE164() argument 756 … return callManagerServicePtr_->FormatPhoneNumberToE164(number, countryCode, formatNumber); in FormatPhoneNumberToE164()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test.cpp | 242 std::u16string countryCode; variable 243 CoreServiceClient::GetInstance().GetISOCountryCodeForSim(SimTest::slotId_, countryCode); 244 std::string result = Str16ToStr8(countryCode); 259 std::u16string countryCode; variable 260 CoreServiceClient::GetInstance().GetISOCountryCodeForSim(SimTest::slotId1_, countryCode); 261 std::string result = Str16ToStr8(countryCode);
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | core_service_client.h | 195 int32_t GetISOCountryCodeForSim(int32_t slotId, std::u16string &countryCode); 322 int32_t GetIsoCountryCodeForNetwork(int32_t slotId, std::u16string &countryCode);
|
D | i_core_service.h | 67 virtual int32_t GetISOCountryCodeForSim(int32_t slotId, std::u16string &countryCode) = 0; 83 virtual int32_t GetIsoCountryCodeForNetwork(int32_t slotId, std::u16string &countryCode) = 0;
|
/base/telephony/core_service/services/core/include/ |
D | core_service.h | 77 int32_t GetISOCountryCodeForSim(int32_t slotId, std::u16string &countryCode) override; 107 int32_t GetIsoCountryCodeForNetwork(int32_t slotId, std::u16string &countryCode) override;
|