Lines Matching refs:systemLocale
330 std::string systemLocale = ReadSystemParameter(LOCALE_KEY, CONFIG_LEN);
331 if (systemLocale.empty()) {
332 systemLocale = ReadSystemParameter(DEFAULT_LOCALE_KEY, CONFIG_LEN);
334 return systemLocale;
1091 std::string systemLocale = GetSystemLocale();
1092 return Is24HourLocale(systemLocale);
1106 bool LocaleConfig::Is24HourLocale(const std::string& systemLocale)
1109 if (is24HourLocaleMap.find(systemLocale) != is24HourLocaleMap.end()) {
1110 return is24HourLocaleMap[systemLocale];
1113 icu::Locale locale = icu::Locale::forLanguageTag(icu::StringPiece(systemLocale), status);
1115 HILOG_INFO_I18N("Is24HourLocale: %{public}s create locale failed", systemLocale.c_str());
1135 is24HourLocaleMap[systemLocale] = result;
1378 icu::Locale systemLocale = icu::Locale::forLanguageTag(systemLocaleTag.c_str(), status);
1384 std::string regionTag = systemLocale.getCountry();