Home
last modified time | relevance | path

Searched refs:regionCode (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dphone_number_format.cpp257 std::string regionCode; in getLocationName() local
258 util->GetRegionCodeForNumber(phoneNumber, &regionCode); in getLocationName()
260 std::string locName = getPhoneLocationName(number, phoneLocale.getName(), locale, regionCode); in getLocationName()
262 icu::LocaleBuilder regionbuilder = icu::LocaleBuilder().setRegion(regionCode); in getLocationName()
271 if (getBlockedRegionName(regionCode, displayLocale.getLanguage())) { in getLocationName()
276 return taboo.ReplaceCountryName(regionCode, locale, displayCountryName); in getLocationName()
287 const std::string& displayLocale, const std::string& regionCode) in getPhoneLocationName() argument
327 const std::string& regionCode, const std::string& language) in getBlockedRegionName() argument
336 ret = getBlockedRegionName(language.c_str(), regionCode.c_str()); in getBlockedRegionName()
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/config/
H A Darea_policy.cpp62 int32_t regionCode = Parameter::GetRegionCode(); in ParseAllowedInfos() local
69 if (ParseAllowedInfo(areaConfig, regionCode)) { in ParseAllowedInfos()
71 "allowSysUe=%{public}d, allowUe=%{public}d", regionCode, allowedInfo_.allowLevel, in ParseAllowedInfos()
79 bool AreaPolicy::ParseAllowedInfo(const cJSON* config, int32_t regionCode) in ParseAllowedInfo() argument
82 if (codeValue != regionCode) { in ParseAllowedInfo()
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/mock/src/
H A Dphone_number_format_mock.cpp26 bool PhoneNumberFormatMock::getBlockedRegionName(const std::string& regionCode, const std::string& … in getBlockedRegionName() argument
28 if (!regionCode.compare("XK")) { in getBlockedRegionName()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dphone_number_format.h46 const std::string& displayLocale, const std::string& regionCode);
47 virtual bool getBlockedRegionName(const std::string& regionCode, const std::string& language);
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/mock/include/
H A Dphone_number_format_mock.h26 …virtual bool getBlockedRegionName(const std::string& regionCode, const std::string& language) over…
/ohos5.0/base/hiviewdfx/hiview/plugins/privacy_controller/config/include/
H A Darea_policy.h39 bool ParseAllowedInfo(const cJSON* config, int32_t regionCode);