Home
last modified time | relevance | path

Searched refs:getLocationName (Results 1 - 6 of 6) sorted by relevance

/base/global/i18n/frameworks/intl/test/fuzztest/phonenumberformat_fuzzer/
H A Dphonenumberformat_fuzzer.cpp36 formatter.getLocationName(input, input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/frameworks/intl/include/
H A Dphone_number_format.h44 std::string getLocationName(const std::string &number, const std::string &locale);
/base/global/i18n/frameworks/intl/src/
H A Dphone_number_format.cpp240 std::string PhoneNumberFormat::getLocationName( in getLocationName() function in OHOS::Global::I18n::PhoneNumberFormat
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp245 std::string location = phoneNumberFormat->getLocationName("13228901234", "en-US"); in HWTEST_F()
247 std::string location2 = phoneNumberFormat->getLocationName("15156712345", "zh-CN"); in HWTEST_F()
249 std::string location3 = phoneNumberFormat->getLocationName("17673241234", "zh-CN"); in HWTEST_F()
256 std::string location4 = phoneNumberFormat->getLocationName("fake-number", "zh-CN"); in HWTEST_F()
H A Di18n_test.cpp544 std::string blocklRegion = formatter1->getLocationName("0038312345678", "zh-CN");
547 std::string blocklCity = formatter2->getLocationName("13731630016", "zh-CN");
549 std::string replaceCity = formatter2->getLocationName("13731930016", "zh-CN");
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_addon.cpp716 DECLARE_NAPI_FUNCTION("getLocationName", GetLocationName) in InitPhoneNumberFormat()
868 std::string resStr = obj->phonenumberfmt_->getLocationName(number.data(), language.data()); in GetLocationName()

Completed in 11 milliseconds