Home
last modified time | relevance | path

Searched refs:LOCALE_KEY (Results 1 – 4 of 4) sorted by relevance

/base/location/interfaces/inner_api/include/
Dconstant_definition.h54 const std::string LOCALE_KEY = "persist.global.locale"; variable
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp56 const char *LocaleConfig::LOCALE_KEY = "persist.global.locale"; member in OHOS::Global::I18n::LocaleConfig
290 std::string systemRegion = ReadSystemParameter(LOCALE_KEY, CONFIG_LEN); in GetSystemRegion()
316 std::string systemLocale = ReadSystemParameter(LOCALE_KEY, CONFIG_LEN); in GetSystemLocale()
393 int code = GetParameter(LOCALE_KEY, "", value, CONFIG_LEN); in SetSystemRegion()
413 return SetParameter(LOCALE_KEY, newLocale.data()) == 0; in SetSystemRegion()
424 return SetParameter(LOCALE_KEY, locale.data()) == 0; in SetSystemLocale()
/base/global/i18n/frameworks/intl/include/
Dlocale_config.h67 static const char *LOCALE_KEY; variable
/base/location/frameworks/native/source/
Dcountry_code_manager.cpp291 int ret = WatchParameter(LOCALE_KEY.c_str(), eventCallback, nullptr); in SubscribeLocaleConfigEvent()