Searched refs:LOCALE_KEY (Results 1 – 4 of 4) sorted by relevance
54 const std::string LOCALE_KEY = "persist.global.locale"; variable
56 const char *LocaleConfig::LOCALE_KEY = "persist.global.locale"; member in OHOS::Global::I18n::LocaleConfig290 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()
67 static const char *LOCALE_KEY; variable
291 int ret = WatchParameter(LOCALE_KEY.c_str(), eventCallback, nullptr); in SubscribeLocaleConfigEvent()