Home
last modified time | relevance | path

Searched refs:SetSystemLocale (Results 1 – 17 of 17) sorted by relevance

/base/global/i18n/frameworks/intl/test/unittest/
Dlocale_config_test.cpp51 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in SetUpTestCase()
58 LocaleConfig::SetSystemLocale(originalLocale); in TearDownTestCase()
128 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale);
130 status = LocaleConfig::SetSystemLocale("zh-Hans-CN");
142 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale);
146 status = LocaleConfig::SetSystemLocale("zh-Hans-CN");
387 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale);
Dintl_test.cpp78 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in SetUpTestCase()
85 LocaleConfig::SetSystemLocale(originalLocale); in TearDownTestCase()
Di18n_test.cpp64 I18nErrorCode status = LocaleConfig::SetSystemLocale(systemLocale);
/base/global/i18n/services/src/
Di18n_service_ability.cpp53 I18nErrorCode I18nServiceAbility::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbility
55 return LocaleConfig::SetSystemLocale(locale); in SetSystemLocale()
Di18n_service_ability_client.cpp63 I18nErrorCode I18nServiceAbilityClient::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbilityClient
70 return i18nServiceAbilityObj->SetSystemLocale(locale); in SetSystemLocale()
Di18n_service_ability_proxy.cpp56 I18nErrorCode I18nServiceAbilityProxy::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbilityProxy
Di18n_service_ability_stub.cpp156 err = SetSystemLocale(locale); in SetSystemLocaleInner()
/base/global/i18n/frameworks/intl/test/fuzztest/localeconfigset_fuzzer/
Dlocaleconfigset_fuzzer.cpp30 LocaleConfig::SetSystemLocale(input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/services/include/
Di18n_service_ability_client.h54 static I18nErrorCode SetSystemLocale(const std::string &locale);
Di18n_service_ability_proxy.h56 I18nErrorCode SetSystemLocale(const std::string &locale);
Dii18n_service_ability.h31 virtual I18nErrorCode SetSystemLocale(const std::string &locale) = 0;
Di18n_service_ability.h36 I18nErrorCode SetSystemLocale(const std::string &locale) override;
/base/global/i18n/services/test/unittest/src/
Di18n_service_test.cpp86 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in InitTestEnvironment()
181 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US");
194 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US");
/base/global/i18n/interfaces/js/kits/include/
Di18n_system_addon.h57 static napi_value SetSystemLocale(napi_env env, napi_callback_info info);
/base/global/i18n/frameworks/intl/include/
Dlocale_config.h60 static I18nErrorCode SetSystemLocale(const std::string &localeTag);
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp1033 if (SetSystemLocale(newLocaleTag) == I18nErrorCode::SUCCESS) { in SetSystemLanguage()
1048 return SetSystemLocale(UpdateRegionOfLocale(regionTag)); in SetSystemRegion()
1051 I18nErrorCode LocaleConfig::SetSystemLocale(const std::string &localeTag) in SetSystemLocale() function in OHOS::Global::I18n::LocaleConfig
1106 return SetSystemLocale(UpdateNumberSystemOfLocale(it->second, flag)); in SetUsingLocalDigit()
/base/global/i18n/interfaces/js/kits/src/
Di18n_system_addon.cpp209 napi_value I18nSystemAddon::SetSystemLocale(napi_env env, napi_callback_info info) in SetSystemLocale() function in OHOS::Global::I18n::I18nSystemAddon
683 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale(localeBuf.data()); in SetSystemLocaleImpl()